com.jogamp.opencl
Class CLObject

java.lang.Object
  extended by com.jogamp.opencl.CLObject
Direct Known Subclasses:
CLCommandQueue, CLContext, CLDevice, CLEvent, CLKernel, CLMemory, CLProgram, CLSampler

public abstract class CLObject
extends Object

Common superclass for all OpenCL objects.

Author:
Michael Bien

Field Summary
protected  CLContext context
           
 long ID
          The OpenCL object handle.
 
Method Summary
 CLContext getContext()
          Returns the context for this OpenCL object.
 long getID()
          Returns the OpenCL object handle
 CLPlatform getPlatform()
          Returns the platform for this OpenCL object.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ID

public final long ID
The OpenCL object handle.


context

protected CLContext context
Method Detail

getContext

public CLContext getContext()
Returns the context for this OpenCL object.


getPlatform

public CLPlatform getPlatform()
Returns the platform for this OpenCL object.


getID

public long getID()
Returns the OpenCL object handle


toString

public String toString()
Overrides:
toString in class Object