The Application Manager class.
friend class CommonMessaging
StatusCode configure() override
Configuration (from OFFLINE to CONFIGURED).
StatusCode reinitialize() override
Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED).
StatusCode stop() override
Stop (from RUNNING to INITIALIZED).
void const * i_cast(const InterfaceID &iid) const override
Specialized i_cast implementation.
StatusCode restart() override
Initialization (from RUNNING to RUNNING, via INITIALIZED).
StatusCode finalize() override
Finalize (from INITIALIZED to CONFIGURED).
StatusCode start() override
Start (from INITIALIZED to RUNNING).
Gaudi::StateMachine::State FSMState() const override
Get the current state.
StatusCode initialize() override
Initialization (from CONFIGURED to INITIALIZED).
const InterfaceID & componentBaseInterface() const override
Basic interface id of the managed components.
InterfaceID m_basicInterfaceId
Basic interface id of the managed components.
SmartIF< ISvcLocator > m_svcLocator
Service locator (needed to access the MessageSvc)
ComponentManager(IInterface *application, const InterfaceID &baseIID)
Constructor.
SmartIF< IStateful > m_stateful
Pointer to the IStateful interface of the owner.
StatusCode terminate() override
Initialization (from CONFIGURED to OFFLINE).
Gaudi::StateMachine::State targetFSMState() const override
When we are in the middle of a transition, get the state where the transition is leading us.
StatusCode queryInterface(const InterfaceID &iid, void **pinterface) override
Specialized queryInterface implementation.
SmartIF< IInterface > m_application
Pointer to the owner of the manager.
SmartIF< ISvcLocator > & serviceLocator() const override
Definition of the basic interface.
Small smart pointer class with automatic reference counting for IInterface.
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
State
Allowed states for classes implementing the state machine (ApplicationMgr, Algorithm,...