|
QP/C
|
Internal (package scope) QEP/C interface. More...
Go to the source code of this file.
Defines | |
| #define | QEP_TRIG_(state_, sig_) ((*(state_))(me, &QEP_reservedEvt_[(sig_)])) |
| #define | QEP_EXIT_(state_) |
| #define | QEP_ENTER_(state_) |
Enumerations | |
| enum | QEPConst { QEP_EMPTY_SIG_ = 0, QEP_MAX_NEST_DEPTH_ = 6 } |
Variables | |
| QEvt const | QEP_reservedEvt_ [4] |
Internal (package scope) QEP/C interface.
Definition in file qep_pkg.h.
| #define QEP_ENTER_ | ( | state_ | ) |
do { \ if (QEP_TRIG_((state_), Q_ENTRY_SIG) == Q_RET_HANDLED) { \ QS_BEGIN_(QS_QEP_STATE_ENTRY, QS_smObj_, me) \ QS_OBJ_(me); \ QS_FUN_(state_); \ QS_END_() \ } \ } while (0)
helper macro to trigger entry action in an HSM
Definition at line 73 of file qep_pkg.h.
Referenced by QFsm_dispatch(), QHsm_dispatch(), and QHsm_init().
| #define QEP_EXIT_ | ( | state_ | ) |
do { \ if (QEP_TRIG_((state_), Q_EXIT_SIG) == Q_RET_HANDLED) { \ QS_BEGIN_(QS_QEP_STATE_EXIT, QS_smObj_, me) \ QS_OBJ_(me); \ QS_FUN_(state_); \ QS_END_() \ } \ } while (0)
helper macro to trigger exit action in an HSM
Definition at line 63 of file qep_pkg.h.
Referenced by QFsm_dispatch(), and QHsm_dispatch().
| #define QEP_TRIG_ | ( | state_, | |
| sig_ | |||
| ) | ((*(state_))(me, &QEP_reservedEvt_[(sig_)])) |
helper macro to trigger reserved event in an HSM
Definition at line 59 of file qep_pkg.h.
Referenced by QFsm_init(), QHsm_dispatch(), QHsm_init(), and QHsm_isIn().
| enum QEPConst |
| QEvt const QEP_reservedEvt_[4] |
1.7.6.1