Package org.ptolemy.fmi
Interface FMULibrary
-
- All Superinterfaces:
FMILibrary
,com.sun.jna.Library
public interface FMULibrary extends FMILibrary
An interface that is used by Java Native Access (JNA) to handle callbacks.This class contains implementations of methods that are registered with the FMI and then called back from by the FMI. The callback methods allocate and free memory, handle logging and are sometimes called when the step ends. For each callback we define an inner class that implements the appropriate interface and has one method that provides the body of the callback.
For details about how Callbacks work in JNA, see http://twall.github.com/jna/3.4.0/javadoc/overview-summary.html#callbacks.
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$, $Id$
- Author:
- Christopher Brooks
- Pt.AcceptedRating:
- Red (cxh)
- Pt.ProposedRating:
- Red (cxh)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FMULibrary.FMUAllocateMemory
Class for the allocate memory callback function.static class
FMULibrary.FMUFreeMemory
A class providing a callback method that frees memory.static class
FMULibrary.FMULogger
The logging callback function.static class
FMULibrary.FMUStepFinished
A callback for when the step is finished.-
Nested classes/interfaces inherited from interface org.ptolemy.fmi.FMILibrary
FMILibrary.FMICallbackAllocateMemory, FMILibrary.FMICallbackFreeMemory, FMILibrary.FMICallbackLogger, FMILibrary.FMIStatus, FMILibrary.FMIStatusKind, FMILibrary.FMIStepFinished
-
-