#include <acsComponentStateManager.h>
Public Member Functions | |
virtual | ~ComponentStateManager () |
virtual ACS::ComponentStates | getCurrentState ()=0 |
virtual void | setState (ACS::ComponentStates newState)=0 |
virtual ACE_CString | getName ()=0 |
ComponentStateManager is an interface with the methods to manage the state of a component
virtual maci::ComponentStateManager::~ComponentStateManager | ( | ) | [inline, virtual] |
virtual ACS::ComponentStates maci::ComponentStateManager::getCurrentState | ( | ) | [pure virtual] |
Returns the current state of the component
Implemented in maci::MACIComponentStateManager.
virtual ACE_CString maci::ComponentStateManager::getName | ( | ) | [pure virtual] |
Return the state in a human readable format It could be useful for logging or printing the state
Implemented in maci::MACIComponentStateManager.
virtual void maci::ComponentStateManager::setState | ( | ACS::ComponentStates | newState | ) | [pure virtual] |
Change the state of the component
newState | The new state of the component |
LifeCycleException | if the transition from the current state to the new state is not allowed |
Implemented in maci::MACIComponentStateManager.