The Gaudi Framework  v30r3 (a5ef0a68)
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 {
22  };
23  }
24 }
25 
36 class GAUDI_API ICounterSummarySvc : virtual public IService
37 {
38 
39 public:
42 
51  virtual void
52  addCounter( const std::string, const std::string name, const StatEntity&,
54 
63  virtual void
64  addCounter( const std::string, const std::string name, const Stat&,
66 };
67 
68 #endif
Small wrapper class for easy manipulation with generic counters and IStatSvc interface.
Definition: Stat.h:46
store always, store only the flag()
STL class.
General service interface definition.
Definition: IService.h:18
#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
SaveType
How is the counter to be saved?
backward compatible StatEntity class.
Definition: Counters.h:777
#define GAUDI_API
Definition: Kernel.h:104
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