Class RouteLock

java.lang.Object
jmri.jmrit.ussctc.RouteLock
All Implemented Interfaces:
Lock

public class RouteLock
extends 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.