Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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  namespace CounterSummary {
15  enum SaveType {
20  };
21  } // namespace CounterSummary
22 } // namespace Gaudi
23 
34 class GAUDI_API ICounterSummarySvc : virtual public IService {
35 
36 public:
39 
48  virtual void
49  addCounter( const std::string, const std::string name, const StatEntity&,
51 
60  virtual void
61  addCounter( const std::string, const std::string name, const Stat&,
63 };
64 
65 #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:837
#define GAUDI_API
Definition: Kernel.h:71
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