#include <qf.h>
Protected Member Functions | |
void | QMActive_ctor (QMActive *const me, QStateHandler initial) |
![]() | |
void | QActive_ctor (QActive *const me, QStateHandler initial) |
void | QActive_stop (QActive *const me) |
void | QActive_subscribe (QActive const *const me, enum_t const sig) |
void | QActive_unsubscribe (QActive const *const me, enum_t const sig) |
void | QActive_unsubscribeAll (QActive const *const me) |
bool | QActive_defer (QActive const *const me, QEQueue *const eq, QEvt const *const e) |
bool | QActive_recall (QActive *const me, QEQueue *const eq) |
uint_fast16_t | QActive_flushDeferred (QActive const *const me, QEQueue *const eq) |
void | QActive_setAttr (QActive *const me, uint32_t attr1, void const *attr2) |
![]() | |
void | QHsm_ctor (QHsm *const me, QStateHandler initial) |
QState | QHsm_top (void const *const me, QEvt const *const e) |
Protected Attributes | |
QActive | super |
![]() | |
QHsm | super |
Additional Inherited Members | |
![]() | |
QStateHandler | QHsm_childState (QHsm *const me, QStateHandler const parent) |
bool | QHsm_isIn (QHsm *const me, QStateHandler const state) |
![]() | |
static QStateHandler | QHsm_state (QHsm *const me) |
QMActive active object base class (based on QMsm implementation)
QMActive represents an active object that uses the QMsm style state machine implementation strategy. This strategy requires the use of the QM modeling tool to generate state machine code automatically, but the code is faster than in the QHsm style implementation strategy and needs less run-time support (smaller event-processor).
super
is defined as the first member of the derived struct (see oop).
|
protected |
protected "constructor" of an QMActive active object.
Performs the first step of active object initialization by assigning the virtual pointer and calling the superclass constructor.
[in,out] | me | pointer (see oop) |
[in] | initial | pointer to the event to be dispatched to the MSM |
Definition at line 66 of file qf_qmact.c.