maci::ComponentStateManager − |
#include <acsComponentStateManager.h> Inherited by maci::MACIComponentStateManager. |
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 |
Returns: |
the 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 |
Returns: |
A string with the name of the state |
Implemented in maci::MACIComponentStateManager. |
virtual void maci::ComponentStateManager::setState (ACS::ComponentStates newState) [pure virtual] Change the state of the component |
Parameters: |
newState The new state of the component |
Exceptions: |
LifeCycleException if the transition from the current state to the new state is not allowed |
Implemented in maci::MACIComponentStateManager. |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |