public static interface FMILibrary.FMICallbackLogger
extends com.sun.jna.Callback
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.
Modifier and Type | Method and 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.
|
void apply(com.sun.jna.Pointer fmiComponent, java.lang.String instanceName, int status, java.lang.String category, java.lang.String message)
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