Internal (package scope) QF/C++ interface. More...

Go to the source code of this file.
Data Structures | |
| struct | QFreeBlock |
| Structure representing a free block in the Native QF Memory Pool. More... | |
Namespaces | |
| QP | |
| namespace associated with the QP/C++ framework | |
Macros | |
| #define | QF_EVT_CONST_CAST_(e_) const_cast<QEvt *>(e_) |
helper macro to cast const away from an event pointer e_ More... | |
| #define | QF_CRIT_STAT_ |
| This is an internal macro for defining the critical section status type. More... | |
| #define | QF_CRIT_E_() QF_CRIT_ENTRY(dummy) |
| This is an internal macro for entering a critical section. More... | |
| #define | QF_CRIT_X_() QF_CRIT_EXIT(dummy) |
| This is an internal macro for exiting a critical section. More... | |
| #define | Q_ASSERT_CRIT_(id_, test_) |
| #define | Q_REQUIRE_CRIT_(id_, test_) Q_ASSERT_CRIT_((id_), (test_)) |
| #define | Q_ERROR_CRIT_(id_) |
| #define | QF_PTR_RANGE_(x_, min_, max_) (((min_) <= (x_)) && ((x_) <= (max_))) |
macro to test that a pointer x_ is in range between min_ and max_ More... | |
| #define | QF_PTR_AT_(base_, i_) (base_[i_]) |
access element at index i_ from the base pointer base_ More... | |
Functions | |
| std::uint8_t | QF_EVT_POOL_ID_ (QEvt const *const e) noexcept |
return the Pool-ID of an event e More... | |
| std::uint8_t | QF_EVT_REF_CTR_ (QEvt const *const e) noexcept |
return the Reference Conter of an event e More... | |
| void | QF_EVT_REF_CTR_INC_ (QEvt const *const e) noexcept |
increment the refCtr_ of an event e More... | |
| void | QF_EVT_REF_CTR_DEC_ (QEvt const *const e) noexcept |
decrement the refCtr_ of an event e More... | |
Variables | |
| constexpr std::uint8_t | TE_IS_LINKED = 1U << 7U |
| constexpr std::uint8_t | TE_WAS_DISARMED = 1U << 6U |
| constexpr std::uint8_t | TE_TICK_RATE = 0x0FU |
Internal (package scope) QF/C++ interface.
Definition in file qf_pkg.hpp.
| struct QP::QFreeBlock |
Structure representing a free block in the Native QF Memory Pool.
Definition at line 122 of file qf_pkg.hpp.

| Data Fields | ||
|---|---|---|
| QFreeBlock *volatile | m_next | link to the next free block |
| #define QF_EVT_CONST_CAST_ | ( | e_ | ) | const_cast<QEvt *>(e_) |
helper macro to cast const away from an event pointer e_
Definition at line 43 of file qf_pkg.hpp.
| #define QF_CRIT_STAT_ |
This is an internal macro for defining the critical section status type.
Definition at line 56 of file qf_pkg.hpp.
| #define QF_CRIT_E_ | ( | ) | QF_CRIT_ENTRY(dummy) |
This is an internal macro for entering a critical section.
Definition at line 66 of file qf_pkg.hpp.
| #define QF_CRIT_X_ | ( | ) | QF_CRIT_EXIT(dummy) |
This is an internal macro for exiting a critical section.
Definition at line 77 of file qf_pkg.hpp.
| #define Q_ASSERT_CRIT_ | ( | id_, | |
| test_ | |||
| ) |
Definition at line 94 of file qf_pkg.hpp.
| #define Q_REQUIRE_CRIT_ | ( | id_, | |
| test_ | |||
| ) | Q_ASSERT_CRIT_((id_), (test_)) |
Definition at line 101 of file qf_pkg.hpp.
| #define Q_ERROR_CRIT_ | ( | id_ | ) |
Definition at line 103 of file qf_pkg.hpp.
| #define QF_PTR_RANGE_ | ( | x_, | |
| min_, | |||
| max_ | |||
| ) | (((min_) <= (x_)) && ((x_) <= (max_))) |
macro to test that a pointer x_ is in range between min_ and max_
Definition at line 168 of file qf_pkg.hpp.
| #define QF_PTR_AT_ | ( | base_, | |
| i_ | |||
| ) | (base_[i_]) |
access element at index i_ from the base pointer base_
Definition at line 171 of file qf_pkg.hpp.