| # Gaudi Framework, version v21r9 |

Home |  | Generated: 3 May 2010

# IStatSvc Class Reference

"Stat"-related part of interface IChronoStatSvc More...

`#include <GaudiKernel/IStatSvc.h>`

Inheritance diagram for IStatSvc:

[legend]
Collaboration diagram for IStatSvc:

[legend]

List of all members.

## Public Types
typedef std::string | StatTag
| the actual identificator of Stat
typedef double | StatFlag
| the actual value type used for Stat
## Public Member Functions
| DeclareInterfaceID (IStatSvc, 2, 0)
| InterfaceID.
virtual void | stat (const StatTag &t, const StatFlag &f)=0
| add statistical information to the entity , tagged by its name
virtual void | statPrint (const StatTag &t)=0
| prints (using message service) info about statistical entity, tagged by its name
virtual const StatEntity * | stat (const StatTag &t) const =0
| extract the stat entity for the given tag (name)
## Protected Member Functions
virtual | ~IStatSvc ()
| Destructor.

## Detailed Description

"Stat"-related part of interface IChronoStatSvc

Author:
  Vanya BELYAEV ibelyaev@physics.syr.edu

Date:
  December 1, 1999

  2007-07-08

Definition at line 27 of file IStatSvc.h.

## Member Typedef Documentation

typedef std::string IStatSvc::StatTag

the actual identificator of Stat

Definition at line 33 of file IStatSvc.h.

typedef double IStatSvc::StatFlag

the actual value type used for Stat

Definition at line 35 of file IStatSvc.h.

## Constructor & Destructor Documentation

IStatSvc::~IStatSvc | ( |  | ) | `[protected, virtual]`

Destructor.

Definition at line 24 of file IChronoStatSvc.cpp.

    00024 {}

## Member Function Documentation

IStatSvc::DeclareInterfaceID | ( | IStatSvc | ,
|  | 2 | ,
|  | 0 |  |
| ) |  |  |

InterfaceID.

virtual void IStatSvc::stat | ( | const StatTag & | t,
|  | const StatFlag & | f |
| ) |  |  | `[pure virtual]`

add statistical information to the entity , tagged by its name

Parameters:

  | t | stat tag(name)
  | f | flag (quantity to be accumulated)

Returns:
  status of stat

virtual void IStatSvc::statPrint | ( | const StatTag & | t | ) | `[pure virtual]`

prints (using message service) info about statistical entity, tagged by its name

Parameters:

  | t | stat tag(name)

Returns:
  status code

virtual const StatEntity* IStatSvc::stat | ( | const StatTag & | t | ) | const`[pure virtual]`

extract the stat entity for the given tag (name)

Parameters:

  | t | stat tag(name)

Returns:
  pointer to stat entity

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r9/GaudiKernel/GaudiKernel/IStatSvc.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r9/GaudiKernel/src/Lib/IChronoStatSvc.cpp