The Gaudi Framework
master (37c0b60a)
|
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/ComponentManager.h>
Public Member Functions | |
ComponentManager (IInterface *application, const InterfaceID &baseIID) | |
Constructor. More... | |
const InterfaceID & | componentBaseInterface () const override |
Basic interface id of the managed components. More... | |
StatusCode | queryInterface (const InterfaceID &iid, void **pinterface) override |
Specialized queryInterface implementation. More... | |
SmartIF< ISvcLocator > & | serviceLocator () const override |
StatusCode | configure () override |
Configuration (from OFFLINE to CONFIGURED). More... | |
StatusCode | initialize () override |
Initialization (from CONFIGURED to INITIALIZED). More... | |
StatusCode | start () override |
Start (from INITIALIZED to RUNNING). More... | |
StatusCode | stop () override |
Stop (from RUNNING to INITIALIZED). More... | |
StatusCode | finalize () override |
Finalize (from INITIALIZED to CONFIGURED). More... | |
StatusCode | terminate () override |
Initialization (from CONFIGURED to OFFLINE). More... | |
StatusCode | reinitialize () override |
Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED). More... | |
StatusCode | restart () override |
Initialization (from RUNNING to RUNNING, via INITIALIZED). More... | |
Gaudi::StateMachine::State | FSMState () const override |
Get the current state. More... | |
Gaudi::StateMachine::State | targetFSMState () const override |
When we are in the middle of a transition, get the state where the transition is leading us. More... | |
Public Member Functions inherited from CommonMessaging< implements< IComponentManager > > | |
MSG::Level | msgLevel () const |
get the cached level (originally extracted from the embedded MsgStream) More... | |
bool | msgLevel (MSG::Level lvl) const |
get the output level from the embedded MsgStream More... | |
Protected Attributes | |
SmartIF< IInterface > | m_application |
Pointer to the owner of the manager. More... | |
SmartIF< IStateful > | m_stateful |
Pointer to the IStateful interface of the owner. More... | |
InterfaceID | m_basicInterfaceId |
Basic interface id of the managed components. More... | |
SmartIF< ISvcLocator > | m_svcLocator |
Service locator (needed to access the MessageSvc) More... | |
friend | ApplicationMgr |
Additional Inherited Members | |
Public Types inherited from CommonMessaging< implements< IComponentManager > > | |
using | base_class = CommonMessaging |
Protected Member Functions inherited from CommonMessaging< implements< IComponentManager > > | |
MSG::Level | setUpMessaging () const |
Set up local caches. More... | |
MSG::Level | resetMessaging () |
Reinitialize internal states. More... | |
void | updateMsgStreamOutputLevel (int level) |
Update the output level of the cached MsgStream. More... | |
Base class for a component manager.
Definition at line 25 of file ComponentManager.h.
ComponentManager::ComponentManager | ( | IInterface * | application, |
const InterfaceID & | baseIID | ||
) |
Constructor.
application | the manager of managers |
Definition at line 22 of file ComponentManager.cpp.
|
override |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
|
override |
Specialized queryInterface implementation.
If an interface is not fount in the implemented ones, we fall back on the owner.
Definition at line 31 of file ComponentManager.cpp.
|
inlineoverride |
Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED).
Definition at line 63 of file ComponentManager.h.
|
inlineoverride |
Initialization (from RUNNING to RUNNING, via INITIALIZED).
Definition at line 66 of file ComponentManager.h.
|
inlineoverride |
Definition at line 39 of file ComponentManager.h.
|
inlineoverride |
|
inlineoverride |
|
inlineoverride |
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().
Definition at line 73 of file ComponentManager.h.
|
inlineoverride |
|
protected |
Definition at line 88 of file ComponentManager.h.
|
protected |
Pointer to the owner of the manager.
Definition at line 77 of file ComponentManager.h.
|
protected |
Basic interface id of the managed components.
Definition at line 83 of file ComponentManager.h.
Pointer to the IStateful interface of the owner.
Definition at line 80 of file ComponentManager.h.
|
mutableprotected |
Service locator (needed to access the MessageSvc)
Definition at line 86 of file ComponentManager.h.