Active object class (based on QMsm implementation strategy) More...
#include "qf.h"
Public Attributes | |
QActive | super |
![]() | |
QHsm | super |
Protected Member Functions | |
void | QMActive_ctor (QMActive *const me, QStateHandler const initial) |
![]() | |
void | QActive_ctor (QActive *const me, QStateHandler const initial) |
void | QActive_stop (QActive *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_register_ (QActive *const me) |
void | QActive_unregister_ (QActive *const me) |
![]() | |
void | QHsm_ctor (QHsm *const me, QStateHandler const initial) |
QState | QHsm_top (QHsm const *const me, QEvt const *const e) |
void | QHsm_init_ (QHsm *const me, void const *const e, uint_fast8_t const qs_id) |
void | QHsm_dispatch_ (QHsm *const me, QEvt const *const e, uint_fast8_t const qs_id) |
Additional Inherited Members | |
![]() | |
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) |
void | QActive_setAttr (QActive *const me, uint32_t attr1, void const *attr2) |
![]() | |
bool | QHsm_isIn (QHsm *const me, QStateHandler const state) |
QStateHandler | QHsm_childState (QHsm *const me, QStateHandler const parent) |
![]() | |
void | QActive_psInit (QSubscrList *const subscrSto, enum_t const maxSignal) |
![]() | |
static QStateHandler | QHsm_state (QHsm *const me) |
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 |
Constructor of QMActive class.
Performs the first step of active object initialization by assigning the virtual pointer and calling the superclass constructor.
[in,out] | me | current instance pointer (see oop) |
[in] | initial | pointer to the event to be dispatched to the MSM |
Definition at line 75 of file qf_qmact.c.