| The Gaudi Framework v27r1

- 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 protected:
52 // virtual and protected destructor
53 virtual ~IStatSvc( ) = default;
54 };
55 // ============================================================================
56 // The END
57 // ============================================================================
58 #endif // GAUDIKERNEL_ISTATSVC_H
59 // ============================================================================
IStatSvc::StatFlag
double StatFlag
the actual value type used for Stat
Definition: IStatSvc.h:33
std::string
STL class.
IInterface
Definition of the basic interface.
Definition: IInterface.h:234
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
IStatSvc
"Stat"-related part of interface IChronoStatSvc
Definition: IStatSvc.h:25
StatEntity
The basic counter used for Monitoring purposes.
Definition: StatEntity.h:64
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