|
QP/C++
|
00001 00002 // Product: QP/C++ 00003 // Last Updated for Version: 4.4.00 00004 // Date of the Last Update: Mar 28, 2012 00005 // 00006 // Q u a n t u m L e a P s 00007 // --------------------------- 00008 // innovating embedded systems 00009 // 00010 // Copyright (C) 2002-2012 Quantum Leaps, LLC. All rights reserved. 00011 // 00012 // This program is open source software: you can redistribute it and/or 00013 // modify it under the terms of the GNU General Public License as published 00014 // by the Free Software Foundation, either version 2 of the License, or 00015 // (at your option) any later version. 00016 // 00017 // Alternatively, this program may be distributed and modified under the 00018 // terms of Quantum Leaps commercial licenses, which expressly supersede 00019 // the GNU General Public License and are specifically designed for 00020 // licensees interested in retaining the proprietary status of their code. 00021 // 00022 // This program is distributed in the hope that it will be useful, 00023 // but WITHOUT ANY WARRANTY; without even the implied warranty of 00024 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00025 // GNU General Public License for more details. 00026 // 00027 // You should have received a copy of the GNU General Public License 00028 // along with this program. If not, see <http://www.gnu.org/licenses/>. 00029 // 00030 // Contact information: 00031 // Quantum Leaps Web sites: http://www.quantum-leaps.com 00032 // http://www.state-machine.com 00033 // e-mail: info@quantum-leaps.com 00035 #ifndef qs_dummy_h 00036 #define qs_dummy_h 00037 00042 00043 #ifdef Q_SPY 00044 #error "Q_SPY must NOT be defined to include qs_dummy.h" 00045 #endif 00046 00047 #define QS_INIT(arg_) (true) 00048 #define QS_EXIT() ((void)0) 00049 #define QS_DUMP() ((void)0) 00050 #define QS_FILTER_ON(rec_) ((void)0) 00051 #define QS_FILTER_OFF(rec_) ((void)0) 00052 #define QS_FILTER_SM_OBJ(obj_) ((void)0) 00053 #define QS_FILTER_AO_OBJ(obj_) ((void)0) 00054 #define QS_FILTER_MP_OBJ(obj_) ((void)0) 00055 #define QS_FILTER_EQ_OBJ(obj_) ((void)0) 00056 #define QS_FILTER_TE_OBJ(obj_) ((void)0) 00057 #define QS_FILTER_AP_OBJ(obj_) ((void)0) 00058 00059 #define QS_GET_BYTE(pByte_) (static_cast<uint16_t>(0xFFFF)) 00060 #define QS_GET_BLOCK(pSize_) (static_cast<uint8_t *>(0)) 00061 00062 #define QS_BEGIN(rec_, obj_) if (false) { 00063 #define QS_END() } 00064 #define QS_BEGIN_NOCRIT(rec_, obj_) if (false) { 00065 #define QS_END_NOCRIT() } 00066 00067 #define QS_I8(width_, data_) ((void)0) 00068 #define QS_U8(width_, data_) ((void)0) 00069 #define QS_I16(width_, data_) ((void)0) 00070 #define QS_U16(width_, data_) ((void)0) 00071 #define QS_I32(width_, data_) ((void)0) 00072 #define QS_U32(width_, data_) ((void)0) 00073 #define QS_F32(width_, data_) ((void)0) 00074 #define QS_F64(width_, data_) ((void)0) 00075 #define QS_U64(width_, data_) ((void)0) 00076 #define QS_STR(str_) ((void)0) 00077 #define QS_U32_HEX(width_, data_) ((void)0) 00078 #define QS_STR_ROM(str_) ((void)0) 00079 #define QS_MEM(mem_, size_) ((void)0) 00080 #define QS_SIG(sig_, obj_) ((void)0) 00081 #define QS_OBJ(obj_) ((void)0) 00082 #define QS_FUN(fun_) ((void)0) 00083 00084 #define QS_SIG_DICTIONARY(sig_, obj_) ((void)0) 00085 #define QS_OBJ_DICTIONARY(obj_) ((void)0) 00086 #define QS_FUN_DICTIONARY(fun_) ((void)0) 00087 #define QS_FLUSH() ((void)0) 00088 00089 // internal QS macros used only in the QP components ......................... 00090 #define QS_CRIT_STAT_ 00091 #define QS_BEGIN_(rec_, refObj_, obj_) if (false) { 00092 #define QS_END_() } 00093 #define QS_BEGIN_NOCRIT_(rec_, refObj_, obj_) if (false) { 00094 #define QS_END_NOCRIT_() } 00095 #define QS_U8_(data_) ((void)0) 00096 #define QS_U16_(data_) ((void)0) 00097 #define QS_U32_(data_) ((void)0) 00098 #define QS_U64_(data_) ((void)0) 00099 #define QS_TIME_() ((void)0) 00100 #define QS_SIG_(sig_) ((void)0) 00101 #define QS_EVS_(size_) ((void)0) 00102 #define QS_OBJ_(obj_) ((void)0) 00103 #define QS_FUN_(fun_) ((void)0) 00104 #define QS_EQC_(ctr_) ((void)0) 00105 #define QS_MPC_(ctr_) ((void)0) 00106 #define QS_MPS_(size_) ((void)0) 00107 #define QS_TEC_(ctr_) ((void)0) 00108 00109 #define QF_QS_CRIT_ENTRY() ((void)0) 00110 #define QF_QS_CRIT_EXIT() ((void)0) 00111 #define QF_QS_ISR_ENTRY(isrnest_, prio_) ((void)0) 00112 #define QF_QS_ISR_EXIT(isrnest_, prio_) ((void)0) 00113 #define QF_QS_ACTION(act_) ((void)0) 00114 00115 #endif // qs_dummy_h
1.7.6.1