2 #ifndef GAUDIKERNEL_ICOUNTERSVC_H
3 #define GAUDIKERNEL_ICOUNTERSVC_H
14 #include "GaudiKernel/IInterface.h"
15 #include "GaudiKernel/StatEntity.h"
16 #include "GaudiKernel/SmartIF.h"
97 typedef Stat CountObject ;
99 typedef std::vector<CountObject> Counters ;
117 Printout () =
delete;
118 Printout (
const Printout& ) =
delete;
119 Printout& operator=(
const Printout& ) =
delete;
133 (
const std::string& group ,
134 const std::string&
name )
const = 0;
153 virtual Counters
get (
const std::string& group )
const = 0 ;
167 (
const std::string& group ,
168 const std::string&
name ,
170 Counter*& refpCounter ) = 0;
180 virtual CountObject create
181 (
const std::string& group ,
182 const std::string&
name ,
194 (
const std::string& group ,
195 const std::string&
name ) = 0;
202 (
const std::string& group ) = 0;
211 (
const std::string& group ,
212 const std::string&
name ,
213 Printout& printer )
const = 0;
221 (
const std::string& group ,
222 Printout& printer )
const = 0;
229 (
const Counter* pCounter ,
230 Printout& printer )
const = 0;
237 (
const CountObject& pCounter ,
238 Printout& printer )
const = 0;
243 ( Printout& printer )
const = 0;
247 const Counter* pCounter )
const = 0;
249 enum { COUNTER_NOT_PRESENT = 2,
264 #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.
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
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
The basic counter used for Monitoring purposes.