mcx::state_machine::_Event0

mcx::state_machine::_Event0

More…

Inherits from mcx::state_machine::Event< STATE >

Public Functions

Name
_Event0(Signature event_func)
virtual ~_Event0() =default
virtual EventStatus dispatchEvent(STATE * state)
virtual bool compare(const Event< STATE > * cmp)

Protected Attributes

Name
Signature eventFunc_

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 mcx::state_machine::_Event0;

Public Functions Documentation

function _Event0

inline _Event0(
    Signature event_func
)

function ~_Event0

virtual ~_Event0() =default

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_;

Updated on 2022-04-05 at 16:21:27 +0200