5 #ifndef GAUDIKERNEL_ICOUNTERSVC_H
6 #define GAUDIKERNEL_ICOUNTERSVC_H
17 #include "GaudiKernel/IInterface.h"
18 #include "GaudiKernel/StatEntity.h"
19 #include "GaudiKernel/Stat.h"
100 typedef Stat CountObject ;
102 typedef std::vector<CountObject> Counters ;
124 Printout (
const Printout& ) ;
126 Printout& operator=(
const Printout& ) ;
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 ,
177 Counter*& refpCounter ) = 0;
187 virtual CountObject create
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 ,
220 Printout& printer )
const = 0;
228 (
const std::string& group ,
229 Printout& printer )
const = 0;
236 (
const Counter* pCounter ,
237 Printout& printer )
const = 0;
244 (
const CountObject& pCounter ,
245 Printout& printer )
const = 0;
250 ( Printout& printer )
const = 0;
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.
Small wrapper class for easy manipulation with generic counters and IStatSvc&ICounterSvc interface...
Create / access multi purpose counters.
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
std::ostream & operator<<(std::ostream &, const ICounterSvc::CountObject &)
output operator for the counter object
#define DeclareInterfaceID(name, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
The basic counter used for Monitoring purposes.