QP/C++  8.0.0
Real-Time Embedded Framework
Loading...
Searching...
No Matches
qs_dummy.hpp File Reference

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)
 

Macro Definition Documentation

◆ QS_INIT

#define QS_INIT ( arg_)    (true)

Definition at line 41 of file qs_dummy.hpp.

◆ QS_EXIT

#define QS_EXIT ( )    static_cast<void>(0)

Definition at line 42 of file qs_dummy.hpp.

◆ QS_DUMP

#define QS_DUMP ( )    static_cast<void>(0)

Definition at line 43 of file qs_dummy.hpp.

◆ QS_GLB_FILTER

#define QS_GLB_FILTER ( rec_)    static_cast<void>(0)

Definition at line 44 of file qs_dummy.hpp.

◆ QS_LOC_FILTER

#define QS_LOC_FILTER ( qsId_)    static_cast<void>(0)

Definition at line 45 of file qs_dummy.hpp.

◆ QS_BEGIN_ID

#define QS_BEGIN_ID ( rec_,
qsId_ )   if (false) {

Definition at line 47 of file qs_dummy.hpp.

◆ QS_END

#define QS_END ( )    }

Definition at line 48 of file qs_dummy.hpp.

◆ QS_BEGIN_INCRIT

#define QS_BEGIN_INCRIT ( rec_,
qsId_ )   if (false) {

Definition at line 49 of file qs_dummy.hpp.

◆ QS_END_INCRIT

#define QS_END_INCRIT ( )    }

Definition at line 50 of file qs_dummy.hpp.

◆ QS_I8

#define QS_I8 ( width_,
data_ )   static_cast<void>(0)

Definition at line 52 of file qs_dummy.hpp.

◆ QS_U8

#define QS_U8 ( width_,
data_ )   static_cast<void>(0)

Definition at line 53 of file qs_dummy.hpp.

◆ QS_I16

#define QS_I16 ( width_,
data_ )   static_cast<void>(0)

Definition at line 54 of file qs_dummy.hpp.

◆ QS_U16

#define QS_U16 ( width_,
data_ )   static_cast<void>(0)

Definition at line 55 of file qs_dummy.hpp.

◆ QS_I32

#define QS_I32 ( width_,
data_ )   static_cast<void>(0)

Definition at line 56 of file qs_dummy.hpp.

◆ QS_U32

#define QS_U32 ( width_,
data_ )   static_cast<void>(0)

Definition at line 57 of file qs_dummy.hpp.

◆ QS_F32

#define QS_F32 ( width_,
data_ )   static_cast<void>(0)

Definition at line 58 of file qs_dummy.hpp.

◆ QS_F64

#define QS_F64 ( width_,
data_ )   static_cast<void>(0)

Definition at line 59 of file qs_dummy.hpp.

◆ QS_I64

#define QS_I64 ( width_,
data_ )   static_cast<void>(0)

Definition at line 60 of file qs_dummy.hpp.

◆ QS_U64

#define QS_U64 ( width_,
data_ )   static_cast<void>(0)

Definition at line 61 of file qs_dummy.hpp.

◆ QS_ENUM

#define QS_ENUM ( group_,
value_ )   static_cast<void>(0)

Definition at line 62 of file qs_dummy.hpp.

◆ QS_STR

#define QS_STR ( str_)    static_cast<void>(0)

Definition at line 63 of file qs_dummy.hpp.

◆ QS_MEM

#define QS_MEM ( mem_,
size_ )   static_cast<void>(0)

Definition at line 64 of file qs_dummy.hpp.

◆ QS_SIG

#define QS_SIG ( sig_,
obj_ )   static_cast<void>(0)

Definition at line 65 of file qs_dummy.hpp.

◆ QS_OBJ

#define QS_OBJ ( obj_)    static_cast<void>(0)

Definition at line 66 of file qs_dummy.hpp.

◆ QS_FUN

#define QS_FUN ( fun_)    static_cast<void>(0)

Definition at line 67 of file qs_dummy.hpp.

◆ QS_SIG_DICTIONARY

#define QS_SIG_DICTIONARY ( sig_,
obj_ )   static_cast<void>(0)

Definition at line 69 of file qs_dummy.hpp.

◆ QS_OBJ_DICTIONARY

#define QS_OBJ_DICTIONARY ( obj_)    static_cast<void>(0)

Definition at line 70 of file qs_dummy.hpp.

◆ QS_OBJ_ARR_DICTIONARY

#define QS_OBJ_ARR_DICTIONARY ( obj_,
idx_ )   static_cast<void>(0)

Definition at line 71 of file qs_dummy.hpp.

◆ QS_FUN_DICTIONARY

#define QS_FUN_DICTIONARY ( fun_)    static_cast<void>(0)

Definition at line 72 of file qs_dummy.hpp.

◆ QS_USR_DICTIONARY

#define QS_USR_DICTIONARY ( rec_)    static_cast<void>(0)

Definition at line 73 of file qs_dummy.hpp.

◆ QS_ENUM_DICTIONARY

#define QS_ENUM_DICTIONARY ( value_,
group_ )   static_cast<void>(0)

Definition at line 74 of file qs_dummy.hpp.

◆ QS_ASSERTION

#define QS_ASSERTION ( module_,
loc_,
delay_ )   static_cast<void>(0)

Definition at line 75 of file qs_dummy.hpp.

◆ QS_FLUSH

#define QS_FLUSH ( )    static_cast<void>(0)

Definition at line 76 of file qs_dummy.hpp.

◆ QS_TEST_PROBE_DEF

#define QS_TEST_PROBE_DEF ( fun_)

QS macro to define the Test-Probe for a given fun_

Backward Traceability

  • DVP_QS_MC4_R11_01
  • DVP_QS_MC4_R15_05
  • DVP_QS_PCLP_823

Definition at line 78 of file qs_dummy.hpp.

◆ QS_TEST_PROBE

#define QS_TEST_PROBE ( code_)

Definition at line 79 of file qs_dummy.hpp.

◆ QS_TEST_PROBE_ID

#define QS_TEST_PROBE_ID ( id_,
code_ )

QS_TEST_PROBE QS macro to apply a Test-Probe

Backward Traceability

  • DVR_QS_MC4_R11_05

QS macro to apply a Test-Probe

Definition at line 80 of file qs_dummy.hpp.

◆ QS_TEST_PAUSE

#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.

◆ QS_OUTPUT

#define QS_OUTPUT ( )    static_cast<void>(0)

Definition at line 83 of file qs_dummy.hpp.

◆ QS_RX_INPUT

#define QS_RX_INPUT ( )    static_cast<void>(0)

Definition at line 84 of file qs_dummy.hpp.

◆ QS_ONLY

#define QS_ONLY ( code_)    static_cast<void>(0)

Definition at line 85 of file qs_dummy.hpp.

◆ QS_BEGIN_PRE

#define QS_BEGIN_PRE ( rec_,
qsId_ )   if (false) {

Definition at line 149 of file qs_dummy.hpp.

◆ QS_END_PRE

#define QS_END_PRE ( )    }

Definition at line 150 of file qs_dummy.hpp.

◆ QS_U8_PRE

#define QS_U8_PRE ( data_)    static_cast<void>(0)

Definition at line 151 of file qs_dummy.hpp.

◆ QS_2U8_PRE

#define QS_2U8_PRE ( data1_,
data2_ )   static_cast<void>(0)

Definition at line 152 of file qs_dummy.hpp.

◆ QS_U16_PRE

#define QS_U16_PRE ( data_)    static_cast<void>(0)

Definition at line 153 of file qs_dummy.hpp.

◆ QS_U32_PRE

#define QS_U32_PRE ( data_)    static_cast<void>(0)

Definition at line 154 of file qs_dummy.hpp.

◆ QS_TIME_PRE

#define QS_TIME_PRE ( )    static_cast<void>(0)

Definition at line 155 of file qs_dummy.hpp.

◆ QS_SIG_PRE

#define QS_SIG_PRE ( sig_)    static_cast<void>(0)

Definition at line 156 of file qs_dummy.hpp.

◆ QS_EVS_PRE

#define QS_EVS_PRE ( size_)    static_cast<void>(0)

Definition at line 157 of file qs_dummy.hpp.

◆ QS_OBJ_PRE

#define QS_OBJ_PRE ( obj_)    static_cast<void>(0)

Definition at line 158 of file qs_dummy.hpp.

◆ QS_FUN_PRE

#define QS_FUN_PRE ( fun_)    static_cast<void>(0)

Definition at line 159 of file qs_dummy.hpp.

◆ QS_EQC_PRE

#define QS_EQC_PRE ( ctr_)    static_cast<void>(0)

Definition at line 160 of file qs_dummy.hpp.

◆ QS_MPC_PRE

#define QS_MPC_PRE ( ctr_)    static_cast<void>(0)

Definition at line 161 of file qs_dummy.hpp.

◆ QS_MPS_PRE

#define QS_MPS_PRE ( size_)    static_cast<void>(0)

Definition at line 162 of file qs_dummy.hpp.

◆ QS_TEC_PRE

#define QS_TEC_PRE ( ctr_)    static_cast<void>(0)

Definition at line 163 of file qs_dummy.hpp.

◆ QS_CRIT_STAT

#define QS_CRIT_STAT

Internal QS macro for defining the critical section status

Definition at line 165 of file qs_dummy.hpp.

◆ QS_CRIT_ENTRY

#define QS_CRIT_ENTRY ( )    static_cast<void>(0)

Internal macro for entering a critical section

Definition at line 166 of file qs_dummy.hpp.

◆ QS_CRIT_EXIT

#define QS_CRIT_EXIT ( )    static_cast<void>(0)

Internal macro for exiting a critical section

Definition at line 167 of file qs_dummy.hpp.

◆ QS_MEM_SYS

#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.

◆ QS_MEM_APP

#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.

◆ QS_TR_CRIT_ENTRY

#define QS_TR_CRIT_ENTRY ( )    static_cast<void>(0)

Definition at line 172 of file qs_dummy.hpp.

◆ QS_TR_CRIT_EXIT

#define QS_TR_CRIT_EXIT ( )    static_cast<void>(0)

Definition at line 173 of file qs_dummy.hpp.

◆ QS_TR_ISR_ENTRY

#define QS_TR_ISR_ENTRY ( isrnest_,
prio_ )   static_cast<void>(0)

Definition at line 174 of file qs_dummy.hpp.

◆ QS_TR_ISR_EXIT

#define QS_TR_ISR_EXIT ( isrnest_,
prio_ )   static_cast<void>(0)

Definition at line 175 of file qs_dummy.hpp.

Function Documentation

◆ QS_onTestSetup()

void QS_onTestSetup ( void )

◆ QS_onTestTeardown()

void QS_onTestTeardown ( void )

◆ QS_onTestEvt()

void QS_onTestEvt ( QEvt * e)

◆ QS_onTestPost()

void QS_onTestPost ( void const * sender,
QActive * recipient,
QEvt const * e,
bool status )

◆ QS_onTestLoop()

void QS_onTestLoop ( void )