Internal (package scope) QS/C++ interface. More...
Go to the source code of this file.
Namespaces | |
QP | |
namespace associated with the QP/C++ framework | |
Macros | |
#define | QS_INSERT_BYTE_(b_) |
Internal QS macro to insert an un-escaped byte into the QS buffer. More... | |
#define | QS_INSERT_ESC_BYTE_(b_) |
Internal QS macro to insert an escaped byte into the QS buffer. More... | |
#define | QS_BEGIN_PRE_(rec_, qs_id_) |
Internal QS macro to begin a predefined QS record with critical section. More... | |
#define | QS_END_PRE_() |
Internal QS macro to end a predefined QS record with critical section. More... | |
#define | QS_BEGIN_NOCRIT_PRE_(rec_, qs_id_) |
Internal QS macro to begin a predefined QS record without critical section. More... | |
#define | QS_END_NOCRIT_PRE_() |
Internal QS macro to end a predefiend QS record without critical section. More... | |
#define | QS_U8_PRE_(data_) (QP::QS::u8_raw_(static_cast<std::uint8_t>(data_))) |
Internal QS macro to output an unformatted uint8_t data element. More... | |
#define | QS_2U8_PRE_(data1_, data2_) |
Internal QS macro to output 2 unformatted uint8_t data elements. More... | |
#define | QS_U16_PRE_(data_) (QP::QS::u16_raw_(static_cast<std::uint16_t>(data_))) |
Internal QS macro to output an unformatted uint16_t data element. More... | |
#define | QS_U32_PRE_(data_) (QP::QS::u32_raw_(static_cast<std::uint32_t>(data_))) |
Internal QS macro to output an unformatted uint32_t data element. More... | |
#define | QS_STR_PRE_(msg_) (QP::QS::str_raw_(msg_)) |
Internal QS macro to output a zero-terminated ASCII string data element. More... | |
#define | QS_OBJ_PRE_(obj_) (QP::QS::obj_raw_(obj_)) |
Internal QS macro to output object pointer data element. More... | |
#define | QS_FUN_PRE_(fun_) (QP::QS::u32_raw_(reinterpret_cast<std::uint32_t>(fun_))) |
Internal QS macro to output an unformatted function pointer data element. More... | |
#define | QS_EQC_PRE_(ctr_) QS::u8_raw_(static_cast<std::uint8_t>(ctr_)) |
Internal QS macro to output an unformatted event queue counter data element. More... | |
#define | QS_EVS_PRE_(size_) QS::u8_raw_(static_cast<std::uint8_t>(size_)) |
Internal QS macro to output an unformatted event size data element. More... | |
#define | QS_MPS_PRE_(size_) QS::u8_raw_(static_cast<std::uint8_t>(size_)) |
Internal QS macro to output an unformatted memory pool block-size data element. More... | |
#define | QS_MPC_PRE_(ctr_) QS::u8_raw_(static_cast<std::uint8_t>(ctr_)) |
Internal QS macro to output an unformatted memory pool block-counter data element. More... | |
#define | QS_TEC_PRE_(ctr_) QS::u8_raw_(static_cast<std::uint8_t>(ctr_)) |
Internal QS macro to output an unformatted time event tick-counter data element. More... | |
#define | QS_REC_NUM_(enum_) (static_cast<std::uint_fast8_t>(enum_)) |
Internal QS macro to cast enumerated QS record number to uint8_t. More... | |
Functions | |
void | QS_target_info_ (std::uint8_t const isReset) noexcept |
send the Target info (object sizes, build time-stamp, QP version) More... | |
Variables | |
constexpr std::uint8_t | QS_FRAME = 0x7EU |
Frame character of the QS output protocol. More... | |
constexpr std::uint8_t | QS_ESC = 0x7DU |
Escape character of the QS output protocol. More... | |
constexpr std::uint8_t | QS_ESC_XOR = 0x20U |
Escape modifier of the QS output protocol. More... | |
constexpr std::uint8_t | QS_GOOD_CHKSUM = 0xFFU |
Escape character of the QS output protocol. More... | |
Internal (package scope) QS/C++ interface.
Definition in file qs_pkg.hpp.
#define QS_INSERT_BYTE_ | ( | b_ | ) |
Internal QS macro to insert an un-escaped byte into the QS buffer.
Definition at line 43 of file qs_pkg.hpp.
#define QS_INSERT_ESC_BYTE_ | ( | b_ | ) |
Internal QS macro to insert an escaped byte into the QS buffer.
Definition at line 51 of file qs_pkg.hpp.
#define QS_BEGIN_PRE_ | ( | rec_, | |
qs_id_ | |||
) |
Internal QS macro to begin a predefined QS record with critical section.
Definition at line 71 of file qs_pkg.hpp.
#define QS_END_PRE_ | ( | ) |
Internal QS macro to end a predefined QS record with critical section.
Definition at line 82 of file qs_pkg.hpp.
#define QS_BEGIN_NOCRIT_PRE_ | ( | rec_, | |
qs_id_ | |||
) |
Internal QS macro to begin a predefined QS record without critical section.
Definition at line 92 of file qs_pkg.hpp.
#define QS_END_NOCRIT_PRE_ | ( | ) |
Internal QS macro to end a predefiend QS record without critical section.
Definition at line 100 of file qs_pkg.hpp.
#define QS_U8_PRE_ | ( | data_ | ) | (QP::QS::u8_raw_(static_cast<std::uint8_t>(data_))) |
Internal QS macro to output an unformatted uint8_t data element.
Definition at line 119 of file qs_pkg.hpp.
#define QS_2U8_PRE_ | ( | data1_, | |
data2_ | |||
) |
Internal QS macro to output 2 unformatted uint8_t data elements.
Definition at line 123 of file qs_pkg.hpp.
#define QS_U16_PRE_ | ( | data_ | ) | (QP::QS::u16_raw_(static_cast<std::uint16_t>(data_))) |
Internal QS macro to output an unformatted uint16_t data element.
Definition at line 128 of file qs_pkg.hpp.
#define QS_U32_PRE_ | ( | data_ | ) | (QP::QS::u32_raw_(static_cast<std::uint32_t>(data_))) |
Internal QS macro to output an unformatted uint32_t data element.
Definition at line 132 of file qs_pkg.hpp.
#define QS_STR_PRE_ | ( | msg_ | ) | (QP::QS::str_raw_(msg_)) |
Internal QS macro to output a zero-terminated ASCII string data element.
Definition at line 137 of file qs_pkg.hpp.
#define QS_OBJ_PRE_ | ( | obj_ | ) | (QP::QS::obj_raw_(obj_)) |
Internal QS macro to output object pointer data element.
Definition at line 140 of file qs_pkg.hpp.
#define QS_FUN_PRE_ | ( | fun_ | ) | (QP::QS::u32_raw_(reinterpret_cast<std::uint32_t>(fun_))) |
Internal QS macro to output an unformatted function pointer data element.
Definition at line 161 of file qs_pkg.hpp.
#define QS_EQC_PRE_ | ( | ctr_ | ) | QS::u8_raw_(static_cast<std::uint8_t>(ctr_)) |
Internal QS macro to output an unformatted event queue counter data element.
Definition at line 170 of file qs_pkg.hpp.
#define QS_EVS_PRE_ | ( | size_ | ) | QS::u8_raw_(static_cast<std::uint8_t>(size_)) |
Internal QS macro to output an unformatted event size data element.
Definition at line 188 of file qs_pkg.hpp.
#define QS_MPS_PRE_ | ( | size_ | ) | QS::u8_raw_(static_cast<std::uint8_t>(size_)) |
Internal QS macro to output an unformatted memory pool block-size data element.
Definition at line 204 of file qs_pkg.hpp.
#define QS_MPC_PRE_ | ( | ctr_ | ) | QS::u8_raw_(static_cast<std::uint8_t>(ctr_)) |
Internal QS macro to output an unformatted memory pool block-counter data element.
Definition at line 219 of file qs_pkg.hpp.
#define QS_TEC_PRE_ | ( | ctr_ | ) | QS::u8_raw_(static_cast<std::uint8_t>(ctr_)) |
Internal QS macro to output an unformatted time event tick-counter data element.
Definition at line 235 of file qs_pkg.hpp.
#define QS_REC_NUM_ | ( | enum_ | ) | (static_cast<std::uint_fast8_t>(enum_)) |
Internal QS macro to cast enumerated QS record number to uint8_t.
Definition at line 250 of file qs_pkg.hpp.