Top Description Inners Constructors Methods
org.lwjgl.assimp

public abstract Class AILogStreamCallback

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

Type


void (*invoke) (
    char const *message,
    char *user
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static AILogStreamCallback

Returns:

the new AILogStreamCallback
create
(long functionPointer)

Creates a AILogStreamCallback instance from the specified function pointer.

public static AILogStreamCallback
create(AILogStreamCallbackI instance)

Creates a AILogStreamCallback instance that delegates to the specified AILogStreamCallbackI instance.

public static AILogStreamCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

AILogStreamCallbackback to summary
protected AILogStreamCallback()
AILogStreamCallbackback to summary
pack-priv AILogStreamCallback(long functionPointer)

Method Detail

createback to summary
public static AILogStreamCallback create(long functionPointer)

Creates a AILogStreamCallback instance from the specified function pointer.

Returns:AILogStreamCallback

the new AILogStreamCallback

createback to summary
public static AILogStreamCallback create(AILogStreamCallbackI instance)

Creates a AILogStreamCallback instance that delegates to the specified AILogStreamCallbackI instance.

createSafeback to summary
public static AILogStreamCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.assimp back to summary

private final Class AILogStreamCallback.Container

extends AILogStreamCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final AILogStreamCallbackI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long
The message to be logged
message
,
long
The user data from the log stream
user
)

Implements org.lwjgl.assimp.AILogStreamCallbackI.invoke.

Callback to be called for log stream messages
Inherited from org.lwjgl.assimp.AILogStreamCallback:
createcreatecreateSafe

Field Detail

delegateback to summary
private final AILogStreamCallbackI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public void invoke(long message, long user)

Implements org.lwjgl.assimp.AILogStreamCallbackI.invoke.

Doc from org.lwjgl.assimp.AILogStreamCallbackI.invoke.

Callback to be called for log stream messages

Parameters
message:long

The message to be logged

user:long

The user data from the log stream

Annotations
@Override