Zth (libzth)
zth::fsm::TransitionsBase Class Referenceabstract

#include <fsm14.h>

Inheritance diagram for zth::fsm::TransitionsBase:
zth::fsm::Transitions< Size >

Public Types

using index_type = size_t
 

Public Member Functions

virtual size_t size () const noexcept=0
 
virtual bool hasGuard (index_type i) const noexcept=0
 
virtual bool hasInput (index_type i) const noexcept
 
virtual Guard const & guard (index_type i) const noexcept=0
 
virtual GuardPollInterval enabled (index_type i, BasicFsm &fsm) const =0
 
virtual Symbol input (index_type i) const noexcept=0
 
virtual Action const & action (index_type i) const noexcept=0
 
virtual index_type to (index_type i) const noexcept=0
 
virtual State const & state (index_type i) const noexcept=0
 
Fsm spawn () const
 
template<typename F , std::enable_if_t< std::is_base_of< BasicFsm, F >::value, int > = 0>
F & init (F &fsm) const noexcept
 
void dump (FILE *f=stdout) const
 
void uml (FILE *f=stdout) const
 

Detailed Description

Definition at line 1026 of file fsm14.h.

Member Typedef Documentation

◆ index_type

Definition at line 1028 of file fsm14.h.

Member Function Documentation

◆ action()

virtual Action const& zth::fsm::TransitionsBase::action ( index_type  i) const
pure virtualnoexcept

◆ dump()

void zth::fsm::TransitionsBase::dump ( FILE *  f = stdout) const
inline

Definition at line 1055 of file fsm14.h.

◆ enabled()

virtual GuardPollInterval zth::fsm::TransitionsBase::enabled ( index_type  i,
BasicFsm fsm 
) const
pure virtual

◆ guard()

virtual Guard const& zth::fsm::TransitionsBase::guard ( index_type  i) const
pure virtualnoexcept

◆ hasGuard()

virtual bool zth::fsm::TransitionsBase::hasGuard ( index_type  i) const
pure virtualnoexcept

◆ hasInput()

virtual bool zth::fsm::TransitionsBase::hasInput ( index_type  i) const
inlinevirtualnoexcept

Definition at line 1034 of file fsm14.h.

◆ init()

template<typename F , std::enable_if_t< std::is_base_of< BasicFsm, F >::value, int > = 0>
F& zth::fsm::TransitionsBase::init ( F &  fsm) const
inlinenoexcept

Definition at line 1049 of file fsm14.h.

◆ input()

virtual Symbol zth::fsm::TransitionsBase::input ( index_type  i) const
pure virtualnoexcept

◆ size()

virtual size_t zth::fsm::TransitionsBase::size ( ) const
pure virtualnoexcept

◆ spawn()

Fsm zth::fsm::TransitionsBase::spawn ( ) const
inline

Definition at line 2102 of file fsm14.h.

◆ state()

virtual State const& zth::fsm::TransitionsBase::state ( index_type  i) const
pure virtualnoexcept

◆ to()

virtual index_type zth::fsm::TransitionsBase::to ( index_type  i) const
pure virtualnoexcept

◆ uml()

void zth::fsm::TransitionsBase::uml ( FILE *  f = stdout) const
inline

Definition at line 1066 of file fsm14.h.


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