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:
31  typedef std::string StatTag ;
33  typedef double StatFlag ;
34 public:
40  virtual void stat ( const StatTag& t , const StatFlag& f ) = 0 ;
45  virtual void statPrint ( const StatTag& t ) = 0;
50  virtual const StatEntity* stat ( const StatTag& t ) const = 0 ;
51 };
52 // ============================================================================
53 // The END
54 // ============================================================================
55 #endif // GAUDIKERNEL_ISTATSVC_H
56 // ============================================================================
double StatFlag
the actual value type used for Stat
Definition: IStatSvc.h:33
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:14
STL class.
Definition of the basic interface.
Definition: IInterface.h:234
"Stat"-related part of interface IChronoStatSvc
Definition: IStatSvc.h:25
The basic counter used for Monitoring purposes.
Definition: StatEntity.h:64
std::string StatTag
the actual identificator of Stat
Definition: IStatSvc.h:31
#define GAUDI_API
Definition: Kernel.h:107