SetEventCallback method.
void (*invoke) (
cl_event event,
cl_int event_command_exec_status,
void *user_data
)
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| protected | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public static CLEventCallback | Returns: the newCLEventCallbackCreates a |
| public static CLEventCallback | create(CLEventCallbackI instance)
Creates a |
| public static CLEventCallback |
| CLEventCallback | back to summary |
|---|---|
| protected CLEventCallback() | |
| CLEventCallback | back to summary |
|---|---|
| pack-priv CLEventCallback(long functionPointer) | |
| create | back to summary |
|---|---|
| public static CLEventCallback create(long functionPointer) Creates a
| |
| create | back to summary |
|---|---|
| public static CLEventCallback create(CLEventCallbackI instance) Creates a | |
| createSafe | back to summary |
|---|---|
| public static CLEventCallback createSafe(long functionPointer) Like
| |
| Modifier and Type | Field and Description |
|---|---|
| private final CLEventCallbackI |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invoke(long
the event event, int 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, long event_command_exec_status instead.the user-specified value that was passed when calling user_data)SetEventCallbackImplements org. event changes to an execution status equal or past the status specified by
command_exec_status.
|
| delegate | back to summary |
|---|---|
| private final CLEventCallbackI delegate | |
| Container | back to summary |
|---|---|
| pack-priv Container(long functionPointer, CLEventCallbackI delegate) | |
| invoke | back to summary |
|---|---|
| public void invoke(long event, int event_command_exec_status, long user_data) Implements org. Doc from org. Will be called when the execution status of the command associated with
| |