yasmine
sxy::model::state_machine_element_model_impl Class Reference

An element of the state machine in the model. More...

#include <state_machine_element_model_impl.hpp>

Inheritance diagram for sxy::model::state_machine_element_model_impl:
sxy::model::state_machine_element_model sxy::model::pseudostate_model_impl sxy::model::state_model_impl sxy::model::SX_FINAL sxy::model::transition_model_impl sxy::model::SX_FINAL sxy::model::SX_FINAL sxy::model::SX_FINAL sxy::model::SX_FINAL sxy::model::SX_FINAL sxy::model::SX_FINAL sxy::model::SX_FINAL sxy::model::SX_FINAL sxy::model::SX_FINAL sxy::model::SX_FINAL sxy::model::SX_FINAL sxy::model::SX_FINAL sxy::model::SX_FINAL

Public Member Functions

 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::state_machine_element_model
 state_machine_element_model ()
 
virtual ~state_machine_element_model () SX_NOEXCEPT
 

Detailed Description

An element of the state machine in the model.

Constructor & Destructor Documentation

◆ state_machine_element_model_impl()

sxy::model::state_machine_element_model_impl::state_machine_element_model_impl ( const std::string &  _name,
const model_element_type _type 
)

Constructor.

Parameters
_nameName of the element.
_typeType of the element.

◆ ~state_machine_element_model_impl()

sxy::model::state_machine_element_model_impl::~state_machine_element_model_impl ( )
virtual

Member Function Documentation

◆ get_name()

const std::string & sxy::model::state_machine_element_model_impl::get_name ( ) const
virtual

Get the name of the element.

Returns
Name of the element.

Implements sxy::model::state_machine_element_model.

◆ get_parent()

const state_machine_element_model * sxy::model::state_machine_element_model_impl::get_parent ( ) const
virtual

Get the parent of the element.

Returns
Pointer to the parent element.

Implements sxy::model::state_machine_element_model.

◆ get_type()

model_element_type sxy::model::state_machine_element_model_impl::get_type ( ) const
virtual

Get the type of the element.

Returns
Element's type.

Implements sxy::model::state_machine_element_model.

◆ get_uri()

const sxe::uri sxy::model::state_machine_element_model_impl::get_uri ( ) const
virtual

Get the uri of the element.

Returns
Uri of the element.

Implements sxy::model::state_machine_element_model.

◆ set_name()

void sxy::model::state_machine_element_model_impl::set_name ( const std::string &  _name)

Set the name of the element.

Parameters
_nameName of the element.

◆ set_parent()

void sxy::model::state_machine_element_model_impl::set_parent ( const state_machine_element_model _parent)
virtual

Set the parent of the element.

Parameters
_parentParent of the element.

Implements sxy::model::state_machine_element_model.


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