Zth (libzth)
zth::fsm::GuardedActionBase Class Reference

#include <fsm14.h>

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

Public Member Functions

virtual GuardPollInterval tryRun (BasicFsm &fsm) const
 
GuardPollInterval operator() (BasicFsm &fsm) const
 
- Public Member Functions inherited from zth::fsm::Guard
 Guard (Guard const &)=delete
 
void operator= (Guard const &)=delete
 
virtual GuardPollInterval enabled (BasicFsm &fsm) const =0
 
virtual cow_string name () const =0
 
auto operator() (BasicFsm &fsm) const
 

Protected Member Functions

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
 
virtual cow_string name () const
 
void operator() (BasicFsm &fsm) const
 

Detailed Description

Definition at line 663 of file fsm14.h.

Constructor & Destructor Documentation

◆ GuardedActionBase()

constexpr zth::fsm::GuardedActionBase::GuardedActionBase ( )
constexprprotecteddefault

Member Function Documentation

◆ operator()()

GuardPollInterval zth::fsm::GuardedActionBase::operator() ( BasicFsm fsm) const
inline

Definition at line 679 of file fsm14.h.

◆ tryRun()

virtual GuardPollInterval zth::fsm::GuardedActionBase::tryRun ( BasicFsm fsm) const
inlinevirtual

Reimplemented in zth::fsm::Transition, and zth::fsm::TransitionStart.

Definition at line 670 of file fsm14.h.


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