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  {
23  };
24  }
25 }
26 
37 class GAUDI_API ICounterSummarySvc: virtual public IService {
38 
39 public:
42 
51  virtual void addCounter(
52  const std::string ,
53  const std::string name,
54  const StatEntity &,
55  const Gaudi::CounterSummary::SaveType saveType=
57 
66  virtual void addCounter(
67  const std::string ,
68  const std::string name,
69  const Stat &,
70  const Gaudi::CounterSummary::SaveType saveType=
72 
73 };
74 
75 #endif
Small wrapper class for easy manipulation with generic counters and IStatSvc&ICounterSvc interface...
Definition: Stat.h:46
store always, store only the flag()
#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.
General service interface definition.
Definition: IService.h:18
SaveType
How is the counter to be saved?
The basic counter used for Monitoring purposes.
Definition: StatEntity.h:65
#define GAUDI_API
Definition: Kernel.h:107
Simple service interface to collect counters to persist in a summary file.
Helper functions to set/get the application return code.
Definition: __init__.py:1