YANE-Framework 1.1.0
Public Member Functions | Protected Attributes

yane::Utils::StatisticsClient Class Reference

StatisticsClient class. More...

Inheritance diagram for yane::Utils::StatisticsClient:
Collaboration diagram for yane::Utils::StatisticsClient:

List of all members.

Public Member Functions

virtual std::string formattedData ()=0
 Output format of the statistical data.
virtual std::string name ()
 Function returning the name of the client.
virtual void reset ()=0
 Function to reset the client.
 StatisticsClient (StatisticsMaster *master, const std::string &group, const std::string &name)
virtual ~StatisticsClient ()

Protected Attributes

std::string _group
 Name of the group the client belongs to.
 Pointer of the StatisticsMaster object to which the client is connected to.
std::string _name
 Name of client.

Detailed Description

See also:
StatisticsMaster This class uses a StatisticsMaster to gather statistical information. Every program has usually only one StatisticsMaster and more than one StatisticsClient (e.g. threads have their own StatisticsClient, ...).