| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

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
 SUCCESS = 1
 Normal successful completion.
 NO_INTERFACE
 Requested interface is not available.
 VERSMISMATCH
 Requested interface version is incompatible.
 LAST_ERROR
 Last error.
enum  Status { SUCCESS = 1, NO_INTERFACE, VERSMISMATCH, LAST_ERROR }
 Return status. More...

Public Member Functions

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 StatEntitystat (const StatTag &t) const =0
 extract the stat entity for the given tag (name)
virtual StatusCode queryInterface (const InterfaceID &riid, void **ppvInterface)=0
 Query interfaces of Interface.
virtual unsigned long addRef ()=0
 Increment the reference count of Interface instance.
virtual unsigned long release ()=0
 Release Interface instance.

Static Public Member Functions

static const InterfaceIDinterfaceID ()
 unique interface identifier

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 31 of file IStatSvc.h.

typedef double IStatSvc::StatFlag

the actual value type used for Stat

Definition at line 33 of file IStatSvc.h.


Member Enumeration Documentation

enum IInterface::Status [inherited]

Return status.

Enumerator:
SUCCESS  Normal successful completion.
NO_INTERFACE  Requested interface is not available.
VERSMISMATCH  Requested interface version is incompatible.
LAST_ERROR  Last error.

Reimplemented in IConversionSvc, IConverter, and IDataProviderSvc.

Definition at line 113 of file IInterface.h.

00113                 {
00115     SUCCESS = 1,
00117     NO_INTERFACE,
00119     VERSMISMATCH,
00121     LAST_ERROR
00122   };


Constructor & Destructor Documentation

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

Destructor.


Member Function Documentation

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

static const InterfaceID& IStatSvc::interfaceID (  )  [static]

unique interface identifier

Reimplemented from IInterface.

Reimplemented in IChronoStatSvc.

virtual StatusCode IInterface::queryInterface ( const InterfaceID riid,
void **  ppvInterface 
) [pure virtual, inherited]

Query interfaces of Interface.

Parameters:
riid ID of Interface to be retrieved
ppvInterface Pointer to Location for interface pointer

Implemented in Algorithm, AlgTool, Auditor, ConversionSvc, Converter, DataSvc, EventSelectorDataStream, MinimalEventLoopMgr, PropertyMgr, SelectStatement, and Service.

virtual unsigned long IInterface::addRef (  )  [pure virtual, inherited]

Increment the reference count of Interface instance.

Implemented in Algorithm, AlgTool, Auditor, Converter, EventSelectorDataStream, IFactory, PropertyMgr, SelectStatement, and Service.

virtual unsigned long IInterface::release (  )  [pure virtual, inherited]

Release Interface instance.

Implemented in Algorithm, AlgTool, Auditor, Converter, EventSelectorDataStream, IFactory, PropertyMgr, SelectStatement, and Service.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:57:11 2011 for GaudiKernel by doxygen 1.4.7