The Gaudi Framework
v25r5
|
General service interface definition. More...
#include <GaudiKernel/IService.h>
Public Member Functions | |
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... | |
![]() | |
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... | |
![]() | |
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... | |
Protected Member Functions | |
virtual void | setServiceManager (ISvcManager *)=0 |
Friends | |
class | ServiceManager |
Additional Inherited Members | |
![]() | |
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< iid > | ext_iids |
Extra interfaces. More... | |
![]() | |
static const InterfaceID & | interfaceID () |
Return an instance of InterfaceID identifying the interface. More... | |
General service interface definition.
Definition at line 19 of file IService.h.
|
inlinevirtual |
|
pure virtual |
Configuration (from OFFLINE to CONFIGURED).
Implemented in ApplicationMgr, and Service.
IService::DeclareInterfaceID | ( | IService | , |
3 | , | ||
0 | |||
) |
|
pure virtual |
Finalize (from INITIALIZED to CONFIGURED).
Implemented in MultiStoreSvc, Gaudi::Utils::StopSignalHandler, DataSvc, PersistencySvc, HistogramSvc, DataOnDemandSvc, Gaudi::RootCnvSvc, GslSvc, EventCollectionSelector, EventSelector, ConversionSvc, Gaudi::RootPerfMonSvc, Gaudi::ParticlePropertySvc, MinimalEventLoopMgr, Gaudi::IODataManager, ApplicationMgr, EventLoopMgr, RndmGenSvc, Gaudi::MultiFileCatalog, CounterSvc, RndmEngine, IncidentSvc, HistogramPersistencySvc, Gaudi::RootEvtSelector, Service, StalledEventMonitor, AppMgrRunable, IoComponentMgr, MessageSvc, HistorySvc, AlgContextSvc, ChronoStatSvc, NTupleSvc, EvtPersistencySvc, DetDataSvc, ExceptionSvc, HepRndm::Engine< TYPE >, FileMgr, ToolSvc, JobOptionsSvc, TagCollectionSvc, AuditorSvc, THistSvc, RecordDataSvc, VFSSvc, PartPropSvc, PythonScriptingSvc, RootHistCnv::PersSvc, IssueLogger, EvtDataSvc, StatusCodeSvc, and DetPersistencySvc.
|
pure virtual |
Get the current state.
Implemented in ApplicationMgr, and Service.
|
pure virtual |
Initialization (from CONFIGURED to INITIALIZED).
Implemented in MultiStoreSvc, DataSvc, Gaudi::Utils::StopSignalHandler, PersistencySvc, HistogramSvc, DataOnDemandSvc, Gaudi::RootCnvSvc, GslSvc, EventCollectionSelector, EventSelector, ConversionSvc, Gaudi::RootPerfMonSvc, Gaudi::ParticlePropertySvc, Gaudi::IODataManager, MinimalEventLoopMgr, ApplicationMgr, EventLoopMgr, RndmGenSvc, Gaudi::MultiFileCatalog, IncidentSvc, RndmEngine, HistogramPersistencySvc, Gaudi::RootEvtSelector, Service, IoComponentMgr, MessageSvc, HistorySvc, AlgContextSvc, ChronoStatSvc, AppMgrRunable, EvtPersistencySvc, NTupleSvc, StalledEventMonitor, ExceptionSvc, FileMgr, HepRndm::Engine< TYPE >, DetDataSvc, JobOptionsSvc, TagCollectionSvc, ToolSvc, THistSvc, AuditorSvc, RecordDataSvc, VFSSvc, PartPropSvc, PythonScriptingSvc, RootHistCnv::PersSvc, IssueLogger, EvtDataSvc, StatusCodeSvc, and DetPersistencySvc.
|
pure virtual |
Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED).
Implemented in MultiStoreSvc, DataSvc, HistogramSvc, DataOnDemandSvc, EventSelector, ApplicationMgr, MinimalEventLoopMgr, EventLoopMgr, Service, HistogramPersistencySvc, HistorySvc, MessageSvc, NTupleSvc, DetDataSvc, THistSvc, RecordDataSvc, PartPropSvc, IssueLogger, EvtDataSvc, and StatusCodeSvc.
|
pure virtual |
Initialization (from RUNNING to RUNNING, via INITIALIZED).
Implemented in ApplicationMgr, MinimalEventLoopMgr, and Service.
|
protectedpure virtual |
Implemented in Service, and ApplicationMgr.
|
pure virtual |
Start (from INITIALIZED to RUNNING).
Implemented in MinimalEventLoopMgr, ApplicationMgr, Service, AppMgrRunable, StalledEventMonitor, and ToolSvc.
|
pure virtual |
Stop (from RUNNING to INITIALIZED).
Implemented in Gaudi::RootPerfMonSvc, MinimalEventLoopMgr, ApplicationMgr, EventLoopMgr, Service, HistorySvc, StalledEventMonitor, AppMgrRunable, and ToolSvc.
|
pure virtual |
Finalize Service.
Implemented in ApplicationMgr, AuditorSvc, and Service.
|
pure virtual |
Initialize Service.
Implemented in ApplicationMgr, AuditorSvc, and Service.
|
pure virtual |
Re-initialize the Service.
Implemented in ApplicationMgr, and Service.
|
pure virtual |
Re-start the Service.
Implemented in ApplicationMgr, and Service.
|
pure virtual |
Start Service.
Implemented in ApplicationMgr, and Service.
|
pure virtual |
Stop Service.
Implemented in ApplicationMgr, and Service.
|
pure virtual |
When we are in the middle of a transition, get the state where the transition is leading us.
Otherwise it returns the same state as state().
Implemented in ApplicationMgr, and Service.
|
pure virtual |
Initialization (from CONFIGURED to OFFLINE).
Implemented in ApplicationMgr, and Service.
|
friend |
Definition at line 20 of file IService.h.