The Gaudi Framework  v30r3 (a5ef0a68)
IStatSvc.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_ISTATSVC_H
2 #define GAUDIKERNEL_ISTATSVC_H 1
3 // ============================================================================
4 // Include files
5 // ============================================================================
6 // STD&STL
7 // ============================================================================
8 #include <string>
9 // ============================================================================
10 // GaudiKernel
11 // ============================================================================
12 #include "GaudiKernel/IInterface.h"
13 // ============================================================================
14 // forward declaration
15 // ============================================================================
16 class StatEntity;
17 // ============================================================================
25 class GAUDI_API IStatSvc : virtual public IInterface
26 {
27 public:
33  typedef double StatFlag;
34 
35 public:
41  virtual void stat( const StatTag& t, const StatFlag& f ) = 0;
46  virtual void statPrint( const StatTag& t ) = 0;
51  virtual StatEntity* stat( const StatTag& t ) = 0;
52 };
53 // ============================================================================
54 // The END
55 // ============================================================================
56 #endif // GAUDIKERNEL_ISTATSVC_H
57 // ============================================================================
double StatFlag
the actual value type used for Stat
Definition: IStatSvc.h:33
STL class.
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:13
Definition of the basic interface.
Definition: IInterface.h:277
"Stat"-related part of interface IChronoStatSvc
Definition: IStatSvc.h:25
backward compatible StatEntity class.
Definition: Counters.h:777
std::string StatTag
the actual identificator of Stat
Definition: IStatSvc.h:31
#define GAUDI_API
Definition: Kernel.h:104