mbsiminterface  1.0.0
interfaceMessages.h
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_ 'A'
00028 #define _SI_getSizeOfIntegerMemory_asciiString_SI_ 'B'
00029 #define _SI_getSizeOfMemoryAdress_asciiString_SI_ 'c'
00030 
00031 // methods getTime
00032 #define _SI_getTime_asciiString_SI_ 'C'
00033 #define _SI_getTime_memoryDump_SI_ 'E'
00034 #define _SI_getTime_memoryAdress_SI_ 'F'
00035 // methods setTime
00036 #define _SI_setTime_asciiString_SI_ 'G'
00037 #define _SI_setTime_memoryDump_SI_ 'H'
00038 
00039 // methods getStateVectorSize
00040 #define _SI_getStateVectorSize_asciiString_SI_ 'I'
00041 #define _SI_getStateVectorSize_memoryDump_SI_ 'J'
00042 // methods getStateVector
00043 #define _SI_getStateVector_asciiString_SI_ 'L'
00044 #define _SI_getStateVector_memoryDump_SI_ 'M'
00045 #define _SI_getStateVector_memoryAdress_SI_ 'N'
00046 // methods setStateVector
00047 #define _SI_setStateVector_asciiString_SI_ 'O'
00048 #define _SI_setStateVector_memoryDump_SI_ 'P'
00049 // methods getTimeDerivativeOfStateVector
00050 #define _SI_getTimeDerivativeOfStateVector_asciiString_SI_ 'Q'
00051 #define _SI_getTimeDerivativeOfStateVector_memoryDump_SI_ 'R'
00052 #define _SI_getTimeDerivativeOfStateVector_memoryAdress_SI_ 'S'
00053 
00054 // methods getStopVectorSize
00055 #define _SI_getStopVectorSize_asciiString_SI_ 'T'
00056 #define _SI_getStopVectorSize_memoryDump_SI_ 'U'
00057 // methods getStopVector
00058 #define _SI_getStopVector_asciiString_SI_ 'W'
00059 #define _SI_getStopVector_memoryDump_SI_ 'X'
00060 #define _SI_getStopVector_memoryAdress_SI_ 'Y'
00061 
00062 // different mbsim actions
00063 #define _SI_plot_SI_ 'Z'
00064 #define _SI_shift_SI_ 'a'
00065 #define _SI_exitRequest_SI_ 'b'
00066 
00067 // usefull stuff
00068 #define _SI_doPrintCommunication_SI_ 'z'
00069 #define _SI_donotPrintCommunication_SI_ 'y'
00070 #define _SI_setAsciiPrecision_asciiString_SI_ '1'
00071 
00072 #endif
00073