Top Description Inners Constructors Methods
org.lwjgl.cuda

public abstract Class CUstreamCallback

extends Callback
implements CUstreamCallbackI
Class Inheritance
All Implemented Interfaces
org.lwjgl.cuda.CUstreamCallbackI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.cuda.CUstreamCallback.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Type


void (*invoke) (
    CUstream hStream,
    CUresult status,
    void *userData
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static CUstreamCallback

Returns:

the new CUstreamCallback
create
(long functionPointer)

Creates a CUstreamCallback instance from the specified function pointer.

public static CUstreamCallback
create(CUstreamCallbackI instance)

Creates a CUstreamCallback instance that delegates to the specified CUstreamCallbackI instance.

public static CUstreamCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

CUstreamCallbackback to summary
protected CUstreamCallback()
CUstreamCallbackback to summary
pack-priv CUstreamCallback(long functionPointer)

Method Detail

createback to summary
public static CUstreamCallback create(long functionPointer)

Creates a CUstreamCallback instance from the specified function pointer.

Returns:CUstreamCallback

the new CUstreamCallback

createback to summary
public static CUstreamCallback create(CUstreamCallbackI instance)

Creates a CUstreamCallback instance that delegates to the specified CUstreamCallbackI instance.

createSafeback to summary
public static CUstreamCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.cuda back to summary

private final Class CUstreamCallback.Container

extends CUstreamCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final CUstreamCallbackI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long hStream, int status, long userData)

Implements org.lwjgl.cuda.CUstreamCallbackI.invoke.

CUDA stream callback.
Inherited from org.lwjgl.cuda.CUstreamCallback:
createcreatecreateSafe

Field Detail

delegateback to summary
private final CUstreamCallbackI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public void invoke(long hStream, int status, long userData)

Implements org.lwjgl.cuda.CUstreamCallbackI.invoke.

Doc from org.lwjgl.cuda.CUstreamCallbackI.invoke.

CUDA stream callback.

Annotations
@Override