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..

Version:
$Id: FMULibrary.java 66133 2013-04-25 21:59:22Z cxh $
Author:
Christopher Brooks
Accepted Rating:
Red (cxh)
Proposed Rating:
Red (cxh)

Nested Class Summary
static class FMULibrary.FMUAllocateMemory
          Allocate memory.
static class FMULibrary.FMUFreeMemory
          A callback 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
 
Nested classes/interfaces inherited from interface com.sun.jna.Library
com.sun.jna.Library.Handler
 
Field Summary
 
Fields inherited from interface com.sun.jna.Library
OPTION_ALLOW_OBJECTS, OPTION_CALLING_CONVENTION, OPTION_FUNCTION_MAPPER, OPTION_INVOCATION_MAPPER, OPTION_OPEN_FLAGS, OPTION_STRUCTURE_ALIGNMENT, OPTION_TYPE_MAPPER