48 #error "Source file included in a project NOT based on the QV kernel"
53Q_DEFINE_THIS_MODULE(
"qv")
58#if (QP_VERSION < 730U) || (QP_VERSION != ((QP_RELEASE^4294967295U)%0x2710U))
59#error qpcpp version 7.3.0 or higher required
84 static_cast<std::uint8_t
>(ceiling));
158 QS::beginRec_(QS_REC_NUM_(QS_QF_RUN));
173 #if (defined QF_ON_CONTEXT_SW) || (defined Q_SPY)
174 std::uint_fast8_t pprev = 0U;
176 #ifdef QF_ON_CONTEXT_SW
190 ==
static_cast<std::uint_fast8_t
>(~
QV::priv_.schedCeil_dis));
200 #if (defined QF_ON_CONTEXT_SW) || (defined Q_SPY)
204 static_cast<std::uint8_t
>(pprev));
207 #ifdef QF_ON_CONTEXT_SW
224 #if (QF_MAX_EPOOL > 0U)
238 #if (defined QF_ON_CONTEXT_SW) || (defined Q_SPY)
242 QS_U8_PRE(
static_cast<std::uint8_t
>(pprev));
245 #ifdef QF_ON_CONTEXT_SW
287 std::uint_fast16_t
const qLen,
289 std::uint_fast16_t
const stkSize,
290 void const *
const par)
300 m_prio =
static_cast<std::uint8_t
>(prioSpec & 0xFFU);
Active object class (based on the QHsm implementation strategy)
void start(QPrioSpec const prioSpec, QEvtPtr *const qSto, std::uint_fast16_t const qLen, void *const stkSto, std::uint_fast16_t const stkSize, void const *const par)
void init(void const *const e, std::uint_fast8_t const qsId) override
Virtual function to take the top-most initial transition in the state machine.
static QActive * registry_[QF_MAX_ACTIVE+1U]
void register_() noexcept
void dispatch(QEvt const *const e, std::uint_fast8_t const qsId) override
Virtual function to dispatch an event to the state machine.
QACTIVE_EQUEUE_TYPE m_eQueue
QEvt const * get_() noexcept
std::uint_fast8_t getPrio() const noexcept
QACTIVE_EQUEUE_TYPE const & getEQueue() const noexcept
std::uint_fast8_t findMax() const noexcept
void remove(std::uint_fast8_t const n) noexcept
bool notEmpty() const noexcept
void update_(QPSet *const dis) const noexcept
Private attributes of the QV kernel.
std::uint_fast8_t schedCeil
std::uint_fast8_t schedCeil_dis
QF Active Object Framework namespace.
void gc(QEvt const *const e) noexcept
Recycle a mutable (mutable) event.
void bzero_(void *const start, std::uint_fast16_t const len) noexcept
void schedDisable(std::uint_fast8_t const ceiling)
QEvt const * QEvtPtr
Pointer to const event instances passed around in QP Framework.
std::uint16_t QPrioSpec
Priority specification for Active Objects in QP.
int int_t
Alias for assertion-ID numbers in QP assertions and return from QP::QF::run()
#define Q_UNUSED_PAR(par_)
Helper macro to clearly mark unused parameters of functions.
void QF_onContextSw(QP::QActive *prev, QP::QActive *next)
Internal (package scope) QP/C++ interface.
#define QF_INT_DISABLE()
Disable interrupts.
#define QF_INT_ENABLE()
Enable interrupts.
#define QS_2U8_PRE(data1_, data2_)
#define QS_BEGIN_PRE(rec_, qsId_)
QS/C++ port to a 32-bit CPU, generic C++ compiler.
QP Functional Safety (FuSa) Subsystem.
#define Q_INVARIANT_INCRIT(id_, expr_)
#define Q_REQUIRE_INCRIT(id_, expr_)