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

public abstract Class YGLogger

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

Type


int (*invoke) (
    YGConfigRef config,
    YGNodeRef node,
    YGLogLevel level,
    char const *format,
    va_list args
)

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static YGLogger

Returns:

the new YGLogger
create
(long functionPointer)

Creates a YGLogger instance from the specified function pointer.

public static YGLogger
create(YGLoggerI instance)

Creates a YGLogger instance that delegates to the specified YGLoggerI instance.

public static YGLogger
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

YGLoggerback to summary
protected YGLogger()
YGLoggerback to summary
pack-priv YGLogger(long functionPointer)

Method Detail

createback to summary
public static YGLogger create(long functionPointer)

Creates a YGLogger instance from the specified function pointer.

Returns:YGLogger

the new YGLogger

createback to summary
public static YGLogger create(YGLoggerI instance)

Creates a YGLogger instance that delegates to the specified YGLoggerI instance.

createSafeback to summary
public static YGLogger createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

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

private final Class YGLogger.Container

extends YGLogger
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final YGLoggerI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public int
invoke(long config, long node, int level, long format, long args)

Implements org.lwjgl.util.yoga.YGLoggerI.invoke.

Inherited from org.lwjgl.util.yoga.YGLogger:
createcreatecreateSafe

Field Detail

delegateback to summary
private final YGLoggerI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public int invoke(long config, long node, int level, long format, long args)

Implements org.lwjgl.util.yoga.YGLoggerI.invoke.

Annotations
@Override