QP/C++ 8.1.1
Real-Time Event Framework
Loading...
Searching...
No Matches
QP::QMState Struct Reference

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

#include <qp.hpp>

Public Attributes

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

Detailed Description

State object for the QP::QMsm class (QM State Machine).

Details
This class groups together the attributes of a QP::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 QP::QMsm::dispatch_() and QP::QMsm::init_() implementations.

Backward Traceability

  • SRS_QP_SM_21: QP Framework should provide a State Machine Implementation Strategy optimized for "automatic code generation"
    Attention
    The QP::QMState class is only intended for the QM code generator and should not be used in hand-crafted code.

Definition at line 142 of file qp.hpp.

Member Data Documentation

◆ superstate

QMState const* QP::QMState::superstate

Definition at line 143 of file qp.hpp.

◆ stateHandler

QStateHandler const QP::QMState::stateHandler

Definition at line 144 of file qp.hpp.

◆ entryAction

QActionHandler const QP::QMState::entryAction

Definition at line 145 of file qp.hpp.

◆ exitAction

QActionHandler const QP::QMState::exitAction

Definition at line 146 of file qp.hpp.

◆ initAction

QActionHandler const QP::QMState::initAction

Definition at line 147 of file qp.hpp.


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