| The Gaudi Framework v29r1 (5cd95fa2)

- 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
35 public:
41 virtual void stat( const StatTag& t, const StatFlag& f ) = 0;
46 virtual void statPrint( const StatTag& t ) = 0;
51 virtual const StatEntity* stat( const StatTag& t ) const = 0;
52 };
53 // ============================================================================
54 // The END
55 // ============================================================================
56 #endif // GAUDIKERNEL_ISTATSVC_H
57 // ============================================================================
IStatSvc::StatFlag
double StatFlag
the actual value type used for Stat
Definition: IStatSvc.h:33
std::string
STL class.
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:13
IInterface
Definition of the basic interface.
Definition: IInterface.h:277
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:110
IInterface.h