| The Gaudi Framework v29r0 (ff2e7097)

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

- File List
- File Members

ICounterSummarySvc.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_ICOUNTERSUMMARYSVC_H
2 #define GAUDIKERNEL_ICOUNTERSUMMARYSVC_H
3
4 // Include files
5 #include "GaudiKernel/IService.h"
6 #include <string>
7
8 // forward declarations
9 class StatEntity;
10 class Stat;
11
12 namespace Gaudi
13 {
14 namespace CounterSummary
15 {
17 enum SaveType {
18 SaveSimpleCounter = 0,
19 SaveStatEntity,
20 SaveAlwaysSimpleCounter,
21 SaveAlwaysStatEntity
22 };
23 }
24 }
25
36 class GAUDI_API ICounterSummarySvc : virtual public IService
37 {
38
39 public:
41 DeclareInterfaceID( ICounterSummarySvc, 1, 0 );
42
51 virtual void
52 addCounter( const std::string, const std::string name, const StatEntity&,
53 const Gaudi::CounterSummary::SaveType saveType = Gaudi::CounterSummary::SaveSimpleCounter ) = 0;
54
63 virtual void
64 addCounter( const std::string, const std::string name, const Stat&,
65 const Gaudi::CounterSummary::SaveType saveType = Gaudi::CounterSummary::SaveSimpleCounter ) = 0;
66 };
67
68 #endif
gaudiComponentHelp.name
name
Definition: gaudiComponentHelp.py:32
Stat
Small wrapper class for easy manipulation with generic counters and IStatSvc&ICounterSvc interface...
Definition: Stat.h:46
Gaudi::CounterSummary::SaveAlwaysStatEntity
store always, store only the flag()
Definition: ICounterSummarySvc.h:21
std::string
STL class.
Gaudi::CounterSummary::SaveAlwaysSimpleCounter
store all information
Definition: ICounterSummarySvc.h:20
Gaudi::CounterSummary::SaveStatEntity
store only the flag()
Definition: ICounterSummarySvc.h:19
IService
General service interface definition.
Definition: IService.h:18
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
IService.h
Gaudi::CounterSummary::SaveType
SaveType
How is the counter to be saved?
Definition: ICounterSummarySvc.h:17
Gaudi::CounterSummary::SaveSimpleCounter
Definition: ICounterSummarySvc.h:18
StatEntity
The basic counter used for Monitoring purposes.
Definition: StatEntity.h:65
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
ICounterSummarySvc
Simple service interface to collect counters to persist in a summary file.
Definition: ICounterSummarySvc.h:36
Gaudi
Helper functions to set/get the application return code.
Definition: __init__.py:1