Top Description Fields Constructors Methods
com.jogamp.opencl

public abstract Class CLObject

extends Object
Class Inheritance
Known Direct Subclasses
com.jogamp.opencl.CLDevice, com.jogamp.opencl.CLObjectResource

Common superclass for all OpenCL objects.
Author
Michael Bien

Field Summary

Modifier and TypeField and Description
protected CLContext
public final long
ID

The OpenCL object handle.

Constructor Summary

AccessConstructor and Description
pack-priv
CLObject(final long ID)

pack-priv
CLObject(final CLContext context, final long ID)

Method Summary

Modifier and TypeMethod and Description
public CLContext
getContext()

Returns the context for this OpenCL object.

public long
getID()

Returns the OpenCL object handle

public CLPlatform
getPlatform()

Returns the platform for this OpenCL object.

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

contextback to summary
protected CLContext context
IDback to summary
public final long ID

The OpenCL object handle.

Constructor Detail

CLObjectback to summary
pack-priv CLObject(final long ID)
CLObjectback to summary
pack-priv CLObject(final CLContext context, final long ID)

Method Detail

getContextback to summary
public CLContext getContext()

Returns the context for this OpenCL object.

getIDback to summary
public long getID()

Returns the OpenCL object handle

getPlatformback to summary
public CLPlatform getPlatform()

Returns the platform for this OpenCL object.

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override