Zth (libzth)
zth::fsm::TransitionStart Class Referencefinal

#include <fsm14.h>

Inheritance diagram for zth::fsm::TransitionStart:
zth::fsm::GuardedActionBase zth::fsm::Guard zth::fsm::Action

Public Member Functions

constexpr TransitionStart (State &&state) noexcept
 
constexpr TransitionStart (Guard const &guard) noexcept
 
constexpr TransitionStart (Action const &action) noexcept
 
constexpr TransitionStart (GuardedAction &&ga) noexcept
 
constexpr TransitionStart (State &&state, GuardedAction &&guardedAction) noexcept
 
constexpr auto const & state () const noexcept
 
constexpr bool isInput () const noexcept
 
constexpr bool hasGuard () const noexcept
 
constexpr Symbol const & input () const noexcept
 
constexpr auto const & guard () const noexcept
 
constexpr auto const & action () const noexcept
 
virtual GuardPollInterval enabled (BasicFsm &fsm) const final
 
virtual GuardPollInterval tryRun (BasicFsm &fsm) const final
 
virtual cow_string name () const override
 
- Public Member Functions inherited from zth::fsm::GuardedActionBase
GuardPollInterval operator() (BasicFsm &fsm) const
 
- Public Member Functions inherited from zth::fsm::Guard
 Guard (Guard const &)=delete
 
void operator= (Guard const &)=delete
 
auto operator() (BasicFsm &fsm) const
 

Additional Inherited Members

- Protected Member Functions inherited from zth::fsm::GuardedActionBase
constexpr GuardedActionBase ()=default
 
- Protected Member Functions inherited from zth::fsm::Guard
constexpr Guard ()=default
 
 ~Guard ()=default
 
 Guard (Guard &&) noexcept=default
 
Guardoperator= (Guard &&) noexcept=default
 
- Protected Member Functions inherited from zth::fsm::Action
constexpr Action ()=default
 
 ~Action ()=default
 
 Action (Action &&) noexcept=default
 
Actionoperator= (Action &&) noexcept=default
 
 Action (Action const &)=delete
 
void operator= (Action const &)=delete
 
virtual void run (BasicFsm &fsm) const
 
void operator() (BasicFsm &fsm) const
 

Detailed Description

Definition at line 803 of file fsm14.h.

Constructor & Destructor Documentation

◆ TransitionStart() [1/5]

constexpr zth::fsm::TransitionStart::TransitionStart ( State &&  state)
inlineconstexprnoexcept

Definition at line 806 of file fsm14.h.

◆ TransitionStart() [2/5]

constexpr zth::fsm::TransitionStart::TransitionStart ( Guard const &  guard)
inlineconstexprnoexcept

Definition at line 811 of file fsm14.h.

◆ TransitionStart() [3/5]

constexpr zth::fsm::TransitionStart::TransitionStart ( Action const &  action)
inlineconstexprnoexcept

Definition at line 816 of file fsm14.h.

◆ TransitionStart() [4/5]

constexpr zth::fsm::TransitionStart::TransitionStart ( GuardedAction &&  ga)
inlineconstexprnoexcept

Definition at line 821 of file fsm14.h.

◆ TransitionStart() [5/5]

constexpr zth::fsm::TransitionStart::TransitionStart ( State &&  state,
GuardedAction &&  guardedAction 
)
inlineconstexprnoexcept

Definition at line 826 of file fsm14.h.

Member Function Documentation

◆ action()

constexpr auto const& zth::fsm::TransitionStart::action ( ) const
inlineconstexprnoexcept

Definition at line 856 of file fsm14.h.

◆ enabled()

virtual GuardPollInterval zth::fsm::TransitionStart::enabled ( BasicFsm fsm) const
inlinefinalvirtual

Implements zth::fsm::Guard.

Definition at line 861 of file fsm14.h.

◆ guard()

constexpr auto const& zth::fsm::TransitionStart::guard ( ) const
inlineconstexprnoexcept

Definition at line 851 of file fsm14.h.

◆ hasGuard()

constexpr bool zth::fsm::TransitionStart::hasGuard ( ) const
inlineconstexprnoexcept

Definition at line 841 of file fsm14.h.

◆ input()

constexpr Symbol const& zth::fsm::TransitionStart::input ( ) const
inlineconstexprnoexcept

Definition at line 846 of file fsm14.h.

◆ isInput()

constexpr bool zth::fsm::TransitionStart::isInput ( ) const
inlineconstexprnoexcept

Definition at line 836 of file fsm14.h.

◆ name()

virtual cow_string zth::fsm::TransitionStart::name ( ) const
inlineoverridevirtual

Implements zth::fsm::Guard.

Definition at line 871 of file fsm14.h.

◆ state()

constexpr auto const& zth::fsm::TransitionStart::state ( ) const
inlineconstexprnoexcept

Definition at line 831 of file fsm14.h.

◆ tryRun()

virtual GuardPollInterval zth::fsm::TransitionStart::tryRun ( BasicFsm fsm) const
inlinefinalvirtual

Reimplemented from zth::fsm::GuardedActionBase.

Definition at line 866 of file fsm14.h.


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