|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ptolemy.fmi.FMIModelDescription
public class FMIModelDescription
An object that represents the fmiModelDescription element of a modelDescription.xml file contained within a Functional Mock-up Interface (.fmu) file.
A Functional Mock-up Unit file is a .fmu file in zip format that contains a .xml file named "modelDescription.xml". This class is a representation of the elements of that file.
FMI documentation may be found at http://www.modelisar.com/fmi.html.
Red (cxh) |
Red (cxh) |
Field Summary | |
---|---|
private com.sun.jna.NativeLibrary |
_nativeLibrary
The NativeLibrary associated with the platform-dependent shared library in the .fmu file. |
boolean |
canGetAndSetFMUstate
For FMI 2.0 and greater, the XML file may specify that the FMU supports getting and setting its state. |
FMICoSimulationCapabilities |
capabilities
The capabilities for co-simulation. |
java.util.List<java.io.File> |
files
The list of files that were extracted from the .fmu file. |
java.lang.String |
fmiVersion
The fmiVersion, typically the value of the fmiVersion attribute from a .fmu file. |
java.lang.String |
guid
The FMI guid, typically the value of the guid attribute from a .fmu file. |
java.lang.String |
modelIdentifier
The FMI modelIdentifier, typically the value of the modelIdentifier attribute from a .fmu file. |
java.lang.String |
modelName
The FMI modelName, typically the value of the modelName attribute from a .fmu file. |
java.util.List<FMIScalarVariable> |
modelVariables
The list of ScalarVariable elements. |
int |
numberOfContinuousStates
Number of continuous states. |
int |
numberOfEventIndicators
Number of event indicators. |
java.util.Map<java.lang.String,java.lang.String> |
typeDefinitions
A map from TypeDefinition type name declarations to the defined type name. |
Constructor Summary | |
---|---|
FMIModelDescription()
|
Method Summary | |
---|---|
com.sun.jna.NativeLibrary |
getNativeLibrary()
Get the native library of C functions for the current platform. |
java.lang.String |
toString()
Return the value of the FMI modelName element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean canGetAndSetFMUstate
public java.util.List<java.io.File> files
public java.lang.String fmiVersion
public java.lang.String guid
public java.lang.String modelIdentifier
public java.lang.String modelName
public java.util.List<FMIScalarVariable> modelVariables
public int numberOfContinuousStates
public int numberOfEventIndicators
public java.util.Map<java.lang.String,java.lang.String> typeDefinitions
public FMICoSimulationCapabilities capabilities
private com.sun.jna.NativeLibrary _nativeLibrary
Constructor Detail |
---|
public FMIModelDescription()
Method Detail |
---|
public com.sun.jna.NativeLibrary getNativeLibrary() throws java.io.IOException
java.io.IOException
- If the FMU file does not contain binaries
for the current platform.public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |