coral
A C++ library for distributed co-simulation
Classes | Enumerations | Functions
coral::fmi Namespace Reference

Classes and functions related to the Functional Mock-up Interface (FMI). More...

Classes

class  FMU
 An interface for classes that represent imported FMUs. More...
 
class  FMU1
 A class which represents an imported FMI 1.0 FMU. More...
 
class  Importer
 Imports and caches FMUs. More...
 
class  SlaveInstance
 An FMI co-simulation slave instance. More...
 
class  SlaveInstance1
 An FMI 1.0 co-simulation slave instance. More...
 

Enumerations

Functions

coral::model::DataType ToDataType (fmi1_base_type_enu_t t)
 Converts an FMI 1.0 base type to "our" data type.
 
coral::model::Causality ToCausality (fmi1_causality_enu_t c, fmi1_variability_enu_t v)
 Converts an FMI 1.0 variable causality to "our" corresponding causality. More...
 
coral::model::Variability ToVariability (fmi1_variability_enu_t v)
 Converts an FMI 1.0 variable variability to "our" corresponding variability.
 
coral::model::VariableDescription ToVariable (fmi1_import_variable_t *fmiVariable, coral::model::VariableID id)
 Converts an FMI 1.0 variable description to a Variable object.
 

Detailed Description

Classes and functions related to the Functional Mock-up Interface (FMI).

Enumeration Type Documentation

Constants that refer to FMI version numbers.

See also
coral::fmilib::Fmu::FmiVersion()
Enumerator
unknown 

Unknown (or possibly unsupported)

v1_0 

FMI 1.0.

v2_0 

FMI 2.0.

Function Documentation

coral::model::Causality coral::fmi::ToCausality ( fmi1_causality_enu_t  c,
fmi1_variability_enu_t  v 
)

Converts an FMI 1.0 variable causality to "our" corresponding causality.

The causality mapping is not unique, so the variable's variability is also needed.