HermesCommon  2.0
mixins.h File Reference

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

#include "common.h"
#include "vector.h"
#include "exceptions.h"

Go to the source code of this file.

Classes

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 in user programs. 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...
 

Namespaces

namespace  Hermes
 General namespace for the Hermes library.
 
namespace  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, ...
 

Detailed Description

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

Definition in file mixins.h.