| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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:
29 DeclareInterfaceID(IStatSvc,2,0);
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 // ============================================================================
IStatSvc::StatFlag
double StatFlag
the actual value type used for Stat
Definition: IStatSvc.h:33
DeclareInterfaceID
#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
std::string
STL class.
IInterface
Definition of the basic interface.
Definition: IInterface.h:234
IStatSvc
"Stat"-related part of interface IChronoStatSvc
Definition: IStatSvc.h:25
StatEntity
The basic counter used for Monitoring purposes.
Definition: StatEntity.h:65
IStatSvc::StatTag
std::string StatTag
the actual identificator of Stat
Definition: IStatSvc.h:31
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
IInterface.h