2 Copyright (C) 2012 Modelon AB
4 This program is free software: you can redistribute it and/or modify
5 it under the terms of the BSD style license.
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.
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>.
16 #ifndef FMI1_IMPORT_COSIM_H
17 #define FMI1_IMPORT_COSIM_H
19 #include <FMI/fmi_import_context.h>
26 \file fmi1_import_cosim.h
27 Functions to retrieve co-simulation related information.
30 \addtogroup fmi1_import
32 \addtogroup fmi1_import_cosim Functions to retrieve co-simulation related information.
36 \addtogroup fmi1_import_cosim
40 /** \brief Get the entry point.*/
41 FMILIB_EXPORT const char* fmi1_import_get_entry_point(fmi1_import_t* );
42 /** \brief Get mime type. */
43 FMILIB_EXPORT const char* fmi1_import_get_mime_type(fmi1_import_t* );
44 /** \brief Get manual start flag. */
45 FMILIB_EXPORT int fmi1_import_get_manual_start(fmi1_import_t* );
47 /** \brief Get the number of additional models specified. */
48 FMILIB_EXPORT size_t fmi1_import_get_number_of_additional_models(fmi1_import_t* fmu);
50 /** \brief Get the name of an additional model.
51 @param fmu - the FMU processed
52 @param index - the index of an additional model (must be less than the number returned by fmi1_import_get_number_of_additional_models().
54 FMILIB_EXPORT const char* fmi1_import_get_additional_model_name(fmi1_import_t* fmu, size_t index);
62 #endif /* FMI1_IMPORT_COSIM_H */