HermesCommon  3.0
Mixins

Mixins are utility classes used for all kinds of other classes. More...

Namespaces

 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, ...
 

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 >
 

Enumerations

enum  Hermes::Mixins::TimeMeasurable::TimerPeriodTickType { Hermes::Mixins::TimeMeasurable::HERMES_ACCUMULATE, Hermes::Mixins::TimeMeasurable::HERMES_SKIP }
 Tick type. Used by the class Hermes::TimePeriod. More...
 

Detailed Description

Mixins are utility classes used for all kinds of other classes.

Mixin classes provide a single piece of functionality.

Enumeration Type Documentation

Tick type. Used by the class Hermes::TimePeriod.

Enumerator
HERMES_ACCUMULATE 

Accumulate a period between ticks.

HERMES_SKIP 

Skip period between ticks, i.e., do not accumulate it.

Definition at line 190 of file mixins.h.