apps.cornwall
Class CrrSection

java.lang.Object
  extended by jmri.jmrit.automat.AbstractAutomaton
      extended by apps.cornwall.CrrSection
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
CrrSection10A, CrrSection10B, CrrSection11A, CrrSection11B, CrrSection12A, CrrSection12B, CrrSection13A, CrrSection13B, CrrSection14A, CrrSection14B, CrrSection15A, CrrSection15B, CrrSection16A, CrrSection16B, CrrSection17A, CrrSection17B, CrrSection17C, CrrSection18A, CrrSection18B, CrrSection19A, CrrSection19B, CrrSection1A, CrrSection1B, CrrSection20A, CrrSection20B, CrrSection21A, CrrSection21B, CrrSection22A, CrrSection2A, CrrSection2B, CrrSection3A, CrrSection3B, CrrSection4A, CrrSection4B, CrrSection5A, CrrSection5B, CrrSection6A, CrrSection6B, CrrSection7A, CrrSection7B, CrrSection8A, CrrSection8B, CrrSection9A, CrrSection9B

public abstract class CrrSection
extends AbstractAutomaton

Abstract base class for Cornwall RR automation.

Defines useful constants, and handles basic structure of hte update process.

Author:
Bob Jacobsen Copyright (C) 2003

Nested Class Summary
 
Nested classes/interfaces inherited from class jmri.jmrit.automat.AbstractAutomaton
AbstractAutomaton.MsgFrame
 
Field Summary
 
Fields inherited from class jmri.jmrit.automat.AbstractAutomaton
promptOnWait
 
Method Summary
protected  boolean handle()
          Watch sensors, and when it changes adjust outputs to match.
protected  void init()
          Obtain the output object, sets the output to an initial state to make sure everything is consistent at the start.
 
Methods inherited from class jmri.jmrit.automat.AbstractAutomaton
getCount, getName, getThrottle, readServiceModeCV, run, setName, setTurnouts, start, stop, wait, waitChange, waitMsec, waitSensorActive, waitSensorActive, waitSensorChange, waitSensorChange, waitSensorInactive, waitSensorInactive, waitSensorState, waitSensorState, waitTurnoutConsistent, writeOpsModeCV, writeServiceModeCV
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

init

protected void init()
Obtain the output object, sets the output to an initial state to make sure everything is consistent at the start.

Overrides:
init in class AbstractAutomaton

handle

protected boolean handle()
Watch sensors, and when it changes adjust outputs to match.

Overrides:
handle in class AbstractAutomaton
Returns:
Always returns true to continue operation


Copyright © 1997 - 2009 JMRI Community.
JMRI, DecoderPro, PanelPro, SoundPro, DispatcherPro and associated logos are our trademarks.

Additional information on copyright, trademarks and licenses is linked here.
Site hosted by: Get JMRI Model Railroad Interface at SourceForge.net. Fast, secure and Free Open Source software downloads