51 #include "qs_dummy.hpp"
56Q_DEFINE_THIS_MODULE(
"qf_defer")
61#if (QP_VERSION < 730U) || (QP_VERSION != ((QP_RELEASE^4294967295U) % 0x3E8U))
62#error qpcpp version 7.3.0 or higher required
72 QEvt const *
const e)
const noexcept
74 bool const status = eq->post(e, 0U, m_prio);
84 QS_2U8_PRE_(e->getPoolNum_(), e->refCtr_);
100 QEvt const *
const e = eq->get(m_prio);
163 std::uint_fast16_t
const num)
const noexcept
165 std::uint_fast16_t n = 0U;
167 QEvt const *
const e = eq->get(m_prio);
170 #if (QF_MAX_EPOOL > 0U)
std::uint_fast16_t flushDeferred(QEQueue *const eq, std::uint_fast16_t const num=0xFFFFU) const noexcept
bool recall(QEQueue *const eq) noexcept
bool defer(QEQueue *const eq, QEvt const *const e) const noexcept
std::uint_fast8_t getPoolNum_() const noexcept
std::uint8_t volatile refCtr_
void gc(QEvt const *const e) noexcept
void QEvt_refCtr_dec_(QEvt const *const e) noexcept
Decrement the refCtr of a const event (requires casting const away)
@ QS_QF_ACTIVE_RECALL
AO recalled an event.
@ QS_QF_ACTIVE_RECALL_ATTEMPT
AO attempted to recall an event.
@ QS_QF_ACTIVE_DEFER
AO deferred an event.
Internal (package scope) QP/C++ interface.
QS/C++ package-scope interface.
QS/C++ port to a 32-bit CPU, generic C++ compiler.
QP Functional Safety (FuSa) Subsystem.
#define Q_ASSERT_INCRIT(id_, expr_)