mammut::energy::CounterPlug Class Referenceabstract
Inheritance diagram for mammut::energy::CounterPlug:

Public Member Functions | |
virtual Joules | getJoules ()=0 |
virtual void | reset ()=0 |
virtual bool | init ()=0 |
CounterType | getType () |
Member Function Documentation
|
pure virtual |
Returns the joules consumed up to this moment.
- Returns
- The joules consumed up to this moment.
Implements mammut::energy::Counter.
|
inlinevirtual |
Returns the type of this counter.
- Returns
- The type of this counter.
Implements mammut::energy::Counter.
|
pure virtual |
Initializes the counter.
- Returns
- True if the counter is present, false otherwise.
Implements mammut::energy::Counter.
|
pure virtual |
Resets the value of the counter.
Implements mammut::energy::Counter.
The documentation for this class was generated from the following file:
- /home/daniele/Code/Mammut/mammut/energy/energy.hpp