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

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

protected class RCX.StateConversionValueDefinition
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. Note: this is the only normal SensorValueDefinition which does not configure the sensor.


Fields inherited from class de.jaetzold.art.platform.lego.RCX.PollSensorValueDefinition
mapPacket, packet, sensorNumber
 
Constructor Summary
RCX.StateConversionValueDefinition(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.StateConversionValueDefinition

public RCX.StateConversionValueDefinition(byte argument)
Method Detail

getConfigurePackets

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