#include <GaudiKernel/IStatSvc.h>
Inheritance diagram for IStatSvc:
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 StatEntity * | stat (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 InterfaceID & | interfaceID () |
unique interface identifier | |
Protected Member Functions | |
virtual | ~IStatSvc () |
Destructor. |
2007-07-08
Definition at line 27 of file IStatSvc.h.
typedef std::string IStatSvc::StatTag |
typedef double IStatSvc::StatFlag |
enum IInterface::Status [inherited] |
Return status.
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 };
virtual IStatSvc::~IStatSvc | ( | ) | [protected, virtual] |
Destructor.
add statistical information to the entity , tagged by its name
t | stat tag(name) | |
f | flag (quantity to be accumulated) |
virtual void IStatSvc::statPrint | ( | const StatTag & | t | ) | [pure virtual] |
prints (using message service) info about statistical entity, tagged by its name
t | stat tag(name) |
virtual const StatEntity* IStatSvc::stat | ( | const StatTag & | t | ) | const [pure virtual] |
extract the stat entity for the given tag (name)
t | stat tag(name) |
static const InterfaceID& IStatSvc::interfaceID | ( | ) | [static] |
virtual StatusCode IInterface::queryInterface | ( | const InterfaceID & | riid, | |
void ** | ppvInterface | |||
) | [pure virtual, inherited] |
Query interfaces of Interface.
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.