2 #ifndef GAUDIKERNEL_ICOUNTERSVC_H 3 #define GAUDIKERNEL_ICOUNTERSVC_H 153 virtual Counters
get (
const std::string& group )
const = 0 ;
170 Counter*& refpCounter ) = 0;
180 virtual CountObject create
229 (
const Counter* pCounter ,
237 (
const CountObject& pCounter ,
247 const Counter* pCounter )
const = 0;
249 enum { COUNTER_NOT_PRESENT = 2,
261 #endif // GAUDIKERNEL_ICOUNTERSVC_H Definition of the MsgStream class used to transmit messages.
Small wrapper class for easy manipulation with generic counters and IStatSvc&ICounterSvc interface...
Create / access multi purpose counters.
SmartIF< ICounterSvc > m_svc
Reference to counter service.
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
std::vector< CountObject > Counters
the actual type of vectors of initialized counters
StatEntity Counter
the actual type of counter
PropertyMgr & operator=(const PropertyMgr &)=delete
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.
Stat CountObject
Ease the manipulation of counters in a way, that they behave like objects: Avoid: Counter* cnt = ...
virtual Out operator()(const vector_of_const_< In > &inputs) const =0
std::ostream & operator<<(std::ostream &, const ICounterSvc::CountObject &)
output operator for the counter object
The basic counter used for Monitoring purposes.