Top Description Inners Constructors Methods
org.lwjgl.cuda

public abstract Class CUhostFn

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

Type


void (*invoke) (
    void *userData
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static CUhostFn

Returns:

the new CUhostFn
create
(long functionPointer)

Creates a CUhostFn instance from the specified function pointer.

public static CUhostFn
create(CUhostFnI instance)

Creates a CUhostFn instance that delegates to the specified CUhostFnI instance.

public static CUhostFn
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

CUhostFnback to summary
protected CUhostFn()
CUhostFnback to summary
pack-priv CUhostFn(long functionPointer)

Method Detail

createback to summary
public static CUhostFn create(long functionPointer)

Creates a CUhostFn instance from the specified function pointer.

Returns:CUhostFn

the new CUhostFn

createback to summary
public static CUhostFn create(CUhostFnI instance)

Creates a CUhostFn instance that delegates to the specified CUhostFnI instance.

createSafeback to summary
public static CUhostFn createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.cuda back to summary

private final Class CUhostFn.Container

extends CUhostFn
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final CUhostFnI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long userData)

Implements org.lwjgl.cuda.CUhostFnI.invoke.

Inherited from org.lwjgl.cuda.CUhostFn:
createcreatecreateSafe

Field Detail

delegateback to summary
private final CUhostFnI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public void invoke(long userData)

Implements org.lwjgl.cuda.CUhostFnI.invoke.

Annotations
@Override