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

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

protected class RCX.BooleanConversionValueDefinition
extends RCX.PollSensorValueDefinition

Definition for the standard booleanconversion of the RCX. Instead of configuring the sensor to boolean and then polling the regular value, the source for the standard boolean converion, which exists for every sensor type, is used. However, the sensor is configured to be a touch-sensor, 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.BooleanConversionValueDefinition(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.BooleanConversionValueDefinition

public RCX.BooleanConversionValueDefinition(byte argument)
Method Detail

getConfigurePackets

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