Zth (libzth)
zth::fsm::TypedAction< T > Class Template Referencefinal

#include <fsm14.h>

Inheritance diagram for zth::fsm::TypedAction< T >:
zth::fsm::Action zth::fsm::Callback< T, void >

Public Types

using Callback_type = Callback< T, void >
 

Public Member Functions

template<typename T_ >
constexpr TypedAction (T_ &&a, char const *name=nullptr)
 
virtual void run (BasicFsm &fsm) const final
 
virtual cow_string name () const final
 
- Public Member Functions inherited from zth::fsm::Action
 Action (Action const &)=delete
 
void operator= (Action const &)=delete
 
void operator() (BasicFsm &fsm) const
 

Additional Inherited Members

- Protected Member Functions inherited from zth::fsm::Action
constexpr Action ()=default
 
 ~Action ()=default
 
 Action (Action &&) noexcept=default
 
Actionoperator= (Action &&) noexcept=default
 

Detailed Description

template<typename T>
class zth::fsm::TypedAction< T >

Definition at line 604 of file fsm14.h.

Member Typedef Documentation

◆ Callback_type

template<typename T >
using zth::fsm::TypedAction< T >::Callback_type = Callback<T, void>

Definition at line 609 of file fsm14.h.

Constructor & Destructor Documentation

◆ TypedAction()

template<typename T >
template<typename T_ >
constexpr zth::fsm::TypedAction< T >::TypedAction ( T_ &&  a,
char const *  name = nullptr 
)
inlineexplicitconstexpr

Definition at line 612 of file fsm14.h.

Member Function Documentation

◆ name()

template<typename T >
virtual cow_string zth::fsm::TypedAction< T >::name ( ) const
inlinefinalvirtual

Reimplemented from zth::fsm::Action.

Definition at line 621 of file fsm14.h.

◆ run()

template<typename T >
virtual void zth::fsm::TypedAction< T >::run ( BasicFsm fsm) const
inlinefinalvirtual

Reimplemented from zth::fsm::Action.

Definition at line 616 of file fsm14.h.


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