|
IntrOS
|
create and initialize an hsm action object More...
#include <osstatemachine.h>
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 |
create and initialize an hsm action object