mcx::state_machine::_Event3

mcx::state_machine::_Event3

More…

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

Public Functions

Name
_Event3(Signature event_func, const typename DR< P1 >::T & param1, const typename DR< P2 >::T & param2, const typename DR< P3 >::T & param3)
virtual EventStatus dispatchEvent(STATE * state)
virtual bool compare(const Event< STATE > * cmp)

Protected Attributes

Name
Signature eventFunc_
const DR< P1 >::T param1_
const DR< P2 >::T param2_
const DR< P3 >::T param3_

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 P2 ,
class P3 >
class mcx::state_machine::_Event3;

Public Functions Documentation

function _Event3

inline _Event3(
    Signature event_func,
    const typename DR< P1 >::T & param1,
    const typename DR< P2 >::T & param2,
    const typename DR< P3 >::T & param3
)

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

variable param2_

const DR< P2 >::T param2_;

variable param3_

const DR< P3 >::T param3_;

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