org.jocl.cloth.utils.gui
Class DeviceHandle

java.lang.Object
  extended by org.jocl.cloth.utils.gui.DeviceHandle

 class DeviceHandle
extends java.lang.Object

An class summarizing a device and its name, to be used inside of Swing components


Constructor Summary
DeviceHandle(org.jocl.cl_device_id device)
          Creates a new handle for the given device
 
Method Summary
(package private)  org.jocl.cl_device_id getDevice()
          Returns the device
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeviceHandle

DeviceHandle(org.jocl.cl_device_id device)
Creates a new handle for the given device

Parameters:
device - The device
Method Detail

getDevice

org.jocl.cl_device_id getDevice()
Returns the device

Returns:
The device

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object