Package org.lwjgl.opencl
Interface CLEventCallbackI
-
- All Superinterfaces:
- CallbackI, CallbackI.V, Pointer
- All Known Implementing Classes:
- CLEventCallback
@FunctionalInterface public interface CLEventCallbackI extends CallbackI.V
Instances of this interface may be passed to theSetEventCallbackmethod.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
CallbackI.B, CallbackI.D, CallbackI.F, CallbackI.I, CallbackI.J, CallbackI.P, CallbackI.S, CallbackI.V, CallbackI.Z
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description default longaddress()Returns the raw pointer address as alongvalue.default voidcallback(long args)Will be called by native code.voidinvoke(long event, int event_command_exec_status, long user_data)Will be called when the execution status of the command associated witheventchanges to an execution status equal or past the status specified bycommand_exec_status."
-
-
-
Method Detail
-
address
default long address()
Description copied from interface:PointerReturns the raw pointer address as alongvalue.
-
callback
default void callback(long args)
Description copied from interface:CallbackI.VWill be called by native code.- Specified by:
callbackin interfaceCallbackI.V- Parameters:
args- pointer to aDCArgsiterator
-
invoke
void invoke(long event, int event_command_exec_status, long user_data)Will be called when the execution status of the command associated witheventchanges to an execution status equal or past the status specified bycommand_exec_status."- Parameters:
event- the eventevent_command_exec_status- represents the execution status of command for which this callback function is invoked. If the callback is called as the result of the command associated with event being abnormally terminated, an appropriate error code for the error that caused the termination will be passed toevent_command_exec_statusinstead.user_data- the user-specified value that was passed when callingSetEventCallback
-
-