| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

Public Types | Public Member Functions | Protected Member Functions

# 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 double IStatSvc::StatFlag

the actual value type used for Stat

Definition at line 35 of file IStatSvc.h.

typedef std::string IStatSvc::StatTag

the actual identificator of Stat

Definition at line 33 of file IStatSvc.h.

## Constructor & Destructor Documentation

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

Destructor.

Definition at line 24 of file IChronoStatSvc.cpp.

    {}

## Member Function Documentation

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

InterfaceID.

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

Implemented in ChronoStatSvc.

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

Implemented in ChronoStatSvc.

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

Implemented in ChronoStatSvc.

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

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

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines