173 QP::QTimeEvt::disarm,
186 QP::QTicker::postLIFO_)
206 QP::QF::timeEvtHead_)
#define QF_EPOOL_PUT_(p_, e_, qs_id_)
Platform-dependent macro defining how QF should return an event e_ to the event pool p_.
#define QF_EPOOL_GET_(p_, e_, m_, qs_id_)
Platform-dependent macro defining how QF should obtain an event e_ from the event pool p_.
#define QF_EPOOL_EVENT_SIZE_(p_)
Platform-dependent macro defining how QF should obtain the event pool block-size.
#define QACTIVE_EQUEUE_SIGNAL_(me_)
Platform-dependent macro defining how QF should signal the active object task that an event has just ...
#define QACTIVE_EQUEUE_WAIT_(me_)
Platform-dependent macro defining how QF should block the calling task when the QF native queue is em...
#define QF_EPOOL_INIT_(p_, poolSto_, poolSize_, evtSize_)
Platform-dependent macro defining the event pool initialization.
namespace associated with the QP/C++ framework
void QS_target_info_(std::uint8_t const isReset) noexcept
send the Target info (object sizes, build time-stamp, QP version)
void QF_EVT_REF_CTR_INC_(QEvt const *const e) noexcept
increment the refCtr_ of an event e
static QXKIdleThread l_idleThread
QF_EPOOL_TYPE_ QF_pool_[QF_MAX_EPOOL]
allocate event pools
void QF_EVT_REF_CTR_DEC_(QEvt const *const e) noexcept
decrement the refCtr_ of an event e
#define Q_STATE_CAST(handler_)
Macro to perform casting to QStateHandler.
#define QEP_ENTER_(state_)
helper macro to trigger entry action in an HSM
#define QEP_EXIT_(state_)
helper macro to trigger exit action in an HSM
#define QEP_TRIG_(state_, sig_)
helper macro to trigger internal event in an HSM
#define QEP_ACT_PTR_INC_(act_)
Internal macro to increment the given action table act_.
std::uint_fast8_t QF_LOG2(QP::QPSetBits x) noexcept
function that returns (log2(x) + 1), where x is a 32-bit bitmask
#define QF_CRIT_STAT_
This is an internal macro for defining the critical section status type.
#define QF_PTR_AT_(base_, i_)
access element at index i_ from the base pointer base_
#define Q_ASSERT_CRIT_(id_, test_)
#define QF_EVT_CONST_CAST_(e_)
helper macro to cast const away from an event pointer e_
#define QF_CRIT_X_()
This is an internal macro for exiting a critical section.
#define QF_PTR_RANGE_(x_, min_, max_)
macro to test that a pointer x_ is in range between min_ and max_
#define Q_REQUIRE_CRIT_(id_, test_)
#define QF_CRIT_E_()
This is an internal macro for entering a critical section.
#define Q_ERROR_CRIT_(id_)
#define QF_QMACTIVE_TO_QMSM_CONST_CAST_(qact_)
Internal macro to cast a QP::QMActive pointer qact_ to QP::QMsm const *.
#define QF_QMACTIVE_TO_QMSM_CAST_(qact_)
Internal macro to cast a QP::QMActive pointer qact_ to QP::QMsm*.
#define QK_ISR_CONTEXT_()
Internal port-specific macro that reports the execution context.
#define QF_SCHED_LOCK_(prio_)
Internal macro for selective scheduler locking.
#define QF_SCHED_UNLOCK_()
Internal macro for selective scheduler unlocking.
#define QF_SCHED_STAT_
Internal macro to represent the scheduler lock status.
#define QK_ISR_EXIT()
Define the ISR exit sequence, if the compiler supports writing interrupts in C++.
#define QK_ISR_ENTRY()
Define the ISR entry sequence, if the compiler supports writing interrupts in C++.
#define QF_MPOOL_EL(type_)
Memory pool element to allocate correctly aligned storage for QP::QMPool.
#define QS_CRIT_STAT_
This is an internal macro for defining the critical section status type.
#define QS_CRIT_X_()
This is an internal macro for exiting a critical section.
#define QS_CRIT_E_()
This is an internal macro for entering a critical section.
#define QS_TEST_PROBE(code_)
QS macro to apply a Test-Probe.
#define QS_TEST_PROBE_ID(id_, code_)
QS macro to apply a Test-Probe.
#define QS_BEGIN_PRE_(rec_, qs_id_)
#define QS_BEGIN_NOCRIT_PRE_(rec_, qs_id_)
#define QS_OBJ_PRE_(obj_)
#define QS_FUN_PRE_(fun_)
#define QS_INSERT_ESC_BYTE_(b_)
Internal QS macro to insert an escaped byte into the QS buffer.
#define QS_REC_NUM_(enum_)
Internal QS macro to cast enumerated QS record number to uint8_t.
#define QS_INSERT_BYTE_(b_)
Internal QS macro to insert an un-escaped byte into the QS buffer.
#define QV_CPU_SLEEP()
Macro to put the CPU to sleep safely in the cooperative.
#define QXK_ISR_CONTEXT_()
Internal port-specific macro that reports the execution context.
#define QXK_PTR_CAST_(type_, ptr_)
intertnal macro to encapsulate casting of pointers for MISRA deviations
#define QXK_CONTEXT_SWITCH_()
trigger context switch (used internally in QXK only)
#define QXTHREAD_CAST_(ptr_)
intertnal macro to encapsulate casting of pointers for MISRA deviations */