The Gaudi Framework  v32r2 (46d42edc)
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
SaveType
How is the counter to be saved?
DeclareInterfaceID(IService, 4, 0)
InterfaceID.
#define GAUDI_API
Definition: Kernel.h:71
Simple service interface to collect counters to persist in a summary file.
Header file for std:chrono::duration-based Counters.
Definition: __init__.py:1