IntrOS
Loading...
Searching...
No Matches
intros::Action Struct Reference

create and initialize an hsm action object More...

#include <osstatemachine.h>

Inheritance diagram for intros::Action:

Public Member Functions

template<class S>
constexpr Action (S &_owner, unsigned _event, hsm_handler_t *_handler=nullptr)
 constructor, see the constructor parameters of the class
template<class S>
constexpr Action (S &_owner, unsigned _event, S &_target, hsm_handler_t *_handler=nullptr)
 constructor, see the constructor parameters of the class
template<class S, class F>
constexpr Action (S &_owner, unsigned _event, F &&_handler)
 constructor, see the constructor parameters of the class
template<class S, class F>
constexpr Action (S &_owner, unsigned _event, S &_target, F &&_handler)
 constructor, see the constructor parameters of the class
 Action (Action &&)=default
 move constructor
 Action (const Action &)=default
 copy constructor
Action & operator= (Action &&)=delete
Action & operator= (const Action &)=delete

Public Attributes

std::function< void(hsm_t *, unsigned)> handler
 handler of the action (function object)

Friends

template<unsigned>
struct StateMachineT

Detailed Description

create and initialize an hsm action object


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