The Gaudi Framework  master (37c0b60a)
ICounterSummarySvc.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #ifndef GAUDIKERNEL_ICOUNTERSUMMARYSVC_H
12 #define GAUDIKERNEL_ICOUNTERSUMMARYSVC_H
13 
14 // Include files
15 #include <GaudiKernel/IService.h>
16 #include <string>
17 
18 // forward declarations
19 class StatEntity;
20 class Stat;
21 
22 namespace Gaudi {
23  namespace CounterSummary {
25  enum SaveType {
30  };
31  } // namespace CounterSummary
32 } // namespace Gaudi
33 
44 class GAUDI_API ICounterSummarySvc : virtual public IService {
45 
46 public:
49 
58  virtual void
61 
70  virtual void
71  addCounter( const std::string, const std::string name, const Stat&,
73 };
74 
75 #endif
IService
Definition: IService.h:28
ICounterSummarySvc::addCounter
virtual void addCounter(const std::string, const std::string name, const StatEntity &, const Gaudi::CounterSummary::SaveType saveType=Gaudi::CounterSummary::SaveSimpleCounter)=0
declare a counter, StatEntity, to be filled in the Counter summary
IService.h
std::string
STL class.
StatEntity
backward compatible StatEntity class.
Definition: StatEntity.h:23
Gaudi::CounterSummary::SaveType
SaveType
How is the counter to be saved?
Definition: ICounterSummarySvc.h:25
ICounterSummarySvc
Definition: ICounterSummarySvc.h:44
ICounterSummarySvc::DeclareInterfaceID
DeclareInterfaceID(ICounterSummarySvc, 1, 0)
InterfaceID.
Gaudi::CounterSummary::SaveAlwaysSimpleCounter
@ SaveAlwaysSimpleCounter
store all information
Definition: ICounterSummarySvc.h:28
Gaudi::CounterSummary::SaveSimpleCounter
@ SaveSimpleCounter
Definition: ICounterSummarySvc.h:26
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition: __init__.py:1
ICounterSummarySvc::addCounter
virtual void addCounter(const std::string, const std::string name, const Stat &, const Gaudi::CounterSummary::SaveType saveType=Gaudi::CounterSummary::SaveSimpleCounter)=0
declare a counter, Stat, to be filled in the Counter summary
Stat
Definition: Stat.h:56
ConditionsStallTest.name
name
Definition: ConditionsStallTest.py:77
Gaudi::CounterSummary::SaveStatEntity
@ SaveStatEntity
store only the flag()
Definition: ICounterSummarySvc.h:27
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81
Gaudi::CounterSummary::SaveAlwaysStatEntity
@ SaveAlwaysStatEntity
store always, store only the flag()
Definition: ICounterSummarySvc.h:29