Zth (libzth)
zth::FsmCompiler< Fsm > Class Template Reference

A compiler to turn an zth::FsmDescription into something that can be used by zth::Fsm. More...

#include <fsm.h>

Public Member Functions

constexpr FsmCompiler (FsmDescription< Fsm > *description)
 
Fsmcreate () const
 
FsmDescription< Fsm > const * description () const
 

Protected Member Functions

void compile () const
 

Detailed Description

template<typename Fsm>
class zth::FsmCompiler< Fsm >

A compiler to turn an zth::FsmDescription into something that can be used by zth::Fsm.

See also
zth::Fsm

Definition at line 224 of file fsm.h.

Constructor & Destructor Documentation

◆ FsmCompiler()

template<typename Fsm >
constexpr zth::FsmCompiler< Fsm >::FsmCompiler ( FsmDescription< Fsm > *  description)
inlineexplicitconstexpr

Definition at line 226 of file fsm.h.

Member Function Documentation

◆ compile()

template<typename Fsm >
void zth::FsmCompiler< Fsm >::compile ( ) const
inlineprotected

Definition at line 247 of file fsm.h.

◆ create()

template<typename Fsm >
Fsm* zth::FsmCompiler< Fsm >::create ( ) const
inline

Definition at line 235 of file fsm.h.

◆ description()

template<typename Fsm >
FsmDescription<Fsm> const* zth::FsmCompiler< Fsm >::description ( ) const
inline

Definition at line 240 of file fsm.h.


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