Package org.lwjgl.cuda
Class CUstreamCallback
- java.lang.Object
-
- org.lwjgl.system.Callback
-
- org.lwjgl.cuda.CUstreamCallback
-
- All Implemented Interfaces:
java.lang.AutoCloseable,CUstreamCallbackI,org.lwjgl.system.CallbackI,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public abstract class CUstreamCallback extends org.lwjgl.system.Callback implements CUstreamCallbackI
Instances of this class may be passed to theStreamAddCallbackmethod.Type
void (*CUstreamCallbackI.invoke(long, int, long)) ( CUstream hStream, CUresult status, void *userData )
-
-
Field Summary
-
Fields inherited from interface org.lwjgl.cuda.CUstreamCallbackI
CIF
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CUstreamCallbackcreate(long functionPointer)Creates aCUstreamCallbackinstance from the specified function pointer.static CUstreamCallbackcreate(CUstreamCallbackI instance)Creates aCUstreamCallbackinstance that delegates to the specifiedCUstreamCallbackIinstance.static CUstreamCallbackcreateSafe(long functionPointer)-
Methods inherited from class org.lwjgl.system.Callback
address, equals, free, free, get, getSafe, hashCode, toString
-
Methods inherited from interface org.lwjgl.cuda.CUstreamCallbackI
callback, getCallInterface, invoke
-
-
-
-
Method Detail
-
create
public static CUstreamCallback create(long functionPointer)
Creates aCUstreamCallbackinstance from the specified function pointer.- Returns:
- the new
CUstreamCallback
-
createSafe
@Nullable public static CUstreamCallback createSafe(long functionPointer)
-
create
public static CUstreamCallback create(CUstreamCallbackI instance)
Creates aCUstreamCallbackinstance that delegates to the specifiedCUstreamCallbackIinstance.
-
-