1 #ifndef COMPONENTMANAGER_H_
2 #define COMPONENTMANAGER_H_
22 virtual const InterfaceID& componentBaseInterface()
const;
33 if (!m_svcLocator) m_svcLocator = m_application;
virtual StatusCode restart()
Initialization (from RUNNING to RUNNING, via INITIALIZED).
virtual StatusCode terminate()
Initialization (from CONFIGURED to OFFLINE).
virtual StatusCode configure()
Configuration (from OFFLINE to CONFIGURED).
virtual Gaudi::StateMachine::State targetFSMState() const
When we are in the middle of a transition, get the state where the transition is leading us...
virtual StatusCode initialize()
Initialization (from CONFIGURED to INITIALIZED).
Base class for a component manager.
virtual SmartIF< ISvcLocator > & serviceLocator() const
Needed to locate the message service.
SmartIF< ISvcLocator > m_svcLocator
Service locator (needed to access the MessageSvc)
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.
Gaudi::InterfaceId< IInterface, 0, 0 > iid
Interface ID.
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.
SmartIF< IInterface > m_application
Pointer to the owner of the manager.
virtual StatusCode reinitialize()
Initialization (from INITIALIZED or RUNNING to INITIALIZED, via CONFIGURED).
virtual StatusCode start()
Start (from INITIALIZED to RUNNING).
virtual Gaudi::StateMachine::State FSMState() const
Get the current state.
Templated class to add the standard messaging functionalities.
virtual StatusCode stop()
Stop (from RUNNING to INITIALIZED).
virtual StatusCode finalize()
Finalize (from INITIALIZED to CONFIGURED).