yasmine
|
A state in the model. More...
#include <state_model_impl.hpp>
Public Member Functions | |
state_model_impl (const std::string &_name, const model_element_type &_type, const event_ids &_deferred_events=event_ids()) | |
Constructor. More... | |
virtual | ~state_model_impl () SX_NOEXCEPT |
virtual raw_const_transition_models | get_transitions () const SX_OVERRIDE |
Get the list of transitions of the state. More... | |
virtual const event_ids & | get_deferred_events () const SX_OVERRIDE |
Get the list of IDs of deferred events. More... | |
Public Member Functions inherited from sxy::model::state_model | |
state_model () | |
virtual | ~state_model () SX_NOEXCEPT |
virtual const raw_const_region_models | get_regions () const =0 |
virtual const std::string & | get_enter_behavior () const =0 |
virtual void | set_enter_behavior (const std::string &_enter_behavior)=0 |
virtual const std::string & | get_do_behavior () const =0 |
virtual void | set_do_behavior (const std::string &_do_behavior)=0 |
virtual const std::string & | get_exit_behavior () const =0 |
virtual void | set_exit_behavior (const std::string &_exit_behavior)=0 |
virtual void | accept (model_vertex_visitor &_constructor_visitor) const =0 |
Public Member Functions inherited from sxy::model::state_machine_element_model | |
state_machine_element_model () | |
virtual | ~state_machine_element_model () SX_NOEXCEPT |
Public Member Functions inherited from sxy::model::state_machine_element_model_impl | |
state_machine_element_model_impl (const std::string &_name, const model_element_type &_type) | |
Constructor. More... | |
virtual | ~state_machine_element_model_impl () SX_NOEXCEPT SX_OVERRIDE |
virtual const std::string & | get_name () const SX_OVERRIDE |
Get the name of the element. More... | |
void | set_name (const std::string &_name) |
Set the name of the element. More... | |
virtual const state_machine_element_model * | get_parent () const SX_OVERRIDE |
Get the parent of the element. More... | |
virtual void | set_parent (const state_machine_element_model *_parent) SX_OVERRIDE |
Set the parent of the element. More... | |
virtual const sxe::uri | get_uri () const SX_OVERRIDE |
Get the uri of the element. More... | |
virtual model_element_type | get_type () const SX_OVERRIDE |
Get the type of the element. More... | |
A state in the model.
sxy::model::state_model_impl::state_model_impl | ( | const std::string & | _name, |
const model_element_type & | _type, | ||
const event_ids & | _deferred_events = event_ids() |
||
) |
Constructor.
_name | Name of the state. |
_type | Type of the state model. |
_deferred_events | List of IDs of deferred events. |
|
virtual |
|
virtual |
Get the list of IDs of deferred events.
Implements sxy::model::state_model.
|
virtual |
Get the list of transitions of the state.
Implements sxy::model::state_model.