| The Gaudi Framework v29r0 (ff2e7097)

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions | List of all members
ICounterSummarySvc Class Referenceabstract

Simple service interface to collect counters to persist in a summary file. More...

`#include <GaudiKernel/ICounterSummarySvc.h>`

Inheritance diagram for ICounterSummarySvc:
[legend]
Collaboration diagram for ICounterSummarySvc:
[legend]

## Public Member Functions
| DeclareInterfaceID (ICounterSummarySvc, 1, 0)
| InterfaceID. More...
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 More...
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 More...
Public Member Functions inherited from IService
| DeclareInterfaceID (IService, 4, 0)
| InterfaceID. More...
virtual StatusCode | sysInitialize ()=0
| Initialize Service. More...
virtual StatusCode | sysStart ()=0
| Start Service. More...
virtual StatusCode | sysStop ()=0
| Stop Service. More...
virtual StatusCode | sysFinalize ()=0
| Finalize Service. More...
virtual StatusCode | sysReinitialize ()=0
| Re-initialize the Service. More...
virtual StatusCode | sysRestart ()=0
| Re-start the Service. More...
Public Member Functions inherited from extend_interfaces< INamedInterface, IStateful >
| ~extend_interfaces () override=default
| Virtual destructor. More...

## Additional Inherited Members
Public Types inherited from extend_interfaces< INamedInterface, IStateful >
using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids... >::type
| take union of the ext_iids of all Interfaces... More...
Protected Member Functions inherited from IService
virtual void | setServiceManager (ISvcManager *)=0

## Detailed Description

Simple service interface to collect counters to persist in a summary file.

In LHCb this is used to write an XML summary of the job.

See also
  XMLSummarySvc

Author
  Rob Lambert

Date
  2009-07-29

Definition at line 36 of file ICounterSummarySvc.h.

## Member Function Documentation

virtual void ICounterSummarySvc::addCounter | ( | const std::string | ,
|  | const std::string | name,
|  | const StatEntity & | ,
|  | const Gaudi::CounterSummary::SaveType | saveType = `Gaudi::CounterSummary::SaveSimpleCounter`
| ) |  |
| pure virtual

declare a counter, StatEntity, to be filled in the Counter summary

Parameters

  std::string | [IN]: Name of the tool/alg/mother filling this counter
  std::string | name [IN]: Name of the counter
  StatEntity | [IN]: The counter to store/save
  saveType | [IN]: How to save it, from an enum

See also
  Gaudi::CounterSummary::SaveType

virtual void ICounterSummarySvc::addCounter | ( | const std::string | ,
|  | const std::string | name,
|  | const Stat & | ,
|  | const Gaudi::CounterSummary::SaveType | saveType = `Gaudi::CounterSummary::SaveSimpleCounter`
| ) |  |
| pure virtual

declare a counter, Stat, to be filled in the Counter summary

Parameters

  std::string | [IN]: Name of the tool/alg/mother filling this counter
  std::string | name [IN]: Name of the counter
  Stat | [IN]: The counter to store/save
  saveType | [IN]: How to save it, from an enum

See also
  Gaudi::CounterSummary::SaveType

ICounterSummarySvc::DeclareInterfaceID | ( | ICounterSummarySvc | ,
|  | 1 | ,
|  | 0 |
| ) |  |

InterfaceID.

The documentation for this class was generated from the following file:

- GaudiKernel/GaudiKernel/ICounterSummarySvc.h