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

#include <fsm14.h>

Inheritance diagram for zth::fsm::Guard:
zth::fsm::GuardedActionBase zth::fsm::InputGuard zth::fsm::TypedGuard< T > zth::fsm::GuardedAction zth::fsm::Transition zth::fsm::TransitionStart

Public Member Functions

 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 Guard ()=default
 
 ~Guard ()=default
 
 Guard (Guard &&) noexcept=default
 
Guardoperator= (Guard &&) noexcept=default
 

Detailed Description

Definition at line 437 of file fsm14.h.

Constructor & Destructor Documentation

◆ Guard() [1/3]

constexpr zth::fsm::Guard::Guard ( )
constexprprotecteddefault

◆ ~Guard()

zth::fsm::Guard::~Guard ( )
protecteddefault

◆ Guard() [2/3]

zth::fsm::Guard::Guard ( Guard &&  )
protecteddefaultnoexcept

◆ Guard() [3/3]

zth::fsm::Guard::Guard ( Guard const &  )
delete

Member Function Documentation

◆ enabled()

virtual GuardPollInterval zth::fsm::Guard::enabled ( BasicFsm fsm) const
pure virtual

◆ name()

virtual cow_string zth::fsm::Guard::name ( ) const
pure virtual

◆ operator()()

auto zth::fsm::Guard::operator() ( BasicFsm fsm) const
inline

Definition at line 452 of file fsm14.h.

◆ operator=() [1/2]

Guard& zth::fsm::Guard::operator= ( Guard &&  )
protecteddefaultnoexcept

◆ operator=() [2/2]

void zth::fsm::Guard::operator= ( Guard const &  )
delete

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