de.jaetzold.art.platform.lego
Class Mindstorms.RCXRawSensorPeer
java.lang.Object
|
+--de.jaetzold.art.platform.BaseSensorPeer
|
+--de.jaetzold.art.platform.lego.Mindstorms.RCXRawSensorPeer
- All Implemented Interfaces:
- SensorPeer
- Direct Known Subclasses:
- Mindstorms.MSLightSensorPeer, Mindstorms.RCXActuatorPeer, Mindstorms.RCXStateSensorPeer
- Enclosing class:
- Mindstorms
- protected class Mindstorms.RCXRawSensorPeer
- extends BaseSensorPeer
Field Summary |
protected byte |
inputID
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
inputID
protected byte inputID
Mindstorms.RCXRawSensorPeer
protected Mindstorms.RCXRawSensorPeer(byte inputID,
RCX.SensorValueDefinition valueDefinition)
Mindstorms.RCXRawSensorPeer
public Mindstorms.RCXRawSensorPeer(byte inputID)
getDeliversFloatingPoint
public boolean getDeliversFloatingPoint()
- Description copied from class:
BaseSensorPeer
- Returns true.
- Overrides:
getDeliversFloatingPoint
in class BaseSensorPeer
getValue
public double getValue()
- Description copied from interface:
SensorPeer
- Returns the value this peer represents as a double.
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
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()