QP/C  8.0.0
Real-Time Embedded Framework
Loading...
Searching...
No Matches
QMState Struct Reference

State object for the QMsm class (QM State Machine) More...

#include "qp.h"

Private Attributes

struct QMState const * superstate
 
QStateHandler const stateHandler
 
QActionHandler const entryAction
 
QActionHandler const exitAction
 
QActionHandler const initAction
 

Detailed Description

State object for the QMsm class (QM State Machine)

Details
This class groups together the attributes of a QMsm state, such as the parent state (state nesting), the associated state handler function and the exit action handler function. These attributes are used inside the QMsm::QMsm_dispatch_() and QMsm::QMsm_init_() implementations.
Backward Traceability
  • SRS_QP_SM_21 : QP/C Framework should provide a State Machine Implementation Strategy optimized for "automatic code generation"
Attention
The QMState class is only intended for the QM code generator and should not be used in hand-crafted code.

Definition at line 228 of file qp.h.

Member Data Documentation

◆ superstate

struct QMState const* superstate
private

Definition at line 229 of file qp.h.

◆ stateHandler

QStateHandler const stateHandler
private

Definition at line 230 of file qp.h.

◆ entryAction

QActionHandler const entryAction
private

Definition at line 231 of file qp.h.

◆ exitAction

QActionHandler const exitAction
private

Definition at line 232 of file qp.h.

◆ initAction

QActionHandler const initAction
private

Definition at line 233 of file qp.h.


The documentation for this struct was generated from the following file: