| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 {
19 SaveSimpleCounter=0,
20 SaveStatEntity,
21 SaveAlwaysSimpleCounter,
22 SaveAlwaysStatEntity
23 };
24 }
25 }
26
37 class GAUDI_API ICounterSummarySvc: virtual public IService {
38
39 public:
41 DeclareInterfaceID(ICounterSummarySvc,1,0);
42
51 virtual void addCounter(
52 const std::string ,
53 const std::string name,
54 const StatEntity &,
55 const Gaudi::CounterSummary::SaveType saveType=
56 Gaudi::CounterSummary::SaveSimpleCounter)=0;
57
66 virtual void addCounter(
67 const std::string ,
68 const std::string name,
69 const Stat &,
70 const Gaudi::CounterSummary::SaveType saveType=
71 Gaudi::CounterSummary::SaveSimpleCounter)=0;
72
74 virtual ~ICounterSummarySvc() {}
75 };
76
77 #endif