37 #include "qs_dummy.hpp"
60 std::uint_fast8_t
const qsId)
68 std::uint_fast8_t
const qsId)
81 return reinterpret_cast<QMsm const *
>(
this)
QActive(QStateHandler const initial) noexcept
QActive constructor (abstract base class).
QAsmAttr m_temp
Temporary storage for target/act-table etc.
QAsmAttr m_state
Current state (pointer to the current state-handler function).
QStateHandler getStateHandler() const noexcept override
Virtual method for getting the current state handler.
bool isIn(QStateHandler const stateHndl) noexcept override
Virtual function to check whether the state machine is in a given state.
void dispatch(QEvt const *const e, std::uint_fast8_t const qsId) override
Virtual function to dispatch an event to the state machine.
QMState const * childStateObj(QMState const *const parent) const noexcept
Hierarchical State Machine class (QMsm-style state machine implementation strategy).
QMState const * childStateObj(QMState const *const parentHndl) const noexcept
Obtain the current active child state of a given parent in QP::QMsm.
static QMState const * topQMState() noexcept
void dispatch(QEvt const *const e, std::uint_fast8_t const qsId) override
Virtual function to dispatch an event to the state machine.
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.
bool isIn(QStateHandler const stateHndl) noexcept override
Tests if a given state is part of the current active state configuration.
QStateHandler getStateHandler() const noexcept override
Obtain the current active state from a MSM (read only).
QP/C++ Framework namespace.
QState(*)(void *const me, QEvt const *const e) QStateHandler
Pointer to a state-handler function.
QP Framework in C++ internal (package-scope) interface
QS (QP/Spy software tracing) internal (package-scope) interface.
QP Functional Safety (FuSa) Subsystem.
State object for the QP::QMsm class (QM State Machine).