public class FMI20EventInfo
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..
Modifier and Type | Class and Description |
---|---|
static class |
FMI20EventInfo.ByReference
Access the structure by reference.
|
static class |
FMI20EventInfo.ByValue
Access the structure by value.
|
Modifier and Type | Field and Description |
---|---|
int |
newDiscreteStatesNeeded
C type: fmiBoolean.
|
double |
nextEventTime
C type: fmiReal.
|
int |
nextEventTimeDefined
C type: fmiBoolean.
|
int |
nominalsOfContinuousStatesChanged
C type: fmiBoolean.
|
int |
terminateSimulation
C type: fmiBoolean.
|
int |
valuesOfContinuousStatesChanged
C type: fmiBoolean.
|
Constructor and Description |
---|
FMI20EventInfo()
Instantiate a Java structure that that represents the C
structure that contains information about events.
|
FMI20EventInfo(int newDiscreteStatesNeeded,
int terminateSimulation,
int nominalsOfContinuousStatesChanged,
int valuesOfContinuousStatesChanged,
int nextEventTimeDefined,
double nextEventTime)
Instantiate a Java structure that that represents the C
structure that contains information about events.
|
FMI20EventInfo(com.sun.jna.Pointer pointer,
int offset)
Construct a FMI20EventInfo from data.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List |
getFieldOrder()
Return the field names in the proper order.
|
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 int newDiscreteStatesNeeded
public int terminateSimulation
public int nominalsOfContinuousStatesChanged
public int valuesOfContinuousStatesChanged
public int nextEventTimeDefined
public double nextEventTime
public FMI20EventInfo()
public FMI20EventInfo(com.sun.jna.Pointer pointer, int offset)
pointer
- a pointer to the data.offset
- the offset, in bytes.public FMI20EventInfo(int newDiscreteStatesNeeded, int terminateSimulation, int nominalsOfContinuousStatesChanged, int valuesOfContinuousStatesChanged, int nextEventTimeDefined, double nextEventTime)
This is for FMI-1.0
newDiscreteStatesNeeded
- C type: fmiBooleanterminateSimulation
- C type: fmiBooleannominalsOfContinuousStatesChanged
- C type: fmiBooleanvaluesOfContinuousStatesChanged
- C type: fmiBooleannextEventTimeDefined
- C type: fmiBooleannextEventTime
- C type: fmiReal