--- /dev/null
+#ifndef fmiModelTypes_h\r
+#define fmiModelTypes_h\r
+\r
+/* Standard header file to define the argument types of the\r
+ functions of the Model Execution Interface.\r
+ This header file must be utilized both by the model and\r
+ by the simulation engine.\r
+\r
+ Revisions:\r
+ - Jan. 4, 2010: Renamed meModelTypes_h to fmiModelTypes_h (by Mauss, QTronic)\r
+ - Dec. 21, 2009: Changed "me" to "fmi" and "meModel" to "fmiComponent"\r
+ according to meeting on Dec. 18 (by Martin Otter, DLR)\r
+ - Dec. 6, 2009: Added meUndefinedValueReference (by Martin Otter, DLR)\r
+ - Sept. 9, 2009: Changes according to FMI-meeting on July 21:\r
+ Changed "version" to "platform", "standard" to "standard32",\r
+ Added a precise definition of "standard32" as comment\r
+ (by Martin Otter, DLR)\r
+ - July 19, 2009: Added "me" as prefix to file names, added meTrue/meFalse,\r
+ and changed meValueReferenced from int to unsigned int\r
+ (by Martin Otter, DLR).\r
+ - March 2, 2009: Moved enums and function pointer definitions to\r
+ ModelFunctions.h (by Martin Otter, DLR).\r
+ - Dec. 3, 2008 : First version by Martin Otter (DLR) and\r
+ Hans Olsson (Dynasim).\r
+\r
+\r
+ Copyright © 2008-2010, MODELISAR consortium. All rights reserved.\r
+ This file is licensed by the copyright holders under the BSD License\r
+ (http://www.opensource.org/licenses/bsd-license.html)\r
+\r
+ ----------------------------------------------------------------------------\r
+ Redistribution and use in source and binary forms, with or without\r
+ modification, are permitted provided that the following conditions are met:\r
+\r
+ - Redistributions of source code must retain the above copyright notice,\r
+ this list of conditions and the following disclaimer.\r
+ - Redistributions in binary form must reproduce the above copyright notice,\r
+ this list of conditions and the following disclaimer in the documentation\r
+ and/or other materials provided with the distribution.\r
+ - Neither the name of the copyright holders nor the names of its\r
+ contributors may be used to endorse or promote products derived\r
+ from this software without specific prior written permission.\r
+\r
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\r
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED\r
+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR\r
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\r
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\r
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\r
+ OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\r
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR\r
+ OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\r
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
+ ----------------------------------------------------------------------------\r
+\r
+ with the extension:\r
+\r
+ You may distribute or publicly perform any modification only under the\r
+ terms of this license.\r
+*/\r
+\r
+/* Platform (combination of machine, compiler, operating system) */\r
+#define fmiModelTypesPlatform "standard32"\r
+\r
+/* Type definitions of variables passed as arguments\r
+ Version "standard32" means:\r
+\r
+ fmiComponent : 32 bit pointer\r
+ fmiValueReference: 32 bit\r
+ fmiReal : 64 bit\r
+ fmiInteger : 32 bit\r
+ fmiBoolean : 8 bit\r
+ fmiString : 32 bit pointer\r
+\r
+*/\r
+ typedef void* fmiComponent;\r
+ typedef unsigned int fmiValueReference;\r
+ typedef double fmiReal ;\r
+ typedef int fmiInteger;\r
+ typedef char fmiBoolean;\r
+ typedef const char* fmiString ;\r
+\r
+/* Values for fmiBoolean */\r
+#define fmiTrue 1\r
+#define fmiFalse 0\r
+\r
+/* Undefined value for fmiValueReference (largest unsigned int value) */\r
+#define fmiUndefinedValueReference (fmiValueReference)(-1)\r
+\r
+#endif\r