QP/Spy software tracing (target-resident components) More...
Classes | |
class | Filter |
QS type for output filters (global and local) More... | |
struct | TProbe |
QUTest Test-Probe attributes. More... | |
Enumerations | |
enum | preType : std::uint8_t { I8_ENUM_T , U8_T , I16_T , U16_T , I32_T , U32_T , F32_T , F64_T , STR_T , MEM_T , SIG_T , OBJ_T , FUN_T , I64_T , U64_T } |
Enumerates data elements for app-specific trace records. More... | |
enum | QSpyObjKind : std::uint8_t { SM_OBJ , AO_OBJ , MP_OBJ , EQ_OBJ , TE_OBJ , AP_OBJ , MAX_OBJ } |
Kinds of objects used QS-RX. More... | |
enum | OSpyObjCombnation : std::uint8_t { SM_AO_OBJ = MAX_OBJ } |
Object combinations for QS-RX. More... | |
Functions | |
template<typename T_OUT , typename T_IN > | |
T_OUT | force_cast (T_IN in) |
void | initBuf (std::uint8_t *const sto, std::uint_fast32_t const stoSize) noexcept |
std::uint16_t | getByte () noexcept |
std::uint8_t const * | getBlock (std::uint16_t *const pNbytes) noexcept |
void | doOutput () |
bool | onStartup (void const *arg) |
void | onCleanup () |
void | onFlush () |
QSTimeCtr | onGetTime () |
void | onTestSetup () |
void | onTestTeardown () |
void | onTestEvt (QEvt *e) |
void | onTestPost (void const *sender, QActive *recipient, QEvt const *e, bool status) |
void | onTestLoop () |
void | rxInitBuf (std::uint8_t *const sto, std::uint16_t const stoSize) noexcept |
bool | rxPut (std::uint8_t const b) noexcept |
void | rxParse () |
void | setCurrObj (std::uint8_t const obj_kind, void *const obj_ptr) |
std::uint16_t | rxGetNfree () noexcept |
void | doInput () |
void | onReset () |
void | onCommand (std::uint8_t cmdId, std::uint32_t param1, std::uint32_t param2, std::uint32_t param3) |
void | processTestEvts_ () |
Variables | |
Filter | filt_ |
QP/Spy software tracing (target-resident components)
enum QP::QS::preType : std::uint8_t |
Enumerates data elements for app-specific trace records.
enum QP::QS::QSpyObjKind : std::uint8_t |
enum QP::QS::OSpyObjCombnation : std::uint8_t |
|
inline |
|
noexcept |
Initialize the QS-TX data buffer
[in] | sto | pointer to the storage for the transmit buffer |
[in] | stoSize | size in [bytes] of the storage buffer. Currently the size of the QS buffer cannot exceed 64KB. |
|
noexcept |
Byte-oriented interface to the QS-TX data buffer
|
noexcept |
Block-oriented interface to the QS-TX data buffer
pNbytes
. The argument pNbytes
is also used as input to provide the maximum size of the data block that the caller can accept.[in,out] | pNbytes | pointer to the number of bytes to send. On input, pNbytes specifies the maximum number of bytes that the function can provide. On output, pNbytes contains the actual number of bytes available. |
pNbytes
to the # available bytes. If data is available at the time the function is called, the function returns NULL pointer and sets the value pointed to by pNbytes
to zero.void QP::QS::doOutput | ( | ) |
bool QP::QS::onStartup | ( | void const * | arg | ) |
void QP::QS::onCleanup | ( | ) |
QP::QS::onFlush | ( | ) |
Flush the QS output buffer
QSTimeCtr QP::QS::onGetTime | ( | ) |
void QP::QS::onTestSetup | ( | ) |
void QP::QS::onTestTeardown | ( | ) |
void QP::QS::onTestEvt | ( | QEvt * | e | ) |
void QP::QS::onTestLoop | ( | ) |
|
noexcept |
Initialize the QS-RX data buffer
[in] | sto | pointer to the storage for the QS-RX receive buffer |
[in] | stoSize | size in [bytes] of the storage buffer |
|
inlinenoexcept |
Put a byte into the QS-RX (receive channel) input buffer
[in] | b | data byte to insert into the QS-RX receive buffer |
QP::QS::rxParse | ( | ) |
Parse and process QS-RX (receive channel) data bytes
QP::QS::setCurrObj | ( | std::uint8_t const | obj_kind, |
void *const | obj_ptr | ||
) |
Set the "current object" inside the Target
[in] | obj_kind | kind of "current object" to set. The possible values are:
|
[in] | obj_ptr | pointer to the object to set as "current" |
void QP::QS::doInput | ( | ) |
void QP::QS::onReset | ( | ) |
void QP::QS::onCommand | ( | std::uint8_t | cmdId, |
std::uint32_t | param1, | ||
std::uint32_t | param2, | ||
std::uint32_t | param3 | ||
) |
void QP::QS::processTestEvts_ | ( | ) |
Definition at line 163 of file qutest.cpp.