![]() |
The Gaudi Framework
master (ff829712)
|
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. | |
StatusCode | queryInterface (const InterfaceID &iid, void **pinterface) override |
Specialized queryInterface implementation. | |
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. | |
![]() | |
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 | |
![]() | |
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 | |
![]() | |
using | base_class |
![]() | |
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 38 of file ComponentManager.cpp.
|
inlineoverride |
|
override |
Specialized queryInterface implementation.
If an interface is not found 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 66 of file ComponentManager.h.
|
inlineoverride |
Initialization (from RUNNING to RUNNING, via INITIALIZED).
Definition at line 69 of file ComponentManager.h.
|
inlineoverride |
Definition at line 42 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 76 of file ComponentManager.h.
|
inlineoverride |
|
protected |
Definition at line 91 of file ComponentManager.h.
|
protected |
Pointer to the owner of the manager.
Definition at line 80 of file ComponentManager.h.
|
protected |
Basic interface id of the managed components.
Definition at line 86 of file ComponentManager.h.
Pointer to the IStateful interface of the owner.
Definition at line 83 of file ComponentManager.h.
|
mutableprotected |
Service locator (needed to access the MessageSvc)
Definition at line 89 of file ComponentManager.h.