@FunctionalInterface
public interface CLEventCallbackI
extends org.lwjgl.system.CallbackI.V
SetEventCallback method.
void (*) (
cl_event event,
cl_int event_command_exec_status,
void *user_data
)org.lwjgl.system.CallbackI.B, org.lwjgl.system.CallbackI.D, org.lwjgl.system.CallbackI.F, org.lwjgl.system.CallbackI.I, org.lwjgl.system.CallbackI.J, org.lwjgl.system.CallbackI.N, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.Z| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SIGNATURE |
| Modifier and Type | Method and Description |
|---|---|
default void |
callback(long args) |
default java.lang.String |
getSignature() |
void |
invoke(long event,
int event_command_exec_status,
long user_data)
Will be called when the execution status of the command associated with
event changes to an execution status equal or past the status specified by
command_exec_status. |
default java.lang.String getSignature()
getSignature in interface org.lwjgl.system.CallbackIdefault void callback(long args)
callback in interface org.lwjgl.system.CallbackI.Vvoid invoke(long event,
int event_command_exec_status,
long user_data)
event changes to an execution status equal or past the status specified by
command_exec_status.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 to
event_command_exec_status instead.user_data - the user-specified value that was passed when calling SetEventCallbackCopyright LWJGL. All Rights Reserved. License terms.