HermesCommon  3.0
Hermes::Mixins Namespace Reference

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

Classes

class  IntegrableWithGlobalOrder
 Class that allows overriding integration order in its discrete problems Internal. More...
 
class  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  OutputAttachable
 Class that allows for attaching any method to particular parts of its functionality. Internal. More...
 
class  SettableComputationTime
 Class that allows overriding integration order in its discrete problems Internal. More...
 
class  StateQueryable
 
class  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...
 

Functions

template HERMES_API const
std::vector< unsigned int > & 
OutputAttachable::get_parameter_value< std::vector< unsigned int > > (const Parameter< std::vector< unsigned int > > &parameter)
 
template HERMES_API const
std::vector< double > & 
OutputAttachable::get_parameter_value< std::vector< double > > (const Parameter< std::vector< double > > &parameter)
 
template HERMES_API const
std::vector< bool > & 
OutputAttachable::get_parameter_value< std::vector< bool > > (const Parameter< std::vector< bool > > &parameter)
 
template HERMES_API
std::vector< unsigned int > & 
OutputAttachable::get_parameter_value< std::vector< unsigned int > > (Parameter< std::vector< unsigned int > > &parameter)
 
template HERMES_API
std::vector< double > & 
OutputAttachable::get_parameter_value< std::vector< double > > (Parameter< std::vector< double > > &parameter)
 
template HERMES_API
std::vector< bool > & 
OutputAttachable::get_parameter_value< std::vector< bool > > (Parameter< std::vector< bool > > &parameter)
 
template HERMES_API void OutputAttachable::set_parameter_value< std::vector< unsigned int > > (Parameter< std::vector< unsigned int > > &parameter, std::vector< unsigned int > *value)
 
template HERMES_API void OutputAttachable::set_parameter_value< std::vector< double > > (Parameter< std::vector< double > > &parameter, std::vector< double > *value)
 
template HERMES_API void OutputAttachable::set_parameter_value< std::vector< bool > > (Parameter< std::vector< bool > > &parameter, std::vector< bool > *value)
 

Detailed Description

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