Zth (libzth)
|
#include <fsm14.h>
Classes | |
struct | CompiledTransition |
Public Member Functions | |
virtual size_t | size () const noexcept final |
virtual bool | isInput (index_type i) const noexcept final |
virtual bool | hasGuard (index_type i) const noexcept final |
virtual Guard const & | guard (index_type i) const noexcept final |
virtual Symbol | input (index_type i) const noexcept final |
virtual GuardPollInterval | enabled (index_type i, BasicFsm &fsm) const final |
virtual Action const & | action (index_type i) const noexcept final |
virtual index_type | to (index_type i) const noexcept final |
virtual State const & | state (index_type i) const noexcept final |
Public Member Functions inherited from zth::fsm::TransitionsBase | |
virtual bool | hasInput (index_type i) const noexcept |
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 |
Static Public Member Functions | |
static constexpr Transitions | compile (std::initializer_list< Transition > l) |
Protected Types | |
enum class | Flag : uint8_t { input = 0x01 } |
using | Index = typename smallest_uint< Size >::type |
Protected Member Functions | |
constexpr | Transitions ()=default |
Additional Inherited Members | |
Public Types inherited from zth::fsm::TransitionsBase | |
using | index_type = size_t |
|
protected |
|
strongprotected |
|
constexprprotecteddefault |
|
inlinefinalvirtualnoexcept |
Implements zth::fsm::TransitionsBase.
|
inlinestaticconstexpr |
|
finalvirtual |
Implements zth::fsm::TransitionsBase.
|
inlinefinalvirtualnoexcept |
Implements zth::fsm::TransitionsBase.
|
inlinefinalvirtualnoexcept |
Implements zth::fsm::TransitionsBase.
|
inlinefinalvirtualnoexcept |
Implements zth::fsm::TransitionsBase.
|
inlinefinalvirtualnoexcept |
|
inlinefinalvirtualnoexcept |
Implements zth::fsm::TransitionsBase.
|
inlinefinalvirtualnoexcept |
Implements zth::fsm::TransitionsBase.
|
inlinefinalvirtualnoexcept |
Implements zth::fsm::TransitionsBase.