Package org.ptolemy.fmi
Interface FMILibrary.FMICallbackLogger
-
- All Superinterfaces:
com.sun.jna.Callback
- All Known Implementing Classes:
FMULibrary.FMULogger
- Enclosing interface:
- FMILibrary
public static interface FMILibrary.FMICallbackLogger extends com.sun.jna.Callback
A interface for the fmiCallbackLogger() function.Derived classes such as FMICallbackFunctions have a static classes that extend this interface and implements Structure.ByReference or Structure.ByValue.
For details about how Callbacks work in JNA, see http://twall.github.com/jna/3.4.0/javadoc/overview-summary.html#callbacks.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
apply(com.sun.jna.Pointer fmiComponent, java.lang.String instanceName, int status, java.lang.String category, java.lang.String message)
Invoke the fmiCallbackLogger() function.
-
-
-
Method Detail
-
apply
void apply(com.sun.jna.Pointer fmiComponent, java.lang.String instanceName, int status, java.lang.String category, java.lang.String message)
Invoke the fmiCallbackLogger() function.- Parameters:
fmiComponent
- The fmiComponentinstanceName
- The name of the instance.status
- One of FMIStatus.category
- The category of the message, typically defined by the tool that created the fmu.message
- The printf style format string
-
-