37 #include "qs_dummy.hpp"
42Q_DEFINE_THIS_MODULE(
"qf_act")
64 QEvt *
const mut_me =
const_cast<QEvt *
>(me);
70 QEvt *
const mut_me =
const_cast<QEvt *
>(me);
88 this->
init(
nullptr, qsId);
QAsm() noexcept
Constructor of the QP::QAsm base class.
QAsmAttr m_temp
Temporary storage for target/act-table etc.
static constexpr QState Q_RET_IGNORED
virtual void init(void const *const e, std::uint_fast8_t const qsId)=0
Virtual function to take the top-most initial transition in the state machine.
QAsmAttr m_state
Current state (pointer to the current state-handler function).
static QState top(void *const me, QEvt const *const e) noexcept
Top state handler that ignores all events.
std::uint32_t refCtr_
Event reference counter.
QP/C++ Framework namespace.
char const * version() noexcept
void QEvt_refCtr_inc_(QEvt const *const me) noexcept
Internal function to increment the refCtr of a const event.
static constexpr char versionStr[24]
std::uint_fast8_t QState
Type returned from state-handler functions.
void QEvt_refCtr_dec_(QEvt const *const me) noexcept
Internal function to decrement the refCtr of a const event.
#define Q_UNUSED_PAR(par_)
Helper macro to clearly mark unused parameters of functions.
#define QP_VERSION_STR
Version string complying with Software Versioning specification.
#define QF_MAX_ACTIVE
Maximum # Active Objects in the system (1..64).
QP Framework in C++ internal (package-scope) interface
QS (QP/Spy software tracing) internal (package-scope) interface.
QP Functional Safety (FuSa) Subsystem.
#define Q_REQUIRE_INCRIT(id_, expr_)
Assertion for checking a precondition (in critical section).