mcx::state_machine::_Event1
less than a minute
mcx::state_machine::_Event1
Inherits from mcx::state_machine::Event< STATE >
Public Functions
Name | |
---|---|
_Event1(Signature event_func, const typename DR< P1 >::T & param1) | |
virtual EventStatus | dispatchEvent(STATE * state) |
virtual bool | compare(const Event< STATE > * cmp) |
Protected Attributes
Name | |
---|---|
Signature | eventFunc_ |
const DR< P1 >::T | param1_ |
Additional inherited members
Public Functions inherited from mcx::state_machine::Event< STATE >
Name | |
---|---|
Event() | |
virtual | ~Event() =default |
void | setTerminateFunc(Signature term_func) |
const Signature & | getTerminateFunc() |
void | setExecutedOnceFlag(bool once_executed_flag) |
bool | getExecutedOnceFlag() |
void | setTimeoutSec(double timeout_sec) |
double | getTimeoutSec() |
Protected Attributes inherited from mcx::state_machine::Event< STATE >
Name | |
---|---|
bool | onceExecutedFlag_ |
double | timeoutSec_ |
Signature | termFunc_ |
Detailed Description
template <class STATE ,
class P1 >
class mcx::state_machine::_Event1;
Public Functions Documentation
function _Event1
inline _Event1(
Signature event_func,
const typename DR< P1 >::T & param1
)
function dispatchEvent
inline virtual EventStatus dispatchEvent(
STATE * state
)
Reimplements: mcx::state_machine::Event::dispatchEvent
function compare
inline virtual bool compare(
const Event< STATE > * cmp
)
Reimplements: mcx::state_machine::Event::compare
Protected Attributes Documentation
variable eventFunc_
Signature eventFunc_;
variable param1_
const DR< P1 >::T param1_;
Updated on 2022-04-05 at 16:21:27 +0200