Class RouteLock

  • All Implemented Interfaces:
    Lock

    public class RouteLock
    extends java.lang.Object
    implements Lock
    Lock if any of the SignalHeads controlling traffic over a turnout are not at stop.

    This checks SignalHeads for RED; it locks against Restricting (FLASHRED) but you can change that by overriding the checkSignalClear() method.