Go to the source code of this file.
Classes | |
struct | QS_TProbe |
Namespaces | |
namespace | QP |
QP/C++ framework. | |
namespace | QP::QS |
QP/Spy software tracing (target-resident components) | |
Macros | |
#define | QS_INIT(arg_) (true) |
#define | QS_EXIT() static_cast<void>(0) |
#define | QS_DUMP() static_cast<void>(0) |
#define | QS_GLB_FILTER(rec_) static_cast<void>(0) |
#define | QS_LOC_FILTER(qsId_) static_cast<void>(0) |
#define | QS_BEGIN_ID(rec_, qsId_) if (false) { |
#define | QS_END() } |
#define | QS_BEGIN_INCRIT(rec_, qsId_) if (false) { |
#define | QS_END_INCRIT() } |
#define | QS_I8(width_, data_) static_cast<void>(0) |
#define | QS_U8(width_, data_) static_cast<void>(0) |
#define | QS_I16(width_, data_) static_cast<void>(0) |
#define | QS_U16(width_, data_) static_cast<void>(0) |
#define | QS_I32(width_, data_) static_cast<void>(0) |
#define | QS_U32(width_, data_) static_cast<void>(0) |
#define | QS_F32(width_, data_) static_cast<void>(0) |
#define | QS_F64(width_, data_) static_cast<void>(0) |
#define | QS_I64(width_, data_) static_cast<void>(0) |
#define | QS_U64(width_, data_) static_cast<void>(0) |
#define | QS_ENUM(group_, value_) static_cast<void>(0) |
#define | QS_STR(str_) static_cast<void>(0) |
#define | QS_MEM(mem_, size_) static_cast<void>(0) |
#define | QS_SIG(sig_, obj_) static_cast<void>(0) |
#define | QS_OBJ(obj_) static_cast<void>(0) |
#define | QS_FUN(fun_) static_cast<void>(0) |
#define | QS_SIG_DICTIONARY(sig_, obj_) static_cast<void>(0) |
#define | QS_OBJ_DICTIONARY(obj_) static_cast<void>(0) |
#define | QS_OBJ_ARR_DICTIONARY(obj_, idx_) static_cast<void>(0) |
#define | QS_FUN_DICTIONARY(fun_) static_cast<void>(0) |
#define | QS_USR_DICTIONARY(rec_) static_cast<void>(0) |
#define | QS_ENUM_DICTIONARY(value_, group_) static_cast<void>(0) |
#define | QS_ASSERTION(module_, loc_, delay_) static_cast<void>(0) |
#define | QS_FLUSH() static_cast<void>(0) |
#define | QS_TEST_PROBE_DEF(fun_) |
#define | QS_TEST_PROBE(code_) |
#define | QS_TEST_PROBE_ID(id_, code_) |
#define | QS_TEST_PAUSE() static_cast<void>(0) |
#define | QS_OUTPUT() static_cast<void>(0) |
#define | QS_RX_INPUT() static_cast<void>(0) |
#define | QS_ONLY(code_) static_cast<void>(0) |
#define | QS_BEGIN_PRE(rec_, qsId_) if (false) { |
#define | QS_END_PRE() } |
#define | QS_U8_PRE(data_) static_cast<void>(0) |
#define | QS_2U8_PRE(data1_, data2_) static_cast<void>(0) |
#define | QS_U16_PRE(data_) static_cast<void>(0) |
#define | QS_U32_PRE(data_) static_cast<void>(0) |
#define | QS_TIME_PRE() static_cast<void>(0) |
#define | QS_SIG_PRE(sig_) static_cast<void>(0) |
#define | QS_EVS_PRE(size_) static_cast<void>(0) |
#define | QS_OBJ_PRE(obj_) static_cast<void>(0) |
#define | QS_FUN_PRE(fun_) static_cast<void>(0) |
#define | QS_EQC_PRE(ctr_) static_cast<void>(0) |
#define | QS_MPC_PRE(ctr_) static_cast<void>(0) |
#define | QS_MPS_PRE(size_) static_cast<void>(0) |
#define | QS_TEC_PRE(ctr_) static_cast<void>(0) |
#define | QS_CRIT_STAT |
#define | QS_CRIT_ENTRY() static_cast<void>(0) |
#define | QS_CRIT_EXIT() static_cast<void>(0) |
#define | QS_MEM_SYS() static_cast<void>(0) |
#define | QS_MEM_APP() static_cast<void>(0) |
#define | QS_TR_CRIT_ENTRY() static_cast<void>(0) |
#define | QS_TR_CRIT_EXIT() static_cast<void>(0) |
#define | QS_TR_ISR_ENTRY(isrnest_, prio_) static_cast<void>(0) |
#define | QS_TR_ISR_EXIT(isrnest_, prio_) static_cast<void>(0) |
Typedefs | |
using | QP::QS::QSTimeCtr = std::uint32_t |
Functions | |
void | QP::QS::initBuf (std::uint8_t *const sto, std::uint_fast32_t const stoSize) noexcept |
std::uint16_t | QP::QS::getByte () noexcept |
std::uint8_t const * | QP::QS::getBlock (std::uint16_t *const pNbytes) noexcept |
void | QP::QS::doOutput () |
bool | QP::QS::onStartup (void const *arg) |
void | QP::QS::onCleanup () |
void | QP::QS::onFlush () |
QSTimeCtr | QP::QS::onGetTime () |
void | QP::QS::rxInitBuf (std::uint8_t *const sto, std::uint16_t const stoSize) noexcept |
bool | QP::QS::rxPut (std::uint8_t const b) noexcept |
void | QP::QS::rxParse () |
void | QS_onTestSetup (void) |
void | QS_onTestTeardown (void) |
void | QS_onTestEvt (QEvt *e) |
void | QS_onTestPost (void const *sender, QActive *recipient, QEvt const *e, bool status) |
void | QS_onTestLoop (void) |
#define QS_INIT | ( | arg_ | ) | (true) |
Definition at line 41 of file qs_dummy.hpp.
#define QS_EXIT | ( | ) | static_cast<void>(0) |
Definition at line 42 of file qs_dummy.hpp.
#define QS_DUMP | ( | ) | static_cast<void>(0) |
Definition at line 43 of file qs_dummy.hpp.
#define QS_GLB_FILTER | ( | rec_ | ) | static_cast<void>(0) |
Definition at line 44 of file qs_dummy.hpp.
#define QS_LOC_FILTER | ( | qsId_ | ) | static_cast<void>(0) |
Definition at line 45 of file qs_dummy.hpp.
#define QS_BEGIN_ID | ( | rec_, | |
qsId_ ) if (false) { |
Definition at line 47 of file qs_dummy.hpp.
#define QS_END | ( | ) | } |
Definition at line 48 of file qs_dummy.hpp.
#define QS_BEGIN_INCRIT | ( | rec_, | |
qsId_ ) if (false) { |
Definition at line 49 of file qs_dummy.hpp.
#define QS_END_INCRIT | ( | ) | } |
Definition at line 50 of file qs_dummy.hpp.
#define QS_I8 | ( | width_, | |
data_ ) static_cast<void>(0) |
Definition at line 52 of file qs_dummy.hpp.
#define QS_U8 | ( | width_, | |
data_ ) static_cast<void>(0) |
Definition at line 53 of file qs_dummy.hpp.
#define QS_I16 | ( | width_, | |
data_ ) static_cast<void>(0) |
Definition at line 54 of file qs_dummy.hpp.
#define QS_U16 | ( | width_, | |
data_ ) static_cast<void>(0) |
Definition at line 55 of file qs_dummy.hpp.
#define QS_I32 | ( | width_, | |
data_ ) static_cast<void>(0) |
Definition at line 56 of file qs_dummy.hpp.
#define QS_U32 | ( | width_, | |
data_ ) static_cast<void>(0) |
Definition at line 57 of file qs_dummy.hpp.
#define QS_F32 | ( | width_, | |
data_ ) static_cast<void>(0) |
Definition at line 58 of file qs_dummy.hpp.
#define QS_F64 | ( | width_, | |
data_ ) static_cast<void>(0) |
Definition at line 59 of file qs_dummy.hpp.
#define QS_I64 | ( | width_, | |
data_ ) static_cast<void>(0) |
Definition at line 60 of file qs_dummy.hpp.
#define QS_U64 | ( | width_, | |
data_ ) static_cast<void>(0) |
Definition at line 61 of file qs_dummy.hpp.
#define QS_ENUM | ( | group_, | |
value_ ) static_cast<void>(0) |
Definition at line 62 of file qs_dummy.hpp.
#define QS_STR | ( | str_ | ) | static_cast<void>(0) |
Definition at line 63 of file qs_dummy.hpp.
#define QS_MEM | ( | mem_, | |
size_ ) static_cast<void>(0) |
Definition at line 64 of file qs_dummy.hpp.
#define QS_SIG | ( | sig_, | |
obj_ ) static_cast<void>(0) |
Definition at line 65 of file qs_dummy.hpp.
#define QS_OBJ | ( | obj_ | ) | static_cast<void>(0) |
Definition at line 66 of file qs_dummy.hpp.
#define QS_FUN | ( | fun_ | ) | static_cast<void>(0) |
Definition at line 67 of file qs_dummy.hpp.
#define QS_SIG_DICTIONARY | ( | sig_, | |
obj_ ) static_cast<void>(0) |
Definition at line 69 of file qs_dummy.hpp.
#define QS_OBJ_DICTIONARY | ( | obj_ | ) | static_cast<void>(0) |
Definition at line 70 of file qs_dummy.hpp.
#define QS_OBJ_ARR_DICTIONARY | ( | obj_, | |
idx_ ) static_cast<void>(0) |
Definition at line 71 of file qs_dummy.hpp.
#define QS_FUN_DICTIONARY | ( | fun_ | ) | static_cast<void>(0) |
Definition at line 72 of file qs_dummy.hpp.
#define QS_USR_DICTIONARY | ( | rec_ | ) | static_cast<void>(0) |
Definition at line 73 of file qs_dummy.hpp.
#define QS_ENUM_DICTIONARY | ( | value_, | |
group_ ) static_cast<void>(0) |
Definition at line 74 of file qs_dummy.hpp.
#define QS_ASSERTION | ( | module_, | |
loc_, | |||
delay_ ) static_cast<void>(0) |
Definition at line 75 of file qs_dummy.hpp.
#define QS_FLUSH | ( | ) | static_cast<void>(0) |
Definition at line 76 of file qs_dummy.hpp.
#define QS_TEST_PROBE_DEF | ( | fun_ | ) |
QS macro to define the Test-Probe for a given fun_
Backward Traceability
Definition at line 78 of file qs_dummy.hpp.
#define QS_TEST_PROBE | ( | code_ | ) |
Definition at line 79 of file qs_dummy.hpp.
#define QS_TEST_PROBE_ID | ( | id_, | |
code_ ) |
QS_TEST_PROBE QS macro to apply a Test-Probe
Backward Traceability
QS macro to apply a Test-Probe
Definition at line 80 of file qs_dummy.hpp.
#define QS_TEST_PAUSE | ( | ) | static_cast<void>(0) |
QS macro to pause test execution and enter the test event-loop
Definition at line 81 of file qs_dummy.hpp.
#define QS_OUTPUT | ( | ) | static_cast<void>(0) |
Definition at line 83 of file qs_dummy.hpp.
#define QS_RX_INPUT | ( | ) | static_cast<void>(0) |
Definition at line 84 of file qs_dummy.hpp.
#define QS_ONLY | ( | code_ | ) | static_cast<void>(0) |
Definition at line 85 of file qs_dummy.hpp.
#define QS_BEGIN_PRE | ( | rec_, | |
qsId_ ) if (false) { |
Definition at line 149 of file qs_dummy.hpp.
#define QS_END_PRE | ( | ) | } |
Definition at line 150 of file qs_dummy.hpp.
#define QS_U8_PRE | ( | data_ | ) | static_cast<void>(0) |
Definition at line 151 of file qs_dummy.hpp.
#define QS_2U8_PRE | ( | data1_, | |
data2_ ) static_cast<void>(0) |
Definition at line 152 of file qs_dummy.hpp.
#define QS_U16_PRE | ( | data_ | ) | static_cast<void>(0) |
Definition at line 153 of file qs_dummy.hpp.
#define QS_U32_PRE | ( | data_ | ) | static_cast<void>(0) |
Definition at line 154 of file qs_dummy.hpp.
#define QS_TIME_PRE | ( | ) | static_cast<void>(0) |
Definition at line 155 of file qs_dummy.hpp.
#define QS_SIG_PRE | ( | sig_ | ) | static_cast<void>(0) |
Definition at line 156 of file qs_dummy.hpp.
#define QS_EVS_PRE | ( | size_ | ) | static_cast<void>(0) |
Definition at line 157 of file qs_dummy.hpp.
#define QS_OBJ_PRE | ( | obj_ | ) | static_cast<void>(0) |
Definition at line 158 of file qs_dummy.hpp.
#define QS_FUN_PRE | ( | fun_ | ) | static_cast<void>(0) |
Definition at line 159 of file qs_dummy.hpp.
#define QS_EQC_PRE | ( | ctr_ | ) | static_cast<void>(0) |
Definition at line 160 of file qs_dummy.hpp.
#define QS_MPC_PRE | ( | ctr_ | ) | static_cast<void>(0) |
Definition at line 161 of file qs_dummy.hpp.
#define QS_MPS_PRE | ( | size_ | ) | static_cast<void>(0) |
Definition at line 162 of file qs_dummy.hpp.
#define QS_TEC_PRE | ( | ctr_ | ) | static_cast<void>(0) |
Definition at line 163 of file qs_dummy.hpp.
#define QS_CRIT_STAT |
Internal QS macro for defining the critical section status
Definition at line 165 of file qs_dummy.hpp.
#define QS_CRIT_ENTRY | ( | ) | static_cast<void>(0) |
Internal macro for entering a critical section
Definition at line 166 of file qs_dummy.hpp.
#define QS_CRIT_EXIT | ( | ) | static_cast<void>(0) |
Internal macro for exiting a critical section
Definition at line 167 of file qs_dummy.hpp.
#define QS_MEM_SYS | ( | ) | static_cast<void>(0) |
Internal macro for configuring MPU for System access
Definition at line 169 of file qs_dummy.hpp.
#define QS_MEM_APP | ( | ) | static_cast<void>(0) |
Internal macro for configuring MPU for Application access
Definition at line 170 of file qs_dummy.hpp.
#define QS_TR_CRIT_ENTRY | ( | ) | static_cast<void>(0) |
Definition at line 172 of file qs_dummy.hpp.
#define QS_TR_CRIT_EXIT | ( | ) | static_cast<void>(0) |
Definition at line 173 of file qs_dummy.hpp.
#define QS_TR_ISR_ENTRY | ( | isrnest_, | |
prio_ ) static_cast<void>(0) |
Definition at line 174 of file qs_dummy.hpp.
#define QS_TR_ISR_EXIT | ( | isrnest_, | |
prio_ ) static_cast<void>(0) |
Definition at line 175 of file qs_dummy.hpp.
void QS_onTestSetup | ( | void | ) |
void QS_onTestTeardown | ( | void | ) |
void QS_onTestEvt | ( | QEvt * | e | ) |
void QS_onTestPost | ( | void const * | sender, |
QActive * | recipient, | ||
QEvt const * | e, | ||
bool | status ) |
void QS_onTestLoop | ( | void | ) |