public class FMIEventInfo
extends com.sun.jna.Structure
The C language interface to Functional Mock-up Unit (FMU) files includes an structure that represents event information. This class represents that structure.
This file is based on a file that was autogenerated by
JNAerator,
a tool
written by Olivier Chafik that
uses
a few opensource projects..
Red (cxh) |
Red (cxh) |
Modifier and Type | Class and Description |
---|---|
static class |
FMIEventInfo.ByReference
Access the structure by reference.
|
static class |
FMIEventInfo.ByValue
Access the structure by value.
|
Modifier and Type | Field and Description |
---|---|
byte |
iterationConverged
C type: fmiBoolean.
|
double |
nextEventTime
C type: fmiReal.
|
byte |
stateValueReferencesChanged
C type: fmiBoolean.
|
byte |
stateValuesChanged
C type: fmiBoolean.
|
byte |
terminateSimulation
C type: fmiBoolean.
|
byte |
upcomingTimeEvent
C type: fmiBoolean.
|
Constructor and Description |
---|
FMIEventInfo()
Instantiate a Java structure that that represents the C
structure that contains information about events.
|
FMIEventInfo(byte iterationConverged,
byte stateValueReferencesChanged,
byte stateValuesChanged,
byte terminateSimulation,
byte upcomingTimeEvent,
double nextEventTime)
Instantiate a Java structure that that represents the C
structure that contains information about events.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List |
getFieldOrder()
Return the field names in the proper order.
|
protected void |
initFieldOrder()
Deprecated.
As of jna-3.5.0, use getFieldOrder() instead.
|
allocateMemory, allocateMemory, autoAllocate, autoRead, autoRead, autoWrite, autoWrite, cacheTypeInfo, clear, ensureAllocated, equals, fieldOffset, getAutoRead, getAutoWrite, getFieldList, getFields, getNativeAlignment, getNativeSize, getNativeSize, getPointer, getStringEncoding, getStructAlignment, hashCode, newInstance, newInstance, read, readField, readField, setAlignType, setAutoRead, setAutoSynch, setAutoWrite, setFieldOrder, setStringEncoding, size, sortFields, toArray, toArray, toString, toString, useMemory, useMemory, write, writeField, writeField, writeField
public byte iterationConverged
public byte stateValueReferencesChanged
public byte stateValuesChanged
public byte terminateSimulation
public byte upcomingTimeEvent
public double nextEventTime
public FMIEventInfo()
public FMIEventInfo(byte iterationConverged, byte stateValueReferencesChanged, byte stateValuesChanged, byte terminateSimulation, byte upcomingTimeEvent, double nextEventTime)
This is for FMI-1.0
iterationConverged
- C type: fmiBooleanstateValueReferencesChanged
- C type: fmiBooleanstateValuesChanged
- C type: fmiBooleanterminateSimulation
- C type: fmiBooleanupcomingTimeEvent
- C type: fmiBooleannextEventTime
- C type: fmiRealprotected java.util.List getFieldOrder()
This is new in jna-3.5.0.
getFieldOrder
in class com.sun.jna.Structure
@Deprecated protected void initFieldOrder()