|
mbsiminterface
1.0.0
|
00001 /* Copyright (C) 2013 Markus Schneider 00002 00003 * This library is free software; you can redistribute it and/or 00004 * modify it under the terms of the GNU Lesser General Public 00005 * License as published by the Free Software Foundation; either 00006 * version 2.1 of the License, or (at your option) any later version. 00007 * 00008 * This library is distributed in the hope that it will be useful, 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00011 * Lesser General Public License for more details. 00012 * 00013 * You should have received a copy of the GNU Lesser General Public 00014 * License along with this library; if not, write to the Free Software 00015 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00016 00017 * 00018 * Contact: 00019 * markus.ms.schneider@live.de 00020 * 00021 */ 00022 00023 #ifndef _SERVER_INTEGRATOR_MESSAGES_H_ 00024 #define _SERVER_INTEGRATOR_MESSAGES_H_ 00025 00026 // getSizeOf<differentTypes> 00027 #define _SI_getSizeOfDoubleMemory_asciiString_SI_ (char(1)) 00028 #define _SI_getSizeOfFloatMemory_asciiString_SI_ (char(6)) 00029 #define _SI_getSizeOfIntegerMemory_asciiString_SI_ (char(11)) 00030 #define _SI_getSizeOfMemoryAdress_asciiString_SI_ (char(16)) 00031 00032 // methods getTime 00033 #define _SI_getTime_asciiString_SI_ (char(21)) 00034 #define _SI_getTime_memoryDump_SI_ (char(26)) 00035 #define _SI_getTime_memoryAdress_SI_ (char(31)) 00036 // methods setTime 00037 #define _SI_setTime_asciiString_SI_ (char(36)) 00038 #define _SI_setTime_memoryDump_SI_ (char(41)) 00039 00040 // methods getStateVectorSize 00041 #define _SI_getStateVectorSize_asciiString_SI_ (char(46)) 00042 #define _SI_getStateVectorSize_memoryDump_SI_ (char(51)) 00043 // methods getStateVector 00044 #define _SI_getStateVector_asciiString_SI_ (char(56)) 00045 #define _SI_getStateVector_memoryDump_SI_ (char(61)) 00046 #define _SI_getStateVector_memoryAdress_SI_ (char(66)) 00047 // methods setStateVector 00048 #define _SI_setStateVector_asciiString_SI_ (char(71)) 00049 #define _SI_setStateVector_memoryDump_SI_ (char(76)) 00050 // methods getTimeDerivativeOfStateVector 00051 #define _SI_getTimeDerivativeOfStateVector_asciiString_SI_ (char(81)) 00052 #define _SI_getTimeDerivativeOfStateVector_memoryDump_SI_ (char(86)) 00053 #define _SI_getTimeDerivativeOfStateVector_memoryAdress_SI_ (char(91)) 00054 00055 // methods getStopVectorSize 00056 #define _SI_getStopVectorSize_asciiString_SI_ (char(96)) 00057 #define _SI_getStopVectorSize_memoryDump_SI_ (char(101)) 00058 // methods getStopVector 00059 #define _SI_getStopVector_asciiString_SI_ (char(106)) 00060 #define _SI_getStopVector_memoryDump_SI_ (char(111)) 00061 #define _SI_getStopVector_memoryAdress_SI_ (char(116)) 00062 00063 // different mbsim actions 00064 #define _SI_plot_SI_ (char(121)) 00065 #define _SI_shift_SI_ (char(126)) 00066 #define _SI_exitRequest_SI_ (char(131)) 00067 00068 // outputSignals and inputSignals 00069 #define _SI_getOutputSignalsSize_asciiString_SI_ (char(136)) 00070 #define _SI_getOutputSignals_asciiString_SI_ (char(141)) 00071 #define _SI_getOutputSignals_memoryDump_SI_ (char(146)) 00072 #define _SI_getOutputSignals_memoryAdress_SI_ (char(151)) 00073 #define _SI_getInputSignalsSize_asciiString_SI_ (char(156)) 00074 #define _SI_setInputSignals_asciiString_SI_ (char(161)) 00075 #define _SI_setInputSignals_memoryDump_SI_ (char(166)) 00076 #define _SI_setInputSignals_memoryAdress_SI_ (char(171)) 00077 00078 // usefull stuff 00079 #define _SI_doPrintCommunication_SI_ (char(176)) 00080 #define _SI_donotPrintCommunication_SI_ (char(181)) 00081 #define _SI_setAsciiPrecision_asciiString_SI_ (char(186)) 00082 00083 #endif 00084
1.8.0