yasmine
sxy::model::transition_model_impl Class Reference

#include <transition_model_impl.hpp>

Inheritance diagram for sxy::model::transition_model_impl:
sxy::model::transition_model sxy::model::state_machine_element_model_impl sxy::model::state_machine_element_model sxy::model::state_machine_element_model

Public Member Functions

 transition_model_impl (const std::string &_name, const sxe::uri &_source_uri, const sxe::uri &_target_uri, const transition_model_kind _kind, const std::string &_behavior, const std::string &_guard, const event_ids &_events)
 Constructor. More...
 
virtual ~transition_model_impl () SX_NOEXCEPT SX_OVERRIDE
 
virtual transition_model_kind get_kind () const SX_OVERRIDE
 
virtual const std::string & get_behavior () const SX_OVERRIDE
 Get the behavior of the transition. More...
 
virtual const std::string & get_guard () const SX_OVERRIDE
 Get the guard of the transition. More...
 
virtual const sxe::uri & get_source () const SX_OVERRIDE
 Get the URI of the transition's source vertex. More...
 
virtual const sxe::uri & get_target () const SX_OVERRIDE
 Set the URI of the transition's source vertex. More...
 
const event_idsget_event_ids () const SX_OVERRIDE
 Get the List of IDs of transition's events. More...
 
- Public Member Functions inherited from sxy::model::transition_model
 transition_model ()
 
virtual ~transition_model () SX_NOEXCEPT
 
- 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...
 

Constructor & Destructor Documentation

◆ transition_model_impl()

sxy::model::transition_model_impl::transition_model_impl ( const std::string &  _name,
const sxe::uri &  _source_uri,
const sxe::uri &  _target_uri,
const transition_model_kind  _kind,
const std::string &  _behavior,
const std::string &  _guard,
const event_ids _events 
)

Constructor.

Parameters
_nameName of the transition.
_source_uriUri of the source vertex.
_target_uriUri of the target vertex.
_kingTransition kind.
_behaviorBehavior of the transition..
_guardGuard of the transition.
_eventsList of IDs of events.

◆ ~transition_model_impl()

sxy::model::transition_model_impl::~transition_model_impl ( )
virtual

Member Function Documentation

◆ get_behavior()

const std::string & sxy::model::transition_model_impl::get_behavior ( ) const
virtual

Get the behavior of the transition.

Returns
String behavior of the transition.

Implements sxy::model::transition_model.

◆ get_event_ids()

const event_ids & sxy::model::transition_model_impl::get_event_ids ( ) const
virtual

Get the List of IDs of transition's events.

Implements sxy::model::transition_model.

◆ get_guard()

const std::string & sxy::model::transition_model_impl::get_guard ( ) const
virtual

Get the guard of the transition.

Returns
String guard of the transition.

Implements sxy::model::transition_model.

◆ get_kind()

transition_model_kind sxy::model::transition_model_impl::get_kind ( ) const
virtual

◆ get_source()

const sxe::uri & sxy::model::transition_model_impl::get_source ( ) const
virtual

Get the URI of the transition's source vertex.

Implements sxy::model::transition_model.

◆ get_target()

const sxe::uri & sxy::model::transition_model_impl::get_target ( ) const
virtual

Set the URI of the transition's source vertex.

Implements sxy::model::transition_model.


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