yasmine
sxy::model::state_model_impl Class Reference

A state in the model. More...

#include <state_model_impl.hpp>

Inheritance diagram for sxy::model::state_model_impl:
sxy::model::state_model sxy::model::state_machine_element_model_impl sxy::model::state_machine_element_model sxy::model::state_machine_element_model sxy::model::SX_FINAL sxy::model::SX_FINAL sxy::model::SX_FINAL

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_idsget_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_modelget_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...
 

Detailed Description

A state in the model.

Constructor & Destructor Documentation

◆ state_model_impl()

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.

Parameters
_nameName of the state.
_typeType of the state model.
_deferred_eventsList of IDs of deferred events.

◆ ~state_model_impl()

sxy::model::state_model_impl::~state_model_impl ( )
virtual

Member Function Documentation

◆ get_deferred_events()

const event_ids & sxy::model::state_model_impl::get_deferred_events ( ) const
virtual

Get the list of IDs of deferred events.

Implements sxy::model::state_model.

◆ get_transitions()

raw_const_transition_models sxy::model::state_model_impl::get_transitions ( ) const
virtual

Get the list of transitions of the state.

Implements sxy::model::state_model.


The documentation for this class was generated from the following files: