de.jaetzold.art.platform.lego
Class RCX.RawValueDefinition

java.lang.Object
  |
  +--de.jaetzold.art.platform.lego.RCX.PollSensorValueDefinition
        |
        +--de.jaetzold.art.platform.lego.RCX.RawValueDefinition
All Implemented Interfaces:
RCX.SensorValueDefinition
Enclosing class:
RCX

protected class RCX.RawValueDefinition
extends RCX.PollSensorValueDefinition

Definition for the standard raw value of the RCX. Instead of configuring the sensor to raw and then polling the regular value, the source for the raw value, which exists for every sensor type, is used. However, the sensor is configured to a raw, but that should cause no problems if this is changed later.


Fields inherited from class de.jaetzold.art.platform.lego.RCX.PollSensorValueDefinition
mapPacket, packet, sensorNumber
 
Constructor Summary
RCX.RawValueDefinition(byte argument)
           
 
Method Summary
 byte[][] getConfigurePackets()
           
 
Methods inherited from class de.jaetzold.art.platform.lego.RCX.PollSensorValueDefinition
createEvent, equals, getMapPacket, getPacket, hashCode, parseResult
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RCX.RawValueDefinition

public RCX.RawValueDefinition(byte argument)
Method Detail

getConfigurePackets

public byte[][] getConfigurePackets()
Overrides:
getConfigurePackets in class RCX.PollSensorValueDefinition