Top Description Inners Constructors Methods
org.lwjgl.system.rpmalloc

public abstract Class RPErrorCallback

extends Callback
implements RPErrorCallbackI
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.rpmalloc.RPErrorCallbackI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.system.rpmalloc.RPErrorCallback.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Instances of this class may be set to the RPMallocConfig struct.

Type


void (*invoke) (
    char const *message
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static RPErrorCallback

Returns:

the new RPErrorCallback
create
(long functionPointer)

Creates a RPErrorCallback instance from the specified function pointer.

public static RPErrorCallback
create(RPErrorCallbackI instance)

Creates a RPErrorCallback instance that delegates to the specified RPErrorCallbackI instance.

public static RPErrorCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

RPErrorCallbackback to summary
protected RPErrorCallback()
RPErrorCallbackback to summary
pack-priv RPErrorCallback(long functionPointer)

Method Detail

createback to summary
public static RPErrorCallback create(long functionPointer)

Creates a RPErrorCallback instance from the specified function pointer.

Returns:RPErrorCallback

the new RPErrorCallback

createback to summary
public static RPErrorCallback create(RPErrorCallbackI instance)

Creates a RPErrorCallback instance that delegates to the specified RPErrorCallbackI instance.

createSafeback to summary
public static RPErrorCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.system.rpmalloc back to summary

private final Class RPErrorCallback.Container

extends RPErrorCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final RPErrorCallbackI

Constructor Summary

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

Method Summary

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

Implements org.lwjgl.system.rpmalloc.RPErrorCallbackI.invoke.

Called when an assert fails, if asserts are enabled.
Inherited from org.lwjgl.system.rpmalloc.RPErrorCallback:
createcreatecreateSafe

Field Detail

delegateback to summary
private final RPErrorCallbackI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public void invoke(long message)

Implements org.lwjgl.system.rpmalloc.RPErrorCallbackI.invoke.

Doc from org.lwjgl.system.rpmalloc.RPErrorCallbackI.invoke.

Called when an assert fails, if asserts are enabled. Will use the standard assert() if this is not set.

Annotations
@Override