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..
| Red (cxh) |
| Red (cxh) |
| 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 |
|---|---|
byte |
newDiscreteStatesNeeded
C type: fmiBoolean.
|
double |
nextEventTime
C type: fmiReal.
|
byte |
nextEventTimeDefined
C type: fmiBoolean.
|
byte |
nominalsOfContinuousStatesChanged
C type: fmiBoolean.
|
byte |
terminateSimulation
C type: fmiBoolean.
|
byte |
valuesOfContinuousStatesChanged
C type: fmiBoolean.
|
| Constructor and Description |
|---|
FMI20EventInfo()
Instantiate a Java structure that that represents the C
structure that contains information about events.
|
FMI20EventInfo(byte newDiscreteStatesNeeded,
byte terminateSimulation,
byte nominalsOfContinuousStatesChanged,
byte valuesOfContinuousStatesChanged,
byte 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, writeFieldpublic byte newDiscreteStatesNeeded
public byte terminateSimulation
public byte nominalsOfContinuousStatesChanged
public byte valuesOfContinuousStatesChanged
public byte 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(byte newDiscreteStatesNeeded,
byte terminateSimulation,
byte nominalsOfContinuousStatesChanged,
byte valuesOfContinuousStatesChanged,
byte 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