2015-05-14 16:05:04 -04:00
|
|
|
/// @file
|
|
|
|
/// @brief QS/C++ platform-independent dummy public interface.
|
|
|
|
/// @ingroup qs
|
|
|
|
/// @cond
|
2014-04-13 21:35:34 -04:00
|
|
|
///***************************************************************************
|
|
|
|
/// Last updated for version 5.3.0
|
|
|
|
/// Last updated on 2014-04-10
|
|
|
|
///
|
|
|
|
/// Q u a n t u m L e a P s
|
|
|
|
/// ---------------------------
|
|
|
|
/// innovating embedded systems
|
|
|
|
///
|
|
|
|
/// Copyright (C) Quantum Leaps, www.state-machine.com.
|
|
|
|
///
|
|
|
|
/// This program is open source software: you can redistribute it and/or
|
|
|
|
/// modify it under the terms of the GNU General Public License as published
|
|
|
|
/// by the Free Software Foundation, either version 3 of the License, or
|
|
|
|
/// (at your option) any later version.
|
|
|
|
///
|
|
|
|
/// Alternatively, this program may be distributed and modified under the
|
|
|
|
/// terms of Quantum Leaps commercial licenses, which expressly supersede
|
|
|
|
/// the GNU General Public License and are specifically designed for
|
|
|
|
/// licensees interested in retaining the proprietary status of their code.
|
|
|
|
///
|
|
|
|
/// This program is distributed in the hope that it will be useful,
|
|
|
|
/// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
/// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
/// GNU General Public License for more details.
|
|
|
|
///
|
|
|
|
/// You should have received a copy of the GNU General Public License
|
|
|
|
/// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
///
|
|
|
|
/// Contact information:
|
|
|
|
/// Web: www.state-machine.com
|
|
|
|
/// Email: info@state-machine.com
|
|
|
|
///***************************************************************************
|
2015-05-14 16:05:04 -04:00
|
|
|
/// @endcond
|
2014-04-13 21:35:34 -04:00
|
|
|
|
2012-08-14 18:00:48 -04:00
|
|
|
#ifndef qs_dummy_h
|
|
|
|
#define qs_dummy_h
|
|
|
|
|
2015-05-14 16:05:04 -04:00
|
|
|
/// @description
|
2014-04-13 21:35:34 -04:00
|
|
|
/// Dummy definitions of the QS macros that avoid code generation from
|
2012-08-14 18:00:48 -04:00
|
|
|
/// the QS instrumentation.
|
|
|
|
|
|
|
|
#ifdef Q_SPY
|
|
|
|
#error "Q_SPY must NOT be defined to include qs_dummy.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#define QS_INIT(arg_) (true)
|
|
|
|
#define QS_EXIT() ((void)0)
|
|
|
|
#define QS_DUMP() ((void)0)
|
|
|
|
#define QS_FILTER_ON(rec_) ((void)0)
|
|
|
|
#define QS_FILTER_OFF(rec_) ((void)0)
|
|
|
|
#define QS_FILTER_SM_OBJ(obj_) ((void)0)
|
|
|
|
#define QS_FILTER_AO_OBJ(obj_) ((void)0)
|
|
|
|
#define QS_FILTER_MP_OBJ(obj_) ((void)0)
|
|
|
|
#define QS_FILTER_EQ_OBJ(obj_) ((void)0)
|
|
|
|
#define QS_FILTER_TE_OBJ(obj_) ((void)0)
|
|
|
|
#define QS_FILTER_AP_OBJ(obj_) ((void)0)
|
|
|
|
|
|
|
|
#define QS_GET_BYTE(pByte_) (static_cast<uint16_t>(0xFFFFU))
|
|
|
|
#define QS_GET_BLOCK(pSize_) (static_cast<uint8_t *>(0))
|
|
|
|
|
|
|
|
#define QS_BEGIN(rec_, obj_) if (false) {
|
|
|
|
#define QS_END() }
|
|
|
|
#define QS_BEGIN_NOCRIT(rec_, obj_) if (false) {
|
|
|
|
#define QS_END_NOCRIT() }
|
|
|
|
|
|
|
|
#define QS_I8(width_, data_) ((void)0)
|
|
|
|
#define QS_U8(width_, data_) ((void)0)
|
|
|
|
#define QS_I16(width_, data_) ((void)0)
|
|
|
|
#define QS_U16(width_, data_) ((void)0)
|
|
|
|
#define QS_I32(width_, data_) ((void)0)
|
|
|
|
#define QS_U32(width_, data_) ((void)0)
|
|
|
|
#define QS_F32(width_, data_) ((void)0)
|
|
|
|
#define QS_F64(width_, data_) ((void)0)
|
|
|
|
#define QS_U64(width_, data_) ((void)0)
|
|
|
|
#define QS_U32_HEX(width_, data_) ((void)0)
|
2013-12-30 17:41:15 -05:00
|
|
|
#define QS_STR(str_) ((void)0)
|
2012-08-14 18:00:48 -04:00
|
|
|
#define QS_STR_ROM(str_) ((void)0)
|
|
|
|
#define QS_MEM(mem_, size_) ((void)0)
|
|
|
|
#define QS_SIG(sig_, obj_) ((void)0)
|
|
|
|
#define QS_OBJ(obj_) ((void)0)
|
|
|
|
#define QS_FUN(fun_) ((void)0)
|
|
|
|
|
|
|
|
#define QS_SIG_DICTIONARY(sig_, obj_) ((void)0)
|
|
|
|
#define QS_OBJ_DICTIONARY(obj_) ((void)0)
|
|
|
|
#define QS_FUN_DICTIONARY(fun_) ((void)0)
|
|
|
|
#define QS_USR_DICTIONARY(rec_) ((void)0)
|
|
|
|
#define QS_ASSERTION(module_, loc_) ((void)0)
|
2013-10-10 20:01:51 -04:00
|
|
|
#define QS_TEST_ASSERTION(file_, loc_) ((void)0)
|
|
|
|
#define QS_TEST(file_, test_) ((void)0)
|
2012-08-14 18:00:48 -04:00
|
|
|
#define QS_FLUSH() ((void)0)
|
|
|
|
|
|
|
|
// internal QS macros used only in the QP components .........................
|
|
|
|
#define QS_CRIT_STAT_
|
|
|
|
#define QS_BEGIN_(rec_, refObj_, obj_) if (false) {
|
|
|
|
#define QS_END_() }
|
|
|
|
#define QS_BEGIN_NOCRIT_(rec_, refObj_, obj_) if (false) {
|
|
|
|
#define QS_END_NOCRIT_() }
|
|
|
|
#define QS_U8_(data_) ((void)0)
|
2013-10-10 20:01:51 -04:00
|
|
|
#define QS_2U8_(data1_, data2_) ((void)0)
|
2012-08-14 18:00:48 -04:00
|
|
|
#define QS_U16_(data_) ((void)0)
|
|
|
|
#define QS_U32_(data_) ((void)0)
|
|
|
|
#define QS_U64_(data_) ((void)0)
|
|
|
|
#define QS_TIME_() ((void)0)
|
|
|
|
#define QS_SIG_(sig_) ((void)0)
|
|
|
|
#define QS_EVS_(size_) ((void)0)
|
|
|
|
#define QS_OBJ_(obj_) ((void)0)
|
|
|
|
#define QS_FUN_(fun_) ((void)0)
|
|
|
|
#define QS_EQC_(ctr_) ((void)0)
|
|
|
|
#define QS_MPC_(ctr_) ((void)0)
|
|
|
|
#define QS_MPS_(size_) ((void)0)
|
|
|
|
#define QS_TEC_(ctr_) ((void)0)
|
|
|
|
|
|
|
|
#define QF_QS_CRIT_ENTRY() ((void)0)
|
|
|
|
#define QF_QS_CRIT_EXIT() ((void)0)
|
|
|
|
#define QF_QS_ISR_ENTRY(isrnest_, prio_) ((void)0)
|
|
|
|
#define QF_QS_ISR_EXIT(isrnest_, prio_) ((void)0)
|
|
|
|
#define QF_QS_ACTION(act_) ((void)0)
|
|
|
|
|
|
|
|
#endif // qs_dummy_h
|