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

#include <fsm14.h>

Inheritance diagram for zth::fsm::Action:
zth::fsm::GuardedActionBase zth::fsm::TypedAction< T > zth::fsm::GuardedAction zth::fsm::Transition zth::fsm::TransitionStart

Public Member Functions

 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
 

Protected Member Functions

constexpr Action ()=default
 
 ~Action ()=default
 
 Action (Action &&) noexcept=default
 
Actionoperator= (Action &&) noexcept=default
 

Detailed Description

Definition at line 578 of file fsm14.h.

Constructor & Destructor Documentation

◆ Action() [1/3]

constexpr zth::fsm::Action::Action ( )
constexprprotecteddefault

◆ ~Action()

zth::fsm::Action::~Action ( )
protecteddefault

◆ Action() [2/3]

zth::fsm::Action::Action ( Action &&  )
protecteddefaultnoexcept

◆ Action() [3/3]

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

Member Function Documentation

◆ name()

virtual cow_string zth::fsm::Action::name ( ) const
inlinevirtual

◆ operator()()

void zth::fsm::Action::operator() ( BasicFsm fsm) const
inline

Definition at line 597 of file fsm14.h.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ run()

virtual void zth::fsm::Action::run ( BasicFsm fsm) const
inlinevirtual

Reimplemented in zth::fsm::GuardedAction, and zth::fsm::TypedAction< T >.

Definition at line 590 of file fsm14.h.


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