Top Description Inners Constructors Methods
org.lwjgl.assimp

public abstract Class AIFileOpenProc

extends Callback
implements AIFileOpenProcI
Class Inheritance
All Implemented Interfaces
org.lwjgl.assimp.AIFileOpenProcI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.assimp.AIFileOpenProc.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Type


struct aiFile * (*invoke) (
    struct aiFileIO *pFileIO,
    char const *fileName,
    char const *openMode
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static AIFileOpenProc

Returns:

the new AIFileOpenProc
create
(long functionPointer)

Creates a AIFileOpenProc instance from the specified function pointer.

public static AIFileOpenProc
create(AIFileOpenProcI instance)

Creates a AIFileOpenProc instance that delegates to the specified AIFileOpenProcI instance.

public static AIFileOpenProc
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

AIFileOpenProcback to summary
protected AIFileOpenProc()
AIFileOpenProcback to summary
pack-priv AIFileOpenProc(long functionPointer)

Method Detail

createback to summary
public static AIFileOpenProc create(long functionPointer)

Creates a AIFileOpenProc instance from the specified function pointer.

Returns:AIFileOpenProc

the new AIFileOpenProc

createback to summary
public static AIFileOpenProc create(AIFileOpenProcI instance)

Creates a AIFileOpenProc instance that delegates to the specified AIFileOpenProcI instance.

createSafeback to summary
public static AIFileOpenProc createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.assimp back to summary

private final Class AIFileOpenProc.Container

extends AIFileOpenProc
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final AIFileOpenProcI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public long
invoke(long
FileIO pointer
pFileIO
,
long
name of the file to be opened
fileName
,
long
mode in which to open the file
openMode
)

Implements org.lwjgl.assimp.AIFileOpenProcI.invoke.

File open procedure
Inherited from org.lwjgl.assimp.AIFileOpenProc:
createcreatecreateSafe

Field Detail

delegateback to summary
private final AIFileOpenProcI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public long invoke(long pFileIO, long fileName, long openMode)

Implements org.lwjgl.assimp.AIFileOpenProcI.invoke.

Doc from org.lwjgl.assimp.AIFileOpenProcI.invoke.

File open procedure

Parameters
pFileIO:long

FileIO pointer

fileName:long

name of the file to be opened

openMode:long

mode in which to open the file

Returns:long

pointer to an AIFile structure, or NULL if the file could not be opened

Annotations
@Override