Top Description Inners Constructors Methods
org.lwjgl.opencl

public abstract Class CLReportLiveObjectsAlteraCallback

extends Callback
implements CLReportLiveObjectsAlteraCallbackI
Class Inheritance
All Implemented Interfaces
org.lwjgl.opencl.CLReportLiveObjectsAlteraCallbackI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.opencl.CLReportLiveObjectsAlteraCallback.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Instances of this class may be passed to the ReportLiveObjectsAltera method.

Type


void (*invoke) (
    void *user_data,
    void *obj_ptr,
    char const *type_name,
    cl_uint refcount
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv
CLReportLiveObjectsAlteraCallback(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static CLReportLiveObjectsAlteraCallback

Returns:

the new CLReportLiveObjectsAlteraCallback
create
(long functionPointer)

Creates a CLReportLiveObjectsAlteraCallback instance from the specified function pointer.

public static CLReportLiveObjectsAlteraCallback
create(CLReportLiveObjectsAlteraCallbackI instance)

Creates a CLReportLiveObjectsAlteraCallback instance that delegates to the specified CLReportLiveObjectsAlteraCallbackI instance.

public static CLReportLiveObjectsAlteraCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

CLReportLiveObjectsAlteraCallbackback to summary
protected CLReportLiveObjectsAlteraCallback()
CLReportLiveObjectsAlteraCallbackback to summary
pack-priv CLReportLiveObjectsAlteraCallback(long functionPointer)

Method Detail

createback to summary
public static CLReportLiveObjectsAlteraCallback create(long functionPointer)

Creates a CLReportLiveObjectsAlteraCallback instance from the specified function pointer.

Returns:CLReportLiveObjectsAlteraCallback

the new CLReportLiveObjectsAlteraCallback

createback to summary
public static CLReportLiveObjectsAlteraCallback create(CLReportLiveObjectsAlteraCallbackI instance)

Creates a CLReportLiveObjectsAlteraCallback instance that delegates to the specified CLReportLiveObjectsAlteraCallbackI instance.

createSafeback to summary
public static CLReportLiveObjectsAlteraCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.opencl back to summary

private final Class CLReportLiveObjectsAlteraCallback.Container

extends CLReportLiveObjectsAlteraCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final CLReportLiveObjectsAlteraCallbackI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, CLReportLiveObjectsAlteraCallbackI delegate)

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long
the user_data argument specified to ReportLiveObjectsAltera
user_data
,
long
a pointer to the live object
obj_ptr
,
long
a C string corresponding to the OpenCL API object type. For example, a leaked cl_mem object will have "cl_mem" as its type string.
type_name
,
int
an instantaneous reference count for the object. Consider it to be immediately stale.
refcount
)

Implements org.lwjgl.opencl.CLReportLiveObjectsAlteraCallbackI.invoke.

Reports a live OpenCL API object.
Inherited from org.lwjgl.opencl.CLReportLiveObjectsAlteraCallback:
createcreatecreateSafe

Field Detail

delegateback to summary
private final CLReportLiveObjectsAlteraCallbackI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, CLReportLiveObjectsAlteraCallbackI delegate)

Method Detail

invokeback to summary
public void invoke(long user_data, long obj_ptr, long type_name, int refcount)

Implements org.lwjgl.opencl.CLReportLiveObjectsAlteraCallbackI.invoke.

Doc from org.lwjgl.opencl.CLReportLiveObjectsAlteraCallbackI.invoke.

Reports a live OpenCL API object.

Parameters
user_data:long

the user_data argument specified to ReportLiveObjectsAltera

obj_ptr:long

a pointer to the live object

type_name:long

a C string corresponding to the OpenCL API object type. For example, a leaked cl_mem object will have "cl_mem" as its type string.

refcount:int

an instantaneous reference count for the object. Consider it to be immediately stale.

Annotations
@Override