Package org.ptolemy.fmi
Class FMI20EventInfo
- java.lang.Object
-
- com.sun.jna.Structure
-
- org.ptolemy.fmi.FMI20EventInfo
-
- Direct Known Subclasses:
FMI20EventInfo.ByReference,FMI20EventInfo.ByValue
public class FMI20EventInfo extends com.sun.jna.StructureFunctional Mock-up Interface (FMI) 2.0 event information.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..- Since:
- Ptolemy II 10.0
- Version:
- $Id$
- Author:
- Christopher Brooks
- Pt.AcceptedRating:
- Red (cxh)
- Pt.ProposedRating:
- Red (cxh)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFMI20EventInfo.ByReferenceAccess the structure by reference.static classFMI20EventInfo.ByValueAccess the structure by value.
-
Field Summary
Fields Modifier and Type Field Description intnewDiscreteStatesNeededC type: fmiBoolean.doublenextEventTimeC type: fmiReal.intnextEventTimeDefinedC type: fmiBoolean.intnominalsOfContinuousStatesChangedC type: fmiBoolean.intterminateSimulationC type: fmiBoolean.intvaluesOfContinuousStatesChangedC type: fmiBoolean.
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.ListgetFieldOrder()Return the field names in the proper order.-
Methods inherited from class com.sun.jna.Structure
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
-
-
-
-
Field Detail
-
newDiscreteStatesNeeded
public int newDiscreteStatesNeeded
C type: fmiBoolean.
-
terminateSimulation
public int terminateSimulation
C type: fmiBoolean.
-
nominalsOfContinuousStatesChanged
public int nominalsOfContinuousStatesChanged
C type: fmiBoolean.
-
valuesOfContinuousStatesChanged
public int valuesOfContinuousStatesChanged
C type: fmiBoolean.
-
nextEventTimeDefined
public int nextEventTimeDefined
C type: fmiBoolean.
-
nextEventTime
public double nextEventTime
C type: fmiReal.
-
-
Constructor Detail
-
FMI20EventInfo
public FMI20EventInfo()
Instantiate a Java structure that that represents the C structure that contains information about events.
-
FMI20EventInfo
public FMI20EventInfo(com.sun.jna.Pointer pointer, int offset)Construct a FMI20EventInfo from data.- Parameters:
pointer- a pointer to the data.offset- the offset, in bytes.
-
FMI20EventInfo
public 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.This is for FMI-1.0
- Parameters:
newDiscreteStatesNeeded- C type: fmiBooleanterminateSimulation- C type: fmiBooleannominalsOfContinuousStatesChanged- C type: fmiBooleanvaluesOfContinuousStatesChanged- C type: fmiBooleannextEventTimeDefined- C type: fmiBooleannextEventTime- C type: fmiReal
-
-