#include <Statistics.h>
Inheritance diagram for Counter:
Public Member Functions | |
Counter () | |
virtual void | init () |
virtual void | print (std::ostream &stream) const |
void | increment () |
void | decrement () |
void | set (unsigned long v) |
void | add (unsigned long v) |
unsigned long | getValue () const |
Protected Attributes | |
unsigned long | _value |
value of the counter |
Definition at line 45 of file Statistics.h.
|
Constructor Definition at line 53 of file Statistics.h. |
|
Adds value to the counter
Definition at line 80 of file Statistics.h. References Counter::_value. |
|
Decrements the counter by one Definition at line 66 of file Statistics.h. References Counter::_value. |
|
Definition at line 85 of file Statistics.h. References Counter::_value. |
|
Increments the counter by one Definition at line 61 of file Statistics.h. References Counter::_value. |
|
Initializes/clears receptor Implements Receptor. Definition at line 55 of file Statistics.h. References Counter::_value. |
|
Prints statistics
Implements Receptor. Definition at line 56 of file Statistics.h. References Counter::_value. |
|
Sets the counter
Definition at line 73 of file Statistics.h. References Counter::_value. |
|
value of the counter
Definition at line 47 of file Statistics.h. Referenced by Counter::add(), Counter::decrement(), Counter::getValue(), Counter::increment(), Counter::init(), Counter::print(), and Counter::set(). |