StatisticsClientIntCounter class.
More...
List of all members.
Public Member Functions |
void | addValue (int value) |
| Function to add an integer value to the statistical variable.
|
virtual std::string | formattedData () |
| Output format of the statistical data.
|
virtual std::string | name () |
| Function returning the name of the client.
|
virtual void | reset () |
| Function to reset the client.
|
void | setValue (int value) |
| Function to set the value of the statistical variable.
|
| StatisticsClientIntCounter (StatisticsMaster *master, const std::string &group, const std::string &name) |
| Constructor.
|
virtual | ~StatisticsClientIntCounter () |
| Destructor.
|
Protected Attributes |
std::string | _group |
| Name of the group the client belongs to.
|
StatisticsMaster * | _master |
| Pointer of the StatisticsMaster object to which the client is connected to.
|
std::string | _name |
| Name of client.
|
int | _value |
| Value of the statistical variable.
|
Detailed Description
- See also:
- StatisticsMaster This class uses a StatisticsMaster to gather integer valued statistical information.
Constructor & Destructor Documentation
LIB_EXPORT yane::Utils::StatisticsClientIntCounter::StatisticsClientIntCounter |
( |
StatisticsMaster * |
master, |
|
|
const std::string & |
group, |
|
|
const std::string & |
name |
|
) |
| |
Constructor
- Parameters:
-
master | Pointer of the StatisticsMaster class the client belongs to |
group | Group of clients the client belongs to |
name | Name of the client |
Member Function Documentation
LIB_EXPORT void yane::Utils::StatisticsClientIntCounter::addValue |
( |
int |
value | ) |
|
Function to add an integer value to the statistical variable
- Parameters:
-
value | Value to add to the variable |
LIB_EXPORT void yane::Utils::StatisticsClientIntCounter::setValue |
( |
int |
value | ) |
|
Function to set the value of the statistical variable
- Parameters:
-
value | Value the variable is set to |