FMI Library: part of JModelica.org
Main Page
Modules
Data Structures
Files
File List
Globals
src
Import
include
FMI1
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
41
FMILIB_EXPORT
const
char
*
fmi1_import_get_entry_point
(
fmi1_import_t
* );
43
FMILIB_EXPORT
const
char
*
fmi1_import_get_mime_type
(
fmi1_import_t
* );
45
FMILIB_EXPORT
int
fmi1_import_get_manual_start
(
fmi1_import_t
* );
46
48
FMILIB_EXPORT
size_t
fmi1_import_get_number_of_additional_models
(
fmi1_import_t
*
fmu
);
49
54
FMILIB_EXPORT
const
char
*
fmi1_import_get_additional_model_name
(
fmi1_import_t
*
fmu
,
size_t
index);
55
59
#ifdef __cplusplus
60
}
61
#endif
62
#endif
/* FMI1_IMPORT_COSIM_H */
fmi_import_context.h
Import context is the entry point to the library. It is used to initialize, unzip, get FMI version and start parsing.
fmi1_import_get_manual_start
FMILIB_EXPORT int fmi1_import_get_manual_start(fmi1_import_t *)
Get manual start flag.
FMILIB_EXPORT
#define FMILIB_EXPORT
Used to declare the public API of the library needed for dynamic linking.
fmu
fmi1_capi_t * fmu
Definition:
fmi1_capi_cs_test.c:37
fmi1_import_get_additional_model_name
FMILIB_EXPORT const char * fmi1_import_get_additional_model_name(fmi1_import_t *fmu, size_t index)
Get the name of an additional model.
fmi1_import_get_entry_point
FMILIB_EXPORT const char * fmi1_import_get_entry_point(fmi1_import_t *)
Get the entry point.
fmi1_import_get_mime_type
FMILIB_EXPORT const char * fmi1_import_get_mime_type(fmi1_import_t *)
Get mime type.
fmi1_import_t
struct fmi1_import_t fmi1_import_t
FMU version 1.0 object.
Definition:
fmi_import_context.h:105
fmi1_import_get_number_of_additional_models
FMILIB_EXPORT size_t fmi1_import_get_number_of_additional_models(fmi1_import_t *fmu)
Get the number of additional models specified.
Generated by
1.8.11