FMI Library: part of JModelica.org
fmi1_import_cosim.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2012 Modelon AB
3 
4  This program is free software: you can redistribute it and/or modify
5  it under the terms of the BSD style license.
6 
7  This program is distributed in the hope that it will be useful,
8  but WITHOUT ANY WARRANTY; without even the implied warranty of
9  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10  FMILIB_License.txt file for more details.
11 
12  You should have received a copy of the FMILIB_License.txt file
13  along with this program. If not, contact Modelon AB <http://www.modelon.com>.
14 */
15 
16 #ifndef FMI1_IMPORT_COSIM_H
17 #define FMI1_IMPORT_COSIM_H
18 
19 #include <FMI/fmi_import_context.h>
20 
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24 
46 
49 
55 
59 #ifdef __cplusplus
60 }
61 #endif
62 #endif /* FMI1_IMPORT_COSIM_H */
Import context is the entry point to the library. It is used to initialize, unzip, get FMI version and start parsing.
FMILIB_EXPORT int fmi1_import_get_manual_start(fmi1_import_t *)
Get manual start flag.
#define FMILIB_EXPORT
Used to declare the public API of the library needed for dynamic linking.
fmi1_capi_t * fmu
FMILIB_EXPORT const char * fmi1_import_get_additional_model_name(fmi1_import_t *fmu, size_t index)
Get the name of an additional model.
FMILIB_EXPORT const char * fmi1_import_get_entry_point(fmi1_import_t *)
Get the entry point.
FMILIB_EXPORT const char * fmi1_import_get_mime_type(fmi1_import_t *)
Get mime type.
struct fmi1_import_t fmi1_import_t
FMU version 1.0 object.
FMILIB_EXPORT size_t fmi1_import_get_number_of_additional_models(fmi1_import_t *fmu)
Get the number of additional models specified.