![]() |
The Gaudi Framework
master (b9786168)
|
Base class for a component manager. More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/ComponentManager.h>


Public Member Functions | |
| ComponentManager (IInterface *application, const InterfaceID &baseIID) | |
| Constructor. | |
| const InterfaceID & | componentBaseInterface () const override |
| Basic interface id of the managed components. | |
| void const * | i_cast (const InterfaceID &iid) const override |
| Specialized i_cast implementation. | |
| SmartIF< ISvcLocator > & | serviceLocator () const override |
| StatusCode | configure () override |
| Configuration (from OFFLINE to CONFIGURED). | |
| StatusCode | initialize () override |
| Initialization (from CONFIGURED to INITIALIZED). | |
| StatusCode | start () override |
| Start (from INITIALIZED to RUNNING). | |
| StatusCode | stop () override |
| Stop (from RUNNING to INITIALIZED). | |
| StatusCode | finalize () override |
| Finalize (from INITIALIZED to CONFIGURED). | |
| StatusCode | terminate () override |
| Initialization (from CONFIGURED to OFFLINE). | |
| StatusCode | reinitialize () override |
| Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED). | |
| StatusCode | restart () override |
| Initialization (from RUNNING to RUNNING, via INITIALIZED). | |
| Gaudi::StateMachine::State | FSMState () const override |
| Get the current state. | |
| Gaudi::StateMachine::State | targetFSMState () const override |
| When we are in the middle of a transition, get the state where the transition is leading us. | |
Public Member Functions inherited from CommonMessaging< implements< IComponentManager > > | |
| MSG::Level | msgLevel () const |
| get the cached level (originally extracted from the embedded MsgStream) | |
| bool | msgLevel (MSG::Level lvl) const |
| get the output level from the embedded MsgStream | |
Public Member Functions inherited from CommonMessagingBase | |
| virtual | ~CommonMessagingBase ()=default |
| Virtual destructor. | |
| const SmartIF< IMessageSvc > & | msgSvc () const |
| The standard message service. | |
| MsgStream & | msgStream () const |
| Return an uninitialized MsgStream. | |
| MsgStream & | msgStream (const MSG::Level level) const |
| Predefined configurable message stream for the efficient printouts. | |
| MsgStream & | always () const |
| shortcut for the method msgStream(MSG::ALWAYS) | |
| MsgStream & | fatal () const |
| shortcut for the method msgStream(MSG::FATAL) | |
| MsgStream & | err () const |
| shortcut for the method msgStream(MSG::ERROR) | |
| MsgStream & | error () const |
| shortcut for the method msgStream(MSG::ERROR) | |
| MsgStream & | warning () const |
| shortcut for the method msgStream(MSG::WARNING) | |
| MsgStream & | info () const |
| shortcut for the method msgStream(MSG::INFO) | |
| MsgStream & | debug () const |
| shortcut for the method msgStream(MSG::DEBUG) | |
| MsgStream & | verbose () const |
| shortcut for the method msgStream(MSG::VERBOSE) | |
| MsgStream & | msg () const |
| shortcut for the method msgStream(MSG::INFO) | |
Protected Attributes | |
| SmartIF< IInterface > | m_application |
| Pointer to the owner of the manager. | |
| SmartIF< IStateful > | m_stateful |
| Pointer to the IStateful interface of the owner. | |
| InterfaceID | m_basicInterfaceId |
| Basic interface id of the managed components. | |
| SmartIF< ISvcLocator > | m_svcLocator |
| Service locator (needed to access the MessageSvc) | |
| friend | ApplicationMgr |
Additional Inherited Members | |
Public Types inherited from CommonMessaging< implements< IComponentManager > > | |
| using | base_class |
Protected Member Functions inherited from CommonMessaging< implements< IComponentManager > > | |
| MSG::Level | setUpMessaging () const |
| Set up local caches. | |
| MSG::Level | resetMessaging () |
| Reinitialize internal states. | |
| void | updateMsgStreamOutputLevel (int level) |
| Update the output level of the cached MsgStream. | |
Base class for a component manager.
Definition at line 24 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 |
|
override |
Specialized i_cast implementation.
If an interface is not found in the implemented ones, we fall back on the owner.
Definition at line 29 of file ComponentManager.cpp.
|
inlineoverride |
|
inlineoverride |
Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED).
Definition at line 62 of file ComponentManager.h.
|
inlineoverride |
Initialization (from RUNNING to RUNNING, via INITIALIZED).
Definition at line 65 of file ComponentManager.h.
|
inlineoverride |
Definition at line 38 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 72 of file ComponentManager.h.
|
inlineoverride |
|
protected |
Definition at line 87 of file ComponentManager.h.
|
protected |
Pointer to the owner of the manager.
Definition at line 76 of file ComponentManager.h.
|
protected |
Basic interface id of the managed components.
Definition at line 82 of file ComponentManager.h.
Pointer to the IStateful interface of the owner.
Definition at line 79 of file ComponentManager.h.
|
mutableprotected |
Service locator (needed to access the MessageSvc)
Definition at line 85 of file ComponentManager.h.