org.ptolemy.fmi
Class FMULibrary.FMUStepFinished

java.lang.Object
  extended by org.ptolemy.fmi.FMULibrary.FMUStepFinished
All Implemented Interfaces:
com.sun.jna.Callback, FMILibrary.FMIStepFinished
Enclosing interface:
FMULibrary

public static class FMULibrary.FMUStepFinished
extends java.lang.Object
implements FMILibrary.FMIStepFinished

A callback for when the step is finished.


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.sun.jna.Callback
com.sun.jna.Callback.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from interface com.sun.jna.Callback
FORBIDDEN_NAMES, METHOD_NAME
 
Constructor Summary
FMULibrary.FMUStepFinished()
           
 
Method Summary
 void apply(com.sun.jna.Pointer fmiComponent, int status)
          The step is finished.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FMULibrary.FMUStepFinished

public FMULibrary.FMUStepFinished()
Method Detail

apply

public void apply(com.sun.jna.Pointer fmiComponent,
                  int status)
The step is finished.

Specified by:
apply in interface FMILibrary.FMIStepFinished
Parameters:
fmiComponent - The FMI component that was instantiate.
status - The status flag. See the FMI documentation.