qpcpp/include/qs_dummy.hpp

135 lines
5.8 KiB
C++
Raw Normal View History

2022-08-11 15:36:19 -04:00
//$file${include::qs_dummy.hpp} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
//
// Model: qpcpp.qm
// File: ${include::qs_dummy.hpp}
//
2024-01-17 07:50:09 -05:00
// This code has been generated by QM 6.1.1 <www.state-machine.com/qm>.
2022-08-11 15:36:19 -04:00
// DO NOT EDIT THIS FILE MANUALLY. All your changes will be lost.
//
// This code is covered by the following QP license:
// License # : LicenseRef-QL-dual
// Issued to : Any user of the QP/C++ real-time embedded framework
// Framework(s) : qpcpp
// Support ends : 2024-12-31
2022-08-11 15:36:19 -04:00
// License scope:
//
// Copyright (C) 2005 Quantum Leaps, LLC <state-machine.com>.
//
// Q u a n t u m L e a P s
// ------------------------
// Modern Embedded Software
//
// SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-QL-commercial
//
// This software is dual-licensed under the terms of the open source GNU
// General Public License version 3 (or any later version), or alternatively,
// under the terms of one of the closed source Quantum Leaps commercial
// licenses.
//
// The terms of the open source GNU General Public License version 3
// can be found at: <www.gnu.org/licenses/gpl-3.0>
//
// The terms of the closed source Quantum Leaps commercial licenses
// can be found at: <www.state-machine.com/licensing>
//
// Redistributions in source code must retain this top-level comment block.
// Plagiarizing this software to sidestep the license obligations is illegal.
//
// Contact information:
2022-08-11 15:36:19 -04:00
// <www.state-machine.com/licensing>
// <info@state-machine.com>
2022-08-11 15:36:19 -04:00
//
//$endhead${include::qs_dummy.hpp} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
#ifndef QS_DUMMY_HPP_
#define QS_DUMMY_HPP_
2012-08-14 18:00:48 -04:00
#ifdef Q_SPY
2022-08-11 15:36:19 -04:00
#error "Q_SPY must NOT be defined to include qs_dummy.hpp"
2012-08-14 18:00:48 -04:00
#endif
#define QS_INIT(arg_) (true)
2020-10-01 12:50:17 -04:00
#define QS_EXIT() static_cast<void>(0)
#define QS_DUMP() static_cast<void>(0)
#define QS_GLB_FILTER(rec_) static_cast<void>(0)
2024-01-17 07:50:09 -05:00
#define QS_LOC_FILTER(qsId_) static_cast<void>(0)
2012-08-14 18:00:48 -04:00
2020-03-17 21:33:58 -04:00
#define QS_GET_BYTE(pByte_) (0xFFFFU)
#define QS_GET_BLOCK(pSize_) (nullptr)
2012-08-14 18:00:48 -04:00
2024-01-17 07:50:09 -05:00
#define QS_BEGIN_ID(rec_, qsId_) if (false) {
2012-08-14 18:00:48 -04:00
#define QS_END() }
2024-01-17 07:50:09 -05:00
#define QS_BEGIN_INCRIT(rec_, qsId_) if (false) {
#define QS_END_INCRIT() }
2012-08-14 18:00:48 -04:00
2020-10-01 12:50:17 -04:00
#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)
2023-01-06 12:56:50 -05:00
#define QS_I64(width_, data_) static_cast<void>(0)
2020-10-01 12:50:17 -04:00
#define QS_U64(width_, data_) static_cast<void>(0)
2023-01-06 12:56:50 -05:00
#define QS_ENUM(group_, value_) static_cast<void>(0)
2020-10-01 12:50:17 -04:00
#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)
2012-08-14 18:00:48 -04:00
2020-10-01 12:50:17 -04:00
#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)
2020-10-01 12:50:17 -04:00
#define QS_FUN_DICTIONARY(fun_) static_cast<void>(0)
#define QS_USR_DICTIONARY(rec_) static_cast<void>(0)
2023-01-06 12:56:50 -05:00
#define QS_ENUM_DICTIONARY(value_, group_) static_cast<void>(0)
2020-10-01 12:50:17 -04:00
#define QS_ASSERTION(module_, loc_, delay_) static_cast<void>(0)
#define QS_FLUSH() static_cast<void>(0)
2012-08-14 18:00:48 -04:00
2017-05-17 13:15:09 -04:00
#define QS_TEST_PROBE_DEF(fun_)
#define QS_TEST_PROBE(code_)
#define QS_TEST_PROBE_ID(id_, code_)
2020-10-01 12:50:17 -04:00
#define QS_TEST_PAUSE() static_cast<void>(0)
2017-05-17 13:15:09 -04:00
2020-10-01 12:50:17 -04:00
#define QS_OUTPUT() static_cast<void>(0)
#define QS_RX_INPUT() static_cast<void>(0)
#define QS_ONLY(code_) static_cast<void>(0)
2018-10-25 11:13:01 -04:00
2022-08-11 15:36:19 -04:00
//============================================================================
// interface used only for internal implementation, but not in applications
2018-10-25 11:13:01 -04:00
#ifdef QP_IMPL
2019-12-31 15:56:23 -05:00
// predefined QS trace records
2024-01-17 07:50:09 -05:00
#define QS_BEGIN_PRE_(rec_, qsId_) if (false) {
2019-12-31 15:56:23 -05:00
#define QS_END_PRE_() }
2024-01-17 07:50:09 -05:00
#define QS_BEGIN_PRE_(rec_, qsId_) if (false) {
#define QS_END_PRE_() }
2020-10-01 12:50:17 -04:00
#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)
2018-10-25 11:13:01 -04:00
#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)
2018-10-25 11:13:01 -04:00
#endif // QP_IMPL
2012-08-14 18:00:48 -04:00
#endif // QS_DUMMY_HPP_