Top Description Fields Constructors Methods
org.lwjgl.opencl

public abstract Class CLContextCallback

extends PointerWrapperAbstract
Class Inheritance
Imports
org.lwjgl.PointerWrapperAbstract, java.nio.ByteBuffer

Instances of this class can be used to receive OpenCL context error notifications.
Author
Spasi

Field Summary

Modifier and TypeField and Description
private final boolean
Inherited from org.lwjgl.PointerWrapperAbstract:
pointer

Constructor Summary

AccessConstructor and Description
protected
protected
CLContextCallback(final long pointer)

This constructor allows non-LWJGL implementations.

Method Summary

Modifier and TypeMethod and Description
protected abstract void
handleMessage(String
the error description
errinfo
,
ByteBuffer
optional error data (may be null)
private_info
)

The callback method.

pack-priv final boolean
Inherited from org.lwjgl.PointerWrapperAbstract:
checkValidequalsgetPointerhashCodeisValidtoString

Field Detail

customback to summary
private final boolean custom

Constructor Detail

CLContextCallbackback to summary
protected CLContextCallback()
CLContextCallbackback to summary
protected CLContextCallback(final long pointer)

This constructor allows non-LWJGL implementations.

Method Detail

handleMessageback to summary
protected abstract void handleMessage(String errinfo, ByteBuffer private_info)

The callback method.

Parameters
errinfo:String

the error description

private_info:ByteBuffer

optional error data (may be null)

isCustomback to summary
pack-priv final boolean isCustom()