43 #define QF_EVT_CONST_CAST_(e_) const_cast<QEvt *>(e_)
46 #ifndef QF_CRIT_STAT_TYPE
66 #define QF_CRIT_E_() QF_CRIT_ENTRY(dummy)
77 #define QF_CRIT_X_() QF_CRIT_EXIT(dummy)
79 #elif (!defined QF_CRIT_STAT_)
80 #define QF_CRIT_STAT_ QF_CRIT_STAT_TYPE critStat_;
81 #define QF_CRIT_E_() QF_CRIT_ENTRY(critStat_)
82 #define QF_CRIT_X_() QF_CRIT_EXIT(critStat_)
88 #define Q_ASSERT_CRIT_(id_, test_) ((void)0)
89 #define Q_REQUIRE_CRIT_(id_, test_) ((void)0)
90 #define Q_ERROR_CRIT_(id_) ((void)0)
94 #define Q_ASSERT_CRIT_(id_, test_) do {\
95 if ((test_)) {} else { \
97 Q_onAssert(&Q_this_module_[0], static_cast<int_t>(id_)); \
101 #define Q_REQUIRE_CRIT_(id_, test_) Q_ASSERT_CRIT_((id_), (test_))
103 #define Q_ERROR_CRIT_(id_) do { \
105 Q_onAssert(&Q_this_module_[0], static_cast<int_t>(id_)); \
168 #define QF_PTR_RANGE_(x_, min_, max_) (((min_) <= (x_)) && ((x_) <= (max_)))
171 #define QF_PTR_AT_(base_, i_) (base_[i_])
unsigned char uint8_t
exact-width 8-bit unsigned int
unsigned int uint_fast8_t
fast at-least 8-bit unsigned int
#define QF_EPOOL_TYPE_
This macro defines the type of the event pool used in this QF port.
namespace associated with the QP/C++ framework
void QF_EVT_REF_CTR_INC_(QEvt const *const e) noexcept
increment the refCtr_ of an event e
constexpr std::uint8_t TE_WAS_DISARMED
enum_t QF_maxPubSignal_
the maximum published signal
constexpr std::uint8_t TE_TICK_RATE
constexpr std::uint8_t TE_IS_LINKED
std::uint_fast8_t QF_maxPool_
std::uint8_t QF_EVT_POOL_ID_(QEvt const *const e) noexcept
return the Pool-ID of an event e
QFreeBlock *volatile m_next
link to the next free block
QPSet QSubscrList
Subscriber List.
QF_EPOOL_TYPE_ QF_pool_[QF_MAX_EPOOL]
allocate event pools
QSubscrList * QF_subscrList_
the subscriber list array
void QF_EVT_REF_CTR_DEC_(QEvt const *const e) noexcept
decrement the refCtr_ of an event e
std::uint8_t QF_EVT_REF_CTR_(QEvt const *const e) noexcept
return the Reference Conter of an event e
Structure representing a free block in the Native QF Memory Pool.
int enum_t
alias for enumerations used for event signals
#define QF_EVT_CONST_CAST_(e_)
helper macro to cast const away from an event pointer e_
#define QF_MAX_EPOOL
The maximum number of event pools in the application.