1 #ifndef COMPONENTMANAGER_H_ 2 #define COMPONENTMANAGER_H_ 23 const InterfaceID& componentBaseInterface()
const override;
32 if ( !m_svcLocator ) m_svcLocator = m_application;
Base class for a component manager.
SmartIF< ISvcLocator > m_svcLocator
Service locator (needed to access the MessageSvc)
Gaudi::StateMachine::State targetFSMState() const override
When we are in the middle of a transition, get the state where the transition is leading us...
Gaudi::StateMachine::State FSMState() const override
Get the current state.
State
Allowed states for classes implementing the state machine (ApplicationMgr, Algorithm, Service, AlgTool).
SmartIF< IStateful > m_stateful
Pointer to the IStateful interface of the owner.
SmartIF< ISvcLocator > & serviceLocator() const override
StatusCode finalize() override
Finalize (from INITIALIZED to CONFIGURED).
StatusCode reinitialize() override
Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED).
InterfaceID m_basicInterfaceId
Basic interface id of the managed components.
This class is used for returning status codes from appropriate routines.
Definition of the basic interface.
StatusCode restart() override
Initialization (from RUNNING to RUNNING, via INITIALIZED).
SmartIF< IInterface > m_application
Pointer to the owner of the manager.
StatusCode initialize() override
Initialization (from CONFIGURED to INITIALIZED).
constexpr static const auto SUCCESS
The Application Manager class.
StatusCode start() override
Start (from INITIALIZED to RUNNING).
StatusCode configure() override
Configuration (from OFFLINE to CONFIGURED).
StatusCode queryInterface(const InterfaceID &iid, void **pinterface) override
StatusCode stop() override
Stop (from RUNNING to INITIALIZED).
StatusCode terminate() override
Initialization (from CONFIGURED to OFFLINE).