java.lang.Object
org.pqt.autorib.instr.InstrRequest
org.pqt.autorib.instr.InstrBlockRequest
org.pqt.autorib.instr.InstrLights
- public class InstrLights
- extends InstrBlockRequest
|
Method Summary |
boolean |
filter(org.pqt.autorib.rib.RIBLight light)
return true if the instructions in the block should be executed
for the given light - return false by default - subclasses
should override this if they handle lights |
void |
read(InstrWReader in)
read the instruction call and store it |
void |
write(java.io.Writer out)
write out this instruction and its parameters - used for
debugging only |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InstrLights
public InstrLights()
InstrLights
public InstrLights(InstrWReader in)
throws java.io.IOException,
org.pqt.autorib.tokenizer.FormatException
read
public void read(InstrWReader in)
throws java.io.IOException,
org.pqt.autorib.tokenizer.FormatException
- Description copied from class:
InstrRequest
- read the instruction call and store it
- Specified by:
read in class InstrRequest
write
public void write(java.io.Writer out)
throws java.io.IOException
- Description copied from class:
InstrRequest
- write out this instruction and its parameters - used for
debugging only
- Specified by:
write in class InstrRequest
filter
public boolean filter(org.pqt.autorib.rib.RIBLight light)
- Description copied from class:
InstrBlockRequest
- return true if the instructions in the block should be executed
for the given light - return false by default - subclasses
should override this if they handle lights
- Overrides:
filter in class InstrBlockRequest