de.jreality.toolsystem.raw
Class DeviceSystemTimer

java.lang.Object
  extended by de.jreality.toolsystem.raw.DeviceSystemTimer
All Implemented Interfaces:
PollingDevice, RawDevice

public class DeviceSystemTimer
extends Object
implements RawDevice, PollingDevice

Author:
weissman

Constructor Summary
DeviceSystemTimer()
           
 
Method Summary
 void dispose()
           
 String getName()
           
 void initialize(Viewer viewer, Map<String,Object> config)
           
 ToolEvent mapRawDevice(String rawDeviceName, InputSlot inputDevice)
           
 void poll()
          Perform polling for the device in this method.
 void setEventQueue(ToolEventQueue queue)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeviceSystemTimer

public DeviceSystemTimer()
Method Detail

mapRawDevice

public ToolEvent mapRawDevice(String rawDeviceName,
                              InputSlot inputDevice)
Specified by:
mapRawDevice in interface RawDevice
Returns:
a ToolEvent representing a reasonable initial value for the mapping - that means the source must be the given input slot!

poll

public void poll()
Description copied from interface: PollingDevice
Perform polling for the device in this method.

Specified by:
poll in interface PollingDevice

setEventQueue

public void setEventQueue(ToolEventQueue queue)
Specified by:
setEventQueue in interface RawDevice

dispose

public void dispose()
Specified by:
dispose in interface RawDevice

initialize

public void initialize(Viewer viewer,
                       Map<String,Object> config)
Specified by:
initialize in interface RawDevice

getName

public String getName()
Specified by:
getName in interface RawDevice

toString

public String toString()
Overrides:
toString in class Object