QP/C interface including the backwards-compatibility layer. More...
Go to the source code of this file.
Macros | |
#define | QP_API_VERSION 0 |
#define | QM_SUPER_SUB(host_) error "submachines no longer supported" |
#define | QM_TRAN_EP(tatbl_) error "submachines no longer supported" |
#define | QM_TRAN_XP(xp_, tatbl_) error "submachines no longer supported" |
#define | QACTIVE_START(me_, prioSpec_, qSto_, qLen_, stkSto_, stkSize_, par_) |
#define | QXTHREAD_START(me_, prioSpec_, qSto_, qLen_, stkSto_, stkSize_, par_) |
#define | Q_onAssert(module_, id_) Q_onError(module_, id_) |
#define | Q_ALLEGE_ID(id_, expr_) |
#define | Q_ALLEGE(expr_) Q_ALLEGE_ID(__LINE__, (expr_)) |
#define | Q_ASSERT_COMPILE(expr_) Q_ASSERT_STATIC(expr_) |
#define | QHSM_INIT(me_, par_, qsId_) QASM_INIT((me_), (par_), (qsId_)) |
#define | QHSM_DISPATCH(me_, e_, qsId_) QASM_DISPATCH((me_), (e_), (qsId_)) |
#define | QHsm_isIn(me_, state_) QASM_IS_IN((QAsm *)(me_), (state_)) |
Typedefs | |
typedef char | char_t |
QP/C interface including the backwards-compatibility layer.
Definition in file qpc.h.
#define QM_SUPER_SUB | ( | host_ | ) | error "submachines no longer supported" |
#define QM_TRAN_EP | ( | tatbl_ | ) | error "submachines no longer supported" |
#define QM_TRAN_XP | ( | xp_, | |
tatbl_ ) error "submachines no longer supported" |
#define QACTIVE_START | ( | me_, | |
prioSpec_, | |||
qSto_, | |||
qLen_, | |||
stkSto_, | |||
stkSize_, | |||
par_ ) |
#define QXTHREAD_START | ( | me_, | |
prioSpec_, | |||
qSto_, | |||
qLen_, | |||
stkSto_, | |||
stkSize_, | |||
par_ ) |
#define Q_onAssert | ( | module_, | |
id_ ) Q_onError(module_, id_) |
#define Q_ALLEGE_ID | ( | id_, | |
expr_ ) |
expr_
expression. #define Q_ALLEGE | ( | expr_ | ) | Q_ALLEGE_ID(__LINE__, (expr_)) |
expr_
expression. Instead of ID number, this macro is based on the standard __LINE__
macro.#define Q_ASSERT_COMPILE | ( | expr_ | ) | Q_ASSERT_STATIC(expr_) |
Static (compile-time) assertion.
_Static_assert()
instead. #define QHSM_INIT | ( | me_, | |
par_, | |||
qsId_ ) QASM_INIT((me_), (par_), (qsId_)) |
#define QHSM_DISPATCH | ( | me_, | |
e_, | |||
qsId_ ) QASM_DISPATCH((me_), (e_), (qsId_)) |
#define QHsm_isIn | ( | me_, | |
state_ ) QASM_IS_IN((QAsm *)(me_), (state_)) |
typedef char char_t |