All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
IChronoStatSvc Class Reference

The IChronoStatSvc is the interface implemented by the ChronoStatService. More...

#include <GaudiKernel/IChronoStatSvc.h>

Inheritance diagram for IChronoStatSvc:
Collaboration diagram for IChronoStatSvc:

Public Member Functions

 DeclareInterfaceIDMultiBase (IChronoStatSvc, 6, 0)
 InterfaceID. More...
 
- Public Member Functions inherited from extend_interfaces3< IService, IChronoSvc, IStatSvc >
virtual ~extend_interfaces3 ()
 Virtual destructor. More...
 
- Public Member Functions inherited from IService
 DeclareInterfaceID (IService, 3, 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...
 
virtual StatusCode configure ()=0
 Configuration (from OFFLINE to CONFIGURED). More...
 
virtual StatusCode initialize ()=0
 Initialization (from CONFIGURED to INITIALIZED). More...
 
virtual StatusCode start ()=0
 Start (from INITIALIZED to RUNNING). More...
 
virtual StatusCode stop ()=0
 Stop (from RUNNING to INITIALIZED). More...
 
virtual StatusCode finalize ()=0
 Finalize (from INITIALIZED to CONFIGURED). More...
 
virtual StatusCode terminate ()=0
 Initialization (from CONFIGURED to OFFLINE). More...
 
virtual StatusCode reinitialize ()=0
 Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED). More...
 
virtual StatusCode restart ()=0
 Initialization (from RUNNING to RUNNING, via INITIALIZED). More...
 
virtual Gaudi::StateMachine::State FSMState () const =0
 Get the current state. More...
 
virtual Gaudi::StateMachine::State targetFSMState () const =0
 When we are in the middle of a transition, get the state where the transition is leading us. More...
 
virtual ~IService ()
 virtual destructor More...
 
- Public Member Functions inherited from INamedInterface
 DeclareInterfaceID (INamedInterface, 1, 0)
 InterfaceID. More...
 
virtual const std::string & name () const =0
 Retrieve the name of the instance. More...
 
virtual ~INamedInterface ()
 Virtual destructor (always needed for abstract classes). More...
 
- Public Member Functions inherited from IInterface
virtual void * i_cast (const InterfaceID &) const =0
 main cast function More...
 
virtual std::vector< std::string > getInterfaceNames () const =0
 Returns a vector of strings containing the names of all the implemented interfaces. More...
 
virtual unsigned long addRef ()=0
 Increment the reference count of Interface instance. More...
 
virtual unsigned long release ()=0
 Release Interface instance. More...
 
virtual unsigned long refCount () const =0
 Current reference count. More...
 
virtual StatusCode queryInterface (const InterfaceID &ti, void **pp)=0
 Set the void** to the pointer to the requested interface of the instance. More...
 
virtual ~IInterface ()
 Virtual destructor. More...
 
- Public Member Functions inherited from IChronoSvc
 DeclareInterfaceID (IChronoSvc, 3, 0)
 InterfaceID. More...
 
virtual ChronoEntitychronoStart (const ChronoTag &t)=0
 start chrono, tagged by its name More...
 
virtual const ChronoEntitychronoStop (const ChronoTag &t)=0
 stop chrono, tagged by its name More...
 
virtual ChronoTime chronoDelta (const ChronoTag &t, ChronoType f)=0
 return chrono delta time of last start/stop pair More...
 
virtual void chronoPrint (const ChronoTag &t)=0
 prints (using message service) info about chrono, tagged by its name More...
 
virtual ChronoStatus chronoStatus (const ChronoTag &t)=0
 return the status of named chrono More...
 
virtual const ChronoEntitychrono (const ChronoTag &t) const =0
 extract the chrono entity for the given tag (name) More...
 
- Public Member Functions inherited from IStatSvc
 DeclareInterfaceID (IStatSvc, 2, 0)
 InterfaceID. More...
 
virtual void stat (const StatTag &t, const StatFlag &f)=0
 add statistical information to the entity , tagged by its name More...
 
virtual void statPrint (const StatTag &t)=0
 prints (using message service) info about statistical entity, tagged by its name More...
 
virtual const StatEntitystat (const StatTag &t) const =0
 extract the stat entity for the given tag (name) More...
 

Protected Member Functions

virtual ~IChronoStatSvc ()
 virtual desctructor More...
 
- Protected Member Functions inherited from IService
virtual void setServiceManager (ISvcManager *)=0
 
- Protected Member Functions inherited from IChronoSvc
virtual ~IChronoSvc ()
 protected and virtual destructor More...
 
- Protected Member Functions inherited from IStatSvc
virtual ~IStatSvc ()
 Destructor. More...
 

Additional Inherited Members

- Public Types inherited from extend_interfaces3< IService, IChronoSvc, IStatSvc >
typedef mpl::fold< typename
IService::iid::iids::type,
typename mpl::fold< typename
IChronoSvc::iid::iids::type,
typename
IStatSvc::iid::iids::type,
mpl::insert< mpl::_1, mpl::_2 >
>::type, mpl::insert< mpl::_1,
mpl::_2 > >::type 
ext_iids
 MPL set of interfaces extended by this one. More...
 
- Public Types inherited from IInterface
enum  Status { SUCCESS = 1, NO_INTERFACE, VERSMISMATCH, LAST_ERROR }
 Return status. More...
 
typedef Gaudi::InterfaceId
< IInterface, 0, 0 > 
iid
 Interface ID. More...
 
typedef mpl::set1< iidext_iids
 Extra interfaces. More...
 
- Public Types inherited from IChronoSvc
enum  ChronoStatus { UNKNOWN = 0, RUNNING, STOPPED }
 
enum  ChronoType { USER = 0, KERNEL, ELAPSED }
 
typedef std::string ChronoTag
 the actual type of identifier for Chrono objects More...
 
typedef double ChronoTime
 Type of the delta-time. More...
 
- Public Types inherited from IStatSvc
typedef std::string StatTag
 the actual identificator of Stat More...
 
typedef double StatFlag
 the actual value type used for Stat More...
 
- Static Public Member Functions inherited from IInterface
static const InterfaceIDinterfaceID ()
 Return an instance of InterfaceID identifying the interface. More...
 

Detailed Description

The IChronoStatSvc is the interface implemented by the ChronoStatService.

This interface is used by any algorithm or services wanting to study its own performance and CPU consumption and some statistical computation

See also
IChronoSvc
IStatSvc
Author
Vanya BELYAEV ibely.nosp@m.aev@.nosp@m.physi.nosp@m.cs.s.nosp@m.yr.ed.nosp@m.u (inspired by Mauro VILLA's codes used within ARTE framework )
Date
December 1, 1999
2007-07-08

Definition at line 36 of file IChronoStatSvc.h.

Constructor & Destructor Documentation

IChronoStatSvc::~IChronoStatSvc ( )
protectedvirtual

virtual desctructor

Definition at line 28 of file IChronoStatSvc.cpp.

28 {}

Member Function Documentation

IChronoStatSvc::DeclareInterfaceIDMultiBase ( IChronoStatSvc  ,
,
 
)

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