mirror of
https://github.com/QuantumLeaps/qpcpp.git
synced 2025-01-14 05:42:57 +08:00
db53ac24c1
bug fix, codespell
135 lines
5.8 KiB
C++
135 lines
5.8 KiB
C++
//$file${include::qs_dummy.hpp} vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
|
|
//
|
|
// Model: qpcpp.qm
|
|
// File: ${include::qs_dummy.hpp}
|
|
//
|
|
// This code has been generated by QM 6.1.1 <www.state-machine.com/qm>.
|
|
// 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
|
|
// 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:
|
|
// <www.state-machine.com/licensing>
|
|
// <info@state-machine.com>
|
|
//
|
|
//$endhead${include::qs_dummy.hpp} ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
#ifndef QS_DUMMY_HPP_
|
|
#define QS_DUMMY_HPP_
|
|
|
|
#ifdef Q_SPY
|
|
#error "Q_SPY must NOT be defined to include qs_dummy.hpp"
|
|
#endif
|
|
|
|
#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_GET_BYTE(pByte_) (0xFFFFU)
|
|
#define QS_GET_BLOCK(pSize_) (nullptr)
|
|
|
|
#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)
|
|
|
|
//============================================================================
|
|
// interface used only for internal implementation, but not in applications
|
|
#ifdef QP_IMPL
|
|
// predefined QS trace records
|
|
#define QS_BEGIN_PRE_(rec_, qsId_) if (false) {
|
|
#define QS_END_PRE_() }
|
|
#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)
|
|
#endif // QP_IMPL
|
|
|
|
#endif // QS_DUMMY_HPP_
|