Top Description Inners Constructors Methods
org.lwjgl.util.opus

public abstract Class OPTellFunc

extends Callback
implements OPTellFuncI
Class Inheritance
All Implemented Interfaces
org.lwjgl.util.opus.OPTellFuncI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.util.opus.OPTellFunc.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Instances of this class may be set to OpusFileCallbacks.

Type


long long (*invoke) (
    void *_stream
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static OPTellFunc

Returns:

the new OPTellFunc
create
(long functionPointer)

Creates a OPTellFunc instance from the specified function pointer.

public static OPTellFunc
create(OPTellFuncI instance)

Creates a OPTellFunc instance that delegates to the specified OPTellFuncI instance.

public static OPTellFunc
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

OPTellFuncback to summary
protected OPTellFunc()
OPTellFuncback to summary
pack-priv OPTellFunc(long functionPointer)

Method Detail

createback to summary
public static OPTellFunc create(long functionPointer)

Creates a OPTellFunc instance from the specified function pointer.

Returns:OPTellFunc

the new OPTellFunc

createback to summary
public static OPTellFunc create(OPTellFuncI instance)

Creates a OPTellFunc instance that delegates to the specified OPTellFuncI instance.

createSafeback to summary
public static OPTellFunc createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
org.lwjgl.util.opus back to summary

private final Class OPTellFunc.Container

extends OPTellFunc
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final OPTellFuncI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public long
invoke(long _stream)

Implements org.lwjgl.util.opus.OPTellFuncI.invoke.

Obtains the current value of the position indicator for _stream.
Inherited from org.lwjgl.util.opus.OPTellFunc:
createcreatecreateSafe

Field Detail

delegateback to summary
private final OPTellFuncI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public long invoke(long _stream)

Implements org.lwjgl.util.opus.OPTellFuncI.invoke.

Doc from org.lwjgl.util.opus.OPTellFuncI.invoke.

Obtains the current value of the position indicator for _stream.

Returns:long

the current position indicator

Annotations
@Override