5 #ifndef GAUDIKERNEL_ICOUNTERSVC_H
6 #define GAUDIKERNEL_ICOUNTERSVC_H
140 (
const std::string& group ,
141 const std::string& name )
const = 0;
160 virtual Counters get (
const std::string& group )
const = 0 ;
174 (
const std::string& group ,
175 const std::string& name ,
188 (
const std::string& group ,
189 const std::string& name ,
201 (
const std::string& group ,
202 const std::string& name ) = 0;
209 (
const std::string& group ) = 0;
218 (
const std::string& group ,
219 const std::string& name ,
228 (
const std::string& group ,
254 const Counter* pCounter )
const = 0;
256 enum { COUNTER_NOT_PRESENT = 2,
271 #endif // GAUDIKERNEL_ICOUNTERSVC_H
Definition of the MsgStream class used to transmit messages.
ICounterSvc * m_svc
Reference to counter service.
Small wrapper class for easy manipulation with generic counters and IStatSvc&ICounterSvc interface...
Create / access multi purpose counters.
std::vector< CountObject > Counters
the actual type of vectors of initialized counters
StatEntity Counter
the actual type of counter
Print counters for each element in the range [first, last) e.g.
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
#define DeclareInterfaceID(name, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Stat CountObject
Ease the manipulation of counters in a way, that they behave like objects: Avoid: Counter* cnt = ...
std::ostream & operator<<(std::ostream &, const ICounterSvc::CountObject &)
output operator for the counter object
The basic counter used for Monitoring purposes.