mbsiminterface 1.0.0 MBSim Interface Module

interface_messages.h
1 /* Copyright (C) 2013 Markus Schneider
2
3 * This library is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU Lesser General Public
5 * License as published by the Free Software Foundation; either
6 * version 2.1 of the License, or (at your option) any later version.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 * Lesser General Public License for more details.
12 *
13 * You should have received a copy of the GNU Lesser General Public
14 * License along with this library; if not, write to the Free Software
15 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
17 *
18 * Contact:
19 * markus.ms.schneider@live.de
20 *
21 */
22
23 #ifndef _SERVER_INTEGRATOR_MESSAGES_H_
24 #define _SERVER_INTEGRATOR_MESSAGES_H_
25
26 // getSizeOf<differentTypes>
27 #define _SI_getSizeOfDoubleMemory_asciiString_SI_ (char(1))
28 #define _SI_getSizeOfFloatMemory_asciiString_SI_ (char(6))
29 #define _SI_getSizeOfIntegerMemory_asciiString_SI_ (char(11))
30 #define _SI_getSizeOfMemoryAdress_asciiString_SI_ (char(16))
31
32 // methods getTime
33 #define _SI_getTime_asciiString_SI_ (char(21))
34 #define _SI_getTime_memoryDump_SI_ (char(26))
35 #define _SI_getTime_memoryAdress_SI_ (char(31))
36 // methods setTime
37 #define _SI_setTime_asciiString_SI_ (char(36))
38 #define _SI_setTime_memoryDump_SI_ (char(41))
39
40 // methods getStateVectorSize
41 #define _SI_getStateVectorSize_asciiString_SI_ (char(46))
42 #define _SI_getStateVectorSize_memoryDump_SI_ (char(51))
43 // methods getStateVector
44 #define _SI_getStateVector_asciiString_SI_ (char(56))
45 #define _SI_getStateVector_memoryDump_SI_ (char(61))
46 #define _SI_getStateVector_memoryAdress_SI_ (char(66))
47 // methods setStateVector
48 #define _SI_setStateVector_asciiString_SI_ (char(71))
49 #define _SI_setStateVector_memoryDump_SI_ (char(76))
50 // methods getTimeDerivativeOfStateVector
51 #define _SI_getTimeDerivativeOfStateVector_asciiString_SI_ (char(81))
52 #define _SI_getTimeDerivativeOfStateVector_memoryDump_SI_ (char(86))
53 #define _SI_getTimeDerivativeOfStateVector_memoryAdress_SI_ (char(91))
54
55 // methods getStopVectorSize
56 #define _SI_getStopVectorSize_asciiString_SI_ (char(96))
57 #define _SI_getStopVectorSize_memoryDump_SI_ (char(101))
58 // methods getStopVector
59 #define _SI_getStopVector_asciiString_SI_ (char(106))
60 #define _SI_getStopVector_memoryDump_SI_ (char(111))
61 #define _SI_getStopVector_memoryAdress_SI_ (char(116))
62
63 // different mbsim actions
64 #define _SI_plot_SI_ (char(121))
65 #define _SI_shift_SI_ (char(126))
66 #define _SI_exitRequest_SI_ (char(131))
67
68 // outputSignals and inputSignals
69 #define _SI_getOutputSignalsSize_asciiString_SI_ (char(136))
70 #define _SI_getOutputSignals_asciiString_SI_ (char(141))
71 #define _SI_getOutputSignals_memoryDump_SI_ (char(146))
72 #define _SI_getOutputSignals_memoryAdress_SI_ (char(151))
73 #define _SI_getInputSignalsSize_asciiString_SI_ (char(156))
74 #define _SI_setInputSignals_asciiString_SI_ (char(161))
75 #define _SI_setInputSignals_memoryDump_SI_ (char(166))
76 #define _SI_setInputSignals_memoryAdress_SI_ (char(171))
77
78 // usefull stuff
79 #define _SI_doPrintCommunication_SI_ (char(176))
80 #define _SI_donotPrintCommunication_SI_ (char(181))
81 #define _SI_setAsciiPrecision_asciiString_SI_ (char(186))
82
83 #endif
84