All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 
74  virtual ~ICounterSummarySvc() {}
75 };
76 
77 #endif
Small wrapper class for easy manipulation with generic counters and IStatSvc&ICounterSvc interface...
Definition: Stat.h:50
store always, store only the flag()
DeclareInterfaceID(IService, 3, 0)
InterfaceID.
General service interface definition.
Definition: IService.h:19
SaveType
How is the counter to be saved?
virtual ~ICounterSummarySvc()
virtual destructor
The basic counter used for Monitoring purposes.
Definition: StatEntity.h:68
This is a number of static methods for bootstrapping the Gaudi framework.
Definition: Bootstrap.h:15
#define GAUDI_API
Definition: Kernel.h:108
Simple service interface to collect counters to persist in a summary file.