yasmine
sxy::model::SX_FINAL Class Reference

#include <choice_model_impl.hpp>

Inheritance diagram for sxy::model::SX_FINAL:
sxy::model::pseudostate_model_impl sxy::model::choice_model sxy::model::state_model_impl sxy::model::composite_state_model sxy::model::pseudostate_model_impl sxy::model::deep_history_model sxy::model::pseudostate_model_impl sxy::model::entry_point_model sxy::model::pseudostate_model_impl sxy::model::exit_point_model sxy::model::state_model_impl sxy::model::final_state_model sxy::model::pseudostate_model_impl sxy::model::fork_model sxy::model::pseudostate_model_impl sxy::model::initial_pseudostate_model sxy::model::pseudostate_model_impl sxy::model::join_model sxy::model::pseudostate_model_impl sxy::model::junction_model sxy::model::state_machine_element_model_impl sxy::model::region_model sxy::model::pseudostate_model_impl sxy::model::shallow_history_model sxy::model::state_model_impl sxy::model::simple_state_model sxy::model::pseudostate_model_impl sxy::model::terminate_pseudostate_model

Public Member Functions

 choice_model_impl (const std::string &_name)
 Constructor. More...
 
virtual ~choice_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
virtual void accept (model_vertex_visitor &_constructor_visitor) const SX_OVERRIDE
 
 composite_state_model_impl (const std::string &_name, const std::string &_enter_behavior="", const std::string &_exit_behavior="", const event_ids &_deferred_events=event_ids())
 Constructor. More...
 
virtual ~composite_state_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
virtual const std::string & get_do_behavior () const SX_OVERRIDE
 
virtual void set_do_behavior (const std::string &_do_behavior) SX_OVERRIDE
 
virtual const std::string & get_enter_behavior () const SX_OVERRIDE
 Get the entry behavior of the composite state. More...
 
void set_enter_behavior (const std::string &_enter_behavior) SX_OVERRIDE
 Set the entry behavior of the composite state. More...
 
virtual const std::string & get_exit_behavior () const SX_OVERRIDE
 Get the exit behavior of the composite state. More...
 
void set_exit_behavior (const std::string &_exit_behavior) SX_OVERRIDE
 Set the exit behavior of the composite state. More...
 
virtual const raw_const_region_models get_regions () const SX_OVERRIDE
 Get the regions of the composite state. More...
 
virtual void add_region (region_model_uptr _region) SX_OVERRIDE
 Add a region to the list of regions of the composite state. More...
 
virtual raw_const_pseduostate_models get_state_pseudostates () const SX_OVERRIDE
 Get the state pseudostates of the composite state. More...
 
virtual void add_state_pseudostate (pseudostate_model_uptr _pseudostate) SX_OVERRIDE
 Add a state pseudostate to the list of the state pseudostates of the composite state. More...
 
virtual void accept (model_vertex_visitor &_constructor_visitor) const SX_OVERRIDE
 
 deep_history_model_impl (const std::string &_name)
 
virtual ~deep_history_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
virtual void accept (model_vertex_visitor &_constructor_visitor) const SX_OVERRIDE
 
 entry_point_model_impl (const std::string &_name)
 Constructor. More...
 
virtual ~entry_point_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
virtual void accept (model_vertex_visitor &_constructor_visitor) const SX_OVERRIDE
 
 exit_point_model_impl (const std::string &_name)
 Constructor. More...
 
virtual ~exit_point_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
virtual void accept (model_vertex_visitor &_constructor_visitor) const SX_OVERRIDE
 
 final_state_model_impl (const std::string &_name)
 Constructor. More...
 
virtual ~final_state_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
virtual const raw_const_region_models get_regions () const SX_OVERRIDE
 
virtual const std::string & get_enter_behavior () const SX_OVERRIDE
 
virtual void set_enter_behavior (const std::string &_enter_behavior) SX_OVERRIDE
 
virtual const std::string & get_do_behavior () const SX_OVERRIDE
 
virtual void set_do_behavior (const std::string &_do_behavior) SX_OVERRIDE
 
virtual const std::string & get_exit_behavior () const SX_OVERRIDE
 
virtual void set_exit_behavior (const std::string &_exit_behavior) SX_OVERRIDE
 
virtual void accept (model_vertex_visitor &_constructor_visitor) const SX_OVERRIDE
 
 fork_model_impl (const std::string &_name)
 Constructor. More...
 
virtual ~fork_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
virtual void accept (model_vertex_visitor &_constructor_visitor) const SX_OVERRIDE
 
 initial_pseudostate_model_impl (const std::string &_name)
 Constructor. More...
 
virtual ~initial_pseudostate_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
virtual void accept (model_vertex_visitor &_constructor_visitor) const SX_OVERRIDE
 
 join_model_impl (const std::string &_name)
 Constructor. More...
 
virtual ~join_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
virtual void accept (model_vertex_visitor &_constructor_visitor) const SX_OVERRIDE
 
 junction_model_impl (const std::string &_name)
 Constructor. More...
 
virtual ~junction_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
virtual void accept (model_vertex_visitor &_constructor_visitor) const SX_OVERRIDE
 
 region_model_impl (const std::string &_name)
 Constructor. More...
 
virtual ~region_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
row_const_state_models get_states () const SX_OVERRIDE
 Get the list of the states of the region. More...
 
void add_state (state_model_uptr _state) SX_OVERRIDE
 Add a state to the region. More...
 
raw_const_pseduostate_models get_pseudostates () const SX_OVERRIDE
 Get the list of pseudostates of the region. More...
 
void add_pseudostate (pseudostate_model_uptr _region_pseudostate) SX_OVERRIDE
 Add a pseudostate to the region. More...
 
 shallow_history_model_impl (const std::string &_name)
 Constructor. More...
 
virtual ~shallow_history_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
virtual void accept (model_vertex_visitor &_constructor_visitor) const SX_OVERRIDE
 
 simple_state_model_impl (const std::string &_name, const std::string &_enter_behavior="", const std::string &_do_behavior="", const std::string &_exit_behavior="", const event_ids &_deferred_events=event_ids(), event_sptr _error_event=event_sptr(), bool _is_async=false)
 Constructor. More...
 
virtual ~simple_state_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
virtual const std::string & get_enter_behavior () const SX_OVERRIDE
 Get the enter behavior of the simple state. More...
 
virtual void set_enter_behavior (const std::string &_enter_behavior) SX_OVERRIDE
 Set the enter behavior of the simple state. More...
 
virtual const std::string & get_do_behavior () const SX_OVERRIDE
 Get the do behavior of the simple state. More...
 
virtual void set_do_behavior (const std::string &_do_behavior) SX_OVERRIDE
 Set the do behavior of the simple state. More...
 
virtual const std::string & get_exit_behavior () const SX_OVERRIDE
 Get the exit behavior of the simple state. More...
 
virtual void set_exit_behavior (const std::string &_exit_behavior) SX_OVERRIDE
 Set the exit behavior of the simple state. More...
 
virtual const raw_const_region_models get_regions () const SX_OVERRIDE
 
virtual void accept (model_vertex_visitor &_constructor_visitor) const SX_OVERRIDE
 
virtual event_sptr get_error_event () const SX_OVERRIDE
 Get the error event stored by the simple state. More...
 
virtual void set_error_event (event_sptr _error_event) SX_OVERRIDE
 Set the error event stored by the simple state. More...
 
virtual bool is_async () const SX_OVERRIDE
 Check if the simple state is asynchronous. More...
 
virtual void set_is_async (bool _is_async) SX_OVERRIDE
 Set the simple state to be asynchronous or synchronous. More...
 
 terminate_pseudostate_model_impl (const std::string &_name)
 Constructor. More...
 
virtual ~terminate_pseudostate_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
virtual void accept (model_vertex_visitor &_constructor_visitor) const SX_OVERRIDE
 
- Public Member Functions inherited from sxy::model::terminate_pseudostate_model
 terminate_pseudostate_model ()
 
virtual ~terminate_pseudostate_model () SX_NOEXCEPT SX_OVERRIDE
 
- Public Member Functions inherited from sxy::model::pseudostate_model
 pseudostate_model ()
 
virtual ~pseudostate_model () SX_NOEXCEPT SX_OVERRIDE
 
- 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::pseudostate_model_impl
 pseudostate_model_impl (const std::string &_name, const model_element_type &_type)
 Constructor. More...
 
virtual ~pseudostate_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
virtual raw_const_transition_models get_incoming_transitions () const SX_OVERRIDE
 Get the list of the incoming transitions of the pseudostate. More...
 
virtual void add_incoming_transition (transition_models _incoming_transition) SX_OVERRIDE
 Add an incoming transition to the list of the incoming transitions of the pseudostate. More...
 
virtual raw_const_transition_models get_outgoing_transitions () const SX_OVERRIDE
 Get the list of the outgoing transitions of the pseudostate. More...
 
virtual void add_outgoing_transition (transition_models _outgoing_transition) SX_OVERRIDE
 Add a outgoing transition to the list of the outgoing transitions of the pseudostate. More...
 
- 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...
 
- Public Member Functions inherited from sxy::model::simple_state_model
 simple_state_model ()
 
virtual ~simple_state_model () SX_NOEXCEPT SX_OVERRIDE
 
- Public Member Functions inherited from sxy::model::state_model
 state_model ()
 
virtual ~state_model () SX_NOEXCEPT
 
- Public Member Functions inherited from 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. 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::shallow_history_model
 shallow_history_model ()
 
virtual ~shallow_history_model () SX_NOEXCEPT SX_OVERRIDE
 
- Public Member Functions inherited from sxy::model::region_model
 region_model ()
 
virtual ~region_model () SX_NOEXCEPT SX_OVERRIDE
 
- Public Member Functions inherited from sxy::model::junction_model
 junction_model ()
 
virtual ~junction_model () SX_NOEXCEPT SX_OVERRIDE
 
- Public Member Functions inherited from sxy::model::join_model
 join_model ()
 
virtual ~join_model () SX_NOEXCEPT SX_OVERRIDE
 
- Public Member Functions inherited from sxy::model::initial_pseudostate_model
 initial_pseudostate_model ()
 
virtual ~initial_pseudostate_model () SX_NOEXCEPT SX_OVERRIDE
 
- Public Member Functions inherited from sxy::model::fork_model
 fork_model ()
 
virtual ~fork_model () SX_NOEXCEPT SX_OVERRIDE
 
- Public Member Functions inherited from sxy::model::final_state_model
 final_state_model ()
 
virtual ~final_state_model () SX_NOEXCEPT SX_OVERRIDE
 
- Public Member Functions inherited from sxy::model::exit_point_model
 exit_point_model ()
 
virtual ~exit_point_model () SX_NOEXCEPT SX_OVERRIDE
 
- Public Member Functions inherited from sxy::model::entry_point_model
 entry_point_model ()
 
virtual ~entry_point_model () SX_NOEXCEPT SX_OVERRIDE
 
- Public Member Functions inherited from sxy::model::deep_history_model
 deep_history_model ()
 
virtual ~deep_history_model () SX_NOEXCEPT SX_OVERRIDE
 
- Public Member Functions inherited from sxy::model::composite_state_model
 composite_state_model ()
 
virtual ~composite_state_model () SX_NOEXCEPT SX_OVERRIDE
 
- Public Member Functions inherited from sxy::model::choice_model
 choice_model ()
 
virtual ~choice_model () SX_NOEXCEPT SX_OVERRIDE
 

Constructor & Destructor Documentation

◆ ~choice_model_impl()

virtual sxy::model::SX_FINAL::~choice_model_impl ( )
virtual

◆ ~composite_state_model_impl()

virtual sxy::model::SX_FINAL::~composite_state_model_impl ( )
virtual

◆ ~deep_history_model_impl()

virtual sxy::model::SX_FINAL::~deep_history_model_impl ( )
virtual

◆ ~entry_point_model_impl()

virtual sxy::model::SX_FINAL::~entry_point_model_impl ( )
virtual

◆ ~exit_point_model_impl()

virtual sxy::model::SX_FINAL::~exit_point_model_impl ( )
virtual

◆ ~final_state_model_impl()

virtual sxy::model::SX_FINAL::~final_state_model_impl ( )
virtual

◆ ~fork_model_impl()

virtual sxy::model::SX_FINAL::~fork_model_impl ( )
virtual

◆ ~initial_pseudostate_model_impl()

virtual sxy::model::SX_FINAL::~initial_pseudostate_model_impl ( )
virtual

◆ ~join_model_impl()

virtual sxy::model::SX_FINAL::~join_model_impl ( )
virtual

◆ ~junction_model_impl()

virtual sxy::model::SX_FINAL::~junction_model_impl ( )
virtual

◆ ~region_model_impl()

virtual sxy::model::SX_FINAL::~region_model_impl ( )
virtual

◆ ~shallow_history_model_impl()

virtual sxy::model::SX_FINAL::~shallow_history_model_impl ( )
virtual

◆ ~simple_state_model_impl()

virtual sxy::model::SX_FINAL::~simple_state_model_impl ( )
virtual

◆ ~terminate_pseudostate_model_impl()

virtual sxy::model::SX_FINAL::~terminate_pseudostate_model_impl ( )
virtual

Member Function Documentation

◆ accept() [1/13]

virtual void sxy::model::SX_FINAL::accept ( model_vertex_visitor _constructor_visitor) const
virtual

◆ accept() [2/13]

virtual void sxy::model::SX_FINAL::accept ( model_vertex_visitor _constructor_visitor) const
virtual

◆ accept() [3/13]

virtual void sxy::model::SX_FINAL::accept ( model_vertex_visitor _constructor_visitor) const
virtual

◆ accept() [4/13]

virtual void sxy::model::SX_FINAL::accept ( model_vertex_visitor _constructor_visitor) const
virtual

◆ accept() [5/13]

virtual void sxy::model::SX_FINAL::accept ( model_vertex_visitor _constructor_visitor) const
virtual

◆ accept() [6/13]

virtual void sxy::model::SX_FINAL::accept ( model_vertex_visitor _constructor_visitor) const
virtual

◆ accept() [7/13]

virtual void sxy::model::SX_FINAL::accept ( model_vertex_visitor _constructor_visitor) const
virtual

◆ accept() [8/13]

virtual void sxy::model::SX_FINAL::accept ( model_vertex_visitor _constructor_visitor) const
virtual

◆ accept() [9/13]

virtual void sxy::model::SX_FINAL::accept ( model_vertex_visitor _constructor_visitor) const
virtual

◆ accept() [10/13]

virtual void sxy::model::SX_FINAL::accept ( model_vertex_visitor _constructor_visitor) const
virtual

◆ accept() [11/13]

virtual void sxy::model::SX_FINAL::accept ( model_vertex_visitor _constructor_visitor) const
virtual

◆ accept() [12/13]

virtual void sxy::model::SX_FINAL::accept ( model_vertex_visitor _constructor_visitor) const
virtual

◆ accept() [13/13]

virtual void sxy::model::SX_FINAL::accept ( model_vertex_visitor _constructor_visitor) const
virtual

◆ add_pseudostate()

void sxy::model::SX_FINAL::add_pseudostate ( pseudostate_model_uptr  _region_pseudostate)
virtual

Add a pseudostate to the region.

Implements sxy::model::region_model.

◆ add_region()

virtual void sxy::model::SX_FINAL::add_region ( region_model_uptr  _region)
virtual

Add a region to the list of regions of the composite state.

Implements sxy::model::composite_state_model.

◆ add_state()

void sxy::model::SX_FINAL::add_state ( state_model_uptr  _state)
virtual

Add a state to the region.

Implements sxy::model::region_model.

◆ add_state_pseudostate()

virtual void sxy::model::SX_FINAL::add_state_pseudostate ( pseudostate_model_uptr  _pseudostate)
virtual

Add a state pseudostate to the list of the state pseudostates of the composite state.

Implements sxy::model::composite_state_model.

◆ choice_model_impl()

sxy::model::SX_FINAL::choice_model_impl ( const std::string &  _name)
explicit

Constructor.

Parameters
_nameName of the choice.

◆ composite_state_model_impl()

sxy::model::SX_FINAL::composite_state_model_impl ( const std::string &  _name,
const std::string &  _enter_behavior = "",
const std::string &  _exit_behavior = "",
const event_ids _deferred_events = event_ids() 
)
explicit

Constructor.

Parameters
_nameName of the composite state.
_enter_behaviorEntry behavior of the composite state.
_exit_bahviorExit behavior of the composite state.
_deferred_eventsList of IDs of deferred event.

◆ deep_history_model_impl()

sxy::model::SX_FINAL::deep_history_model_impl ( const std::string &  _name)
explicit

.

Parameters
_nameName of the deep history.

◆ entry_point_model_impl()

sxy::model::SX_FINAL::entry_point_model_impl ( const std::string &  _name)
explicit

Constructor.

Parameters
_nameName of the entry point.

◆ exit_point_model_impl()

sxy::model::SX_FINAL::exit_point_model_impl ( const std::string &  _name)
explicit

Constructor.

Parameters
_nameName of the exit point.

◆ final_state_model_impl()

sxy::model::SX_FINAL::final_state_model_impl ( const std::string &  _name)
explicit

Constructor.

Parameters
_nameName of the final state.

◆ fork_model_impl()

sxy::model::SX_FINAL::fork_model_impl ( const std::string &  _name)
explicit

Constructor.

Parameters
_nameName of the fork.

◆ get_do_behavior() [1/3]

virtual const std::string& sxy::model::SX_FINAL::get_do_behavior ( ) const
virtual

◆ get_do_behavior() [2/3]

virtual const std::string& sxy::model::SX_FINAL::get_do_behavior ( ) const
virtual

◆ get_do_behavior() [3/3]

virtual const std::string& sxy::model::SX_FINAL::get_do_behavior ( ) const
virtual

Get the do behavior of the simple state.

Implements sxy::model::state_model.

◆ get_enter_behavior() [1/3]

virtual const std::string& sxy::model::SX_FINAL::get_enter_behavior ( ) const
virtual

◆ get_enter_behavior() [2/3]

virtual const std::string& sxy::model::SX_FINAL::get_enter_behavior ( ) const
virtual

Get the entry behavior of the composite state.

Implements sxy::model::composite_state_model.

◆ get_enter_behavior() [3/3]

virtual const std::string& sxy::model::SX_FINAL::get_enter_behavior ( ) const
virtual

Get the enter behavior of the simple state.

Implements sxy::model::composite_state_model.

◆ get_error_event()

virtual event_sptr sxy::model::SX_FINAL::get_error_event ( ) const
virtual

Get the error event stored by the simple state.

Returns
Pointer to the event stored by the simple state.

Implements sxy::model::simple_state_model.

◆ get_exit_behavior() [1/3]

virtual const std::string& sxy::model::SX_FINAL::get_exit_behavior ( ) const
virtual

◆ get_exit_behavior() [2/3]

virtual const std::string& sxy::model::SX_FINAL::get_exit_behavior ( ) const
virtual

Get the exit behavior of the composite state.

Implements sxy::model::composite_state_model.

◆ get_exit_behavior() [3/3]

virtual const std::string& sxy::model::SX_FINAL::get_exit_behavior ( ) const
virtual

Get the exit behavior of the simple state.

Implements sxy::model::composite_state_model.

◆ get_pseudostates()

raw_const_pseduostate_models sxy::model::SX_FINAL::get_pseudostates ( ) const
virtual

Get the list of pseudostates of the region.

Implements sxy::model::region_model.

◆ get_regions() [1/3]

virtual const raw_const_region_models sxy::model::SX_FINAL::get_regions ( ) const
virtual

◆ get_regions() [2/3]

virtual const raw_const_region_models sxy::model::SX_FINAL::get_regions ( ) const
virtual

Get the regions of the composite state.

Implements sxy::model::state_model.

◆ get_regions() [3/3]

virtual const raw_const_region_models sxy::model::SX_FINAL::get_regions ( ) const
virtual

◆ get_state_pseudostates()

virtual raw_const_pseduostate_models sxy::model::SX_FINAL::get_state_pseudostates ( ) const
virtual

Get the state pseudostates of the composite state.

Implements sxy::model::composite_state_model.

◆ get_states()

row_const_state_models sxy::model::SX_FINAL::get_states ( ) const
virtual

Get the list of the states of the region.

Implements sxy::model::region_model.

◆ initial_pseudostate_model_impl()

sxy::model::SX_FINAL::initial_pseudostate_model_impl ( const std::string &  _name)
explicit

Constructor.

Parameters
_nameName of the initial pseudostate.

◆ is_async()

virtual bool sxy::model::SX_FINAL::is_async ( ) const
virtual

Check if the simple state is asynchronous.

Returns
True for async, false otherwise.

Implements sxy::model::simple_state_model.

◆ join_model_impl()

sxy::model::SX_FINAL::join_model_impl ( const std::string &  _name)
explicit

Constructor.

Parameters
_nameName of the join.

◆ junction_model_impl()

sxy::model::SX_FINAL::junction_model_impl ( const std::string &  _name)
explicit

Constructor.

Parameters
_nameName of the junction.

◆ region_model_impl()

sxy::model::SX_FINAL::region_model_impl ( const std::string &  _name)
explicit

Constructor.

Parameters
_nameName of the region.

◆ set_do_behavior() [1/3]

virtual void sxy::model::SX_FINAL::set_do_behavior ( const std::string &  _do_behavior)
virtual

◆ set_do_behavior() [2/3]

virtual void sxy::model::SX_FINAL::set_do_behavior ( const std::string &  _do_behavior)
virtual

◆ set_do_behavior() [3/3]

virtual void sxy::model::SX_FINAL::set_do_behavior ( const std::string &  _do_behavior)
virtual

Set the do behavior of the simple state.

Implements sxy::model::state_model.

◆ set_enter_behavior() [1/3]

virtual void sxy::model::SX_FINAL::set_enter_behavior ( const std::string &  _enter_behavior)
virtual

◆ set_enter_behavior() [2/3]

void sxy::model::SX_FINAL::set_enter_behavior ( const std::string &  _enter_behavior)
virtual

Set the entry behavior of the composite state.

Implements sxy::model::composite_state_model.

◆ set_enter_behavior() [3/3]

virtual void sxy::model::SX_FINAL::set_enter_behavior ( const std::string &  _enter_behavior)
virtual

Set the enter behavior of the simple state.

Implements sxy::model::composite_state_model.

◆ set_error_event()

virtual void sxy::model::SX_FINAL::set_error_event ( event_sptr  _error_event)
virtual

Set the error event stored by the simple state.

Implements sxy::model::simple_state_model.

◆ set_exit_behavior() [1/3]

virtual void sxy::model::SX_FINAL::set_exit_behavior ( const std::string &  _exit_behavior)
virtual

◆ set_exit_behavior() [2/3]

void sxy::model::SX_FINAL::set_exit_behavior ( const std::string &  _exit_behavior)
virtual

Set the exit behavior of the composite state.

Implements sxy::model::composite_state_model.

◆ set_exit_behavior() [3/3]

virtual void sxy::model::SX_FINAL::set_exit_behavior ( const std::string &  _exit_behavior)
virtual

Set the exit behavior of the simple state.

Implements sxy::model::composite_state_model.

◆ set_is_async()

virtual void sxy::model::SX_FINAL::set_is_async ( bool  _is_async)
virtual

Set the simple state to be asynchronous or synchronous.

Implements sxy::model::simple_state_model.

◆ shallow_history_model_impl()

sxy::model::SX_FINAL::shallow_history_model_impl ( const std::string &  _name)
explicit

Constructor.

Parameters
_nameName of the shallow history.

◆ simple_state_model_impl()

sxy::model::SX_FINAL::simple_state_model_impl ( const std::string &  _name,
const std::string &  _enter_behavior = "",
const std::string &  _do_behavior = "",
const std::string &  _exit_behavior = "",
const event_ids _deferred_events = event_ids(),
event_sptr  _error_event = event_sptr(),
bool  _is_async = false 
)
explicit

Constructor.

Parameters
_nameName of the simple state.
_enter_behaviorEntry behavior of the simple state.
_do_behaviorDo behavior of the simple state.
_exit_bahviorExit behavior of the simple state.
_deferred_eventsList of IDs of deferred events.
_error_eventEvent that is fired in case an exception occurs.
_is_asyncSpecify if the simple state is sync or async.

◆ terminate_pseudostate_model_impl()

sxy::model::SX_FINAL::terminate_pseudostate_model_impl ( const std::string &  _name)
explicit

Constructor.

Parameters
_nameName of the terminate pseudostate.

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