HermesCommon  3.0
mixins.h File Reference

Mix-in classes for one functionality, for various classes to be derived from. More...

#include "common.h"
#include "exceptions.h"
#include "api.h"

Go to the source code of this file.

Classes

class  Hermes::Mixins::StateQueryable
 
class  Hermes::Mixins::Loggable
 Class the output of which is loggable, i.e. that uses functionality of info(), warn() Contains the class Static with the following usage: Anywhere in your program you can write Hermes::Mixins::Loggable::Static::info("whatever you want to output"). More...
 
class  Hermes::Mixins::Loggable::Static
 For static logging. More...
 
class  Hermes::Mixins::TimeMeasurable
 Class using time measurement Can be used directly (is not abstract), so one can use e.g. this in a program: Mixins::TimeMeasurable time; time.tick(); <– do whatever you want to measure execution time of –> std::cout << "Whatever took " << time.last() << "seconds to execute.";. More...
 
class  Hermes::Mixins::IntegrableWithGlobalOrder
 Class that allows overriding integration order in its discrete problems Internal. More...
 
class  Hermes::Mixins::SettableComputationTime
 Class that allows overriding integration order in its discrete problems Internal. More...
 
class  Hermes::Mixins::OutputAttachable
 Class that allows for attaching any method to particular parts of its functionality. Internal. More...
 
class  Hermes::Mixins::OutputAttachable::Parameter< T >
 

Namespaces

 Hermes
 General namespace for the Hermes library.
 
 Hermes::Mixins
 Namespace for mixin classes. These classes always serve one particular purpose that multiple classes of the entire Hermes library could use - logging, time measurement, ...
 

Typedefs

typedef
Hermes::Mixins::OutputAttachable::Parameter
< unsigned int > 
Hermes::OutputParameterUnsignedInt
 
typedef
Hermes::Mixins::OutputAttachable::Parameter
< double > 
Hermes::OutputParameterDouble
 
typedef
Hermes::Mixins::OutputAttachable::Parameter
< bool > 
Hermes::OutputParameterBool
 
typedef
Hermes::Mixins::OutputAttachable::Parameter
< std::vector< unsigned int > > 
Hermes::OutputParameterUnsignedIntVector
 
typedef
Hermes::Mixins::OutputAttachable::Parameter
< std::vector< double > > 
Hermes::OutputParameterDoubleVector
 
typedef
Hermes::Mixins::OutputAttachable::Parameter
< std::vector< bool > > 
Hermes::OutputParameterBoolVector
 

Detailed Description

Mix-in classes for one functionality, for various classes to be derived from.

Definition in file mixins.h.