The MAUVE Toolchain
|
A Finite State Machine describes the component behavior. More...
#include <AbstractFiniteStateMachine.hpp>
Public Member Functions | |
AbstractFiniteStateMachine () | |
Default constructor. More... | |
virtual | ~AbstractFiniteStateMachine () |
Default destructor. More... | |
virtual std::string | core_type_name () const =0 |
Get the type of the FSM core. More... | |
virtual AbstractState * | get_state (std::string const &name) const =0 |
Get a state of the FSM by name. More... | |
virtual AbstractState * | get_state (int index) const =0 |
Get a state of the FSM by state index. More... | |
virtual int | get_state_index (const AbstractState *state) const =0 |
Get a index of state in the FSM. More... | |
virtual std::size_t | get_states_size () const =0 |
virtual std::string | shell_type_name () const =0 |
Get the type of the FSM shell. More... | |
std::string | type_name () const |
Get the type of this FSM. More... | |
![]() | |
virtual void | cleanup ()=0 |
Cleanup the object. | |
virtual bool | configure ()=0 |
Configure the object. | |
virtual bool | is_configured () const =0 |
Get the configuration status of the configurable object. More... | |
![]() | |
const std::vector< AbstractProperty * > | get_properties () const |
Get the properties of the shell. More... | |
std::size_t | get_properties_size () const |
AbstractProperty * | get_property (std::string const &name) const |
AbstractProperty * | get_property (int index) const |
Friends | |
template<typename S , typename C , typename F > | |
class | Component |
Additional Inherited Members | |
![]() | |
template<typename T > | |
Property< T > & | mk_property (std::string const &name, T init_value) |
Create a new property. More... | |
A Finite State Machine describes the component behavior.
mauve::runtime::AbstractFiniteStateMachine::AbstractFiniteStateMachine | ( | ) |
Default constructor.
|
virtual |
Default destructor.
|
pure virtual |
Get the type of the FSM core.
Implemented in mauve::runtime::FiniteStateMachine< SHELL, CORE >.
|
pure virtual |
Get a state of the FSM by name.
Implemented in mauve::runtime::FiniteStateMachine< SHELL, CORE >.
|
pure virtual |
Get a state of the FSM by state index.
Implemented in mauve::runtime::FiniteStateMachine< SHELL, CORE >.
|
pure virtual |
Get a index of state in the FSM.
Implemented in mauve::runtime::FiniteStateMachine< SHELL, CORE >.
|
pure virtual |
Implemented in mauve::runtime::FiniteStateMachine< SHELL, CORE >.
|
pure virtual |
Get the type of the FSM shell.
Implemented in mauve::runtime::FiniteStateMachine< SHELL, CORE >.
std::string mauve::runtime::AbstractFiniteStateMachine::type_name | ( | ) | const |
Get the type of this FSM.