38 #include "qs_dummy.hpp"
42 #define QP_API_VERSION 0
48_Static_assert(Q_SIGNAL_SIZE == 2U,
49 "Q_SIGNAL_SIZE must be 2 bytes (16-bit signal space)");
53#if (QP_API_VERSION < 810)
88#if (QP_API_VERSION < 800)
91#define QM_SM_STATE_DECL(subm_, state_) error "submachines no longer supported"
94#define qm_super_sub(sm_state_) error "submachines no longer supported"
97#define qm_tran_ep(tatbl_) error "submachines no longer supported"
100#define qm_tran_xp(xp_, tatbl_) error "submachines no longer supported"
103#define qm_sm_exit(sm_state_) error "submachines no longer supported"
115#define Q_onAssert(module_, id_) Q_onError(module_, id_)
125 #define Q_ALLEGE_ID(id_, expr_) (static_cast<void>(expr_))
127#elif defined Q_UNSAFE
131 #define Q_ALLEGE_ID(id_, expr_) (static_cast<void>(expr_))
139 #define Q_ALLEGE_ID(id_, expr_) if (!(expr_)) { \
142 Q_onError(&Q_this_module_[0], (id_)); \
154#define Q_ALLEGE(expr_) Q_ALLEGE_ID(__LINE__, (expr_))
159#define Q_ASSERT_COMPILE(expr_) Q_ASSERT_STATIC(expr_)
QP/C++ Framework namespace.
constexpr std::int_fast16_t QS_GRP_SC
constexpr std::int_fast16_t QS_GRP_U4
constexpr std::int_fast16_t QS_GRP_QF
constexpr std::int_fast16_t QS_GRP_MP
constexpr std::int_fast16_t QS_GRP_SEM
constexpr std::int_fast16_t QS_GRP_UA
constexpr std::int_fast16_t QS_GRP_U3
constexpr std::int_fast16_t QS_GRP_TE
constexpr std::int_fast16_t QS_GRP_U0
constexpr std::int_fast16_t QS_GRP_EQ
constexpr std::int_fast16_t QS_GRP_U1
constexpr std::int_fast16_t QS_GRP_U2
constexpr std::int_fast16_t QS_GRP_ALL
constexpr std::int_fast16_t QS_GRP_SM
constexpr std::int_fast16_t QS_GRP_AO
constexpr std::int_fast16_t QS_GRP_MTX
QP Functional Safety (FuSa) Subsystem.