25 #ifndef FMI2_IMPORT_CONVENIENCE_H_ 26 #define FMI2_IMPORT_CONVENIENCE_H_ unsigned int num_calculated_parameters
Number of calculated parameters.
FMILIB_EXPORT void fmi2_import_init_logger(jm_callbacks *cb, fmi2_callback_functions_t *fmiCallbacks)
Given fmi2_callback_functions_t logger (fmi2_logger), the jm_callbacks logger may be setup to redirec...
unsigned int num_inputs
Number of inputs.
unsigned int num_discrete
Number of discrete variables.
unsigned int num_local
Number of local variables.
Import context is the entry point to the library. It is used to initialize, unzip, get FMI version and start parsing.
FMILIB_EXPORT void fmi2_log_forwarding_v(fmi2_component_t c, fmi2_string_t instanceName, fmi2_status_t status, fmi2_string_t category, fmi2_string_t message, va_list args)
An implementation of FMI 2.0 logger that forwards the messages to logger function inside jm_callbacks...
FMILIB_EXPORT void fmi2_import_expand_variable_references(fmi2_import_t *fmu, const char *msgIn, char *msgOut, size_t maxMsgSize)
Print msgIn into msgOut by expanding variable references of the form #<Type><VR># into variable names...
unsigned int num_outputs
Number of outputs.
unsigned int num_continuous
Number of continuous variables.
unsigned int num_real_vars
Number of real variables.
FMILIB_EXPORT void fmi2_import_collect_model_counts(fmi2_import_t *fmu, fmi2_import_model_counts_t *counts)
Collect model information by counting the number of variables with specific properties and fillinf in...
#define FMILIB_EXPORT
Used to declare the public API of the library needed for dynamic linking.
unsigned int num_enum_vars
Number of enumeration variables.
Collection of counters providing model information.
unsigned int num_string_vars
Number of string variables.
unsigned int num_fixed
Number of fixed.
unsigned int num_parameters
Number of parameters.
The callbacks struct is sent to all the modules in the library.
unsigned int num_independent
Number of independent variables.
FMILIB_EXPORT void fmi2_default_callback_logger(fmi2_component_t c, fmi2_string_t instanceName, fmi2_status_t status, fmi2_string_t category, fmi2_string_t message,...)
Default FMI 2.0 logger may be used when instantiating FMUs.
unsigned int num_integer_vars
Number of integer variables.
unsigned int num_bool_vars
Number of boolean variables.
FMILIB_EXPORT void fmi2_log_forwarding(fmi2_component_t c, fmi2_string_t instanceName, fmi2_status_t status, fmi2_string_t category, fmi2_string_t message,...)
An implementation of FMI 2.0 logger that forwards the messages to logger function inside jm_callbacks...
unsigned int num_tunable
Number of tunable.
unsigned int num_constants
Number of constants.
struct fmi2_import_t fmi2_import_t
FMU version 2.0 object.