de.jaetzold.art.platform
Class ForwardingSensorPeer
java.lang.Object
|
+--de.jaetzold.art.platform.BaseSensorPeer
|
+--de.jaetzold.art.platform.ForwardingSensorPeer
- All Implemented Interfaces:
- SensorPeer
- public abstract class ForwardingSensorPeer
- extends BaseSensorPeer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
target
protected SensorPeer target
ForwardingSensorPeer
public ForwardingSensorPeer(SensorPeer target)
getValue
public double getValue()
- Description copied from interface:
SensorPeer
- Returns the value this peer represents as a double.
isConnected
public boolean isConnected()
- Description copied from class:
BaseSensorPeer
- Returns true.
- Overrides:
isConnected
in class BaseSensorPeer
- Following copied from interface:
de.jaetzold.art.platform.SensorPeer
- See Also:
RobotInterface.isConnected()
getDeliversFloatingPoint
public boolean getDeliversFloatingPoint()
- Description copied from class:
BaseSensorPeer
- Returns true.
- Overrides:
getDeliversFloatingPoint
in class BaseSensorPeer
enableEvent
public void enableEvent(SensorEventDescriptor eventDescriptor)
- Description copied from interface:
SensorPeer
- Enable delivering the Events described by the given
SensorEventDescriptor
. Not fully used. Implementors may enable more than the descibed Events an this is pretty much "all" in the current implementations.
- Overrides:
enableEvent
in class BaseSensorPeer
- Following copied from interface:
de.jaetzold.art.platform.SensorPeer
- See Also:
SensorEventDescriptor
disableEvent
public void disableEvent(SensorEventDescriptor eventDescriptor)
- Description copied from interface:
SensorPeer
- Disable delivering the Events described by the given
SensorEventDescriptor
. Not fully used. Implementors may disable less than the descibed Events an this is pretty much "none" in the current implementations.
- Overrides:
disableEvent
in class BaseSensorPeer
- Following copied from interface:
de.jaetzold.art.platform.SensorPeer
- See Also:
SensorEventDescriptor