public class DeviceSystemTimer extends Object implements RawDevice, PollingDevice
Constructor and Description |
---|
DeviceSystemTimer() |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
String |
getName() |
void |
initialize(Viewer viewer,
Map<String,Object> config)
Basically the actual constructor.
|
ToolEvent |
mapRawDevice(String rawDeviceName,
InputSlot inputDevice) |
void |
poll(long ct)
Perform polling for the device in this method.
|
void |
setEventQueue(ToolEventQueue queue)
Here the ToolEventQueue that has a thread running is attached to the device.
|
String |
toString() |
public ToolEvent mapRawDevice(String rawDeviceName, InputSlot inputDevice)
mapRawDevice
in interface RawDevice
public void poll(long ct)
PollingDevice
poll
in interface PollingDevice
public void setEventQueue(ToolEventQueue queue)
RawDevice
setEventQueue
in interface RawDevice
public void initialize(Viewer viewer, Map<String,Object> config)
RawDevice
initialize
in interface RawDevice