Uses of Class
jmri.jmrit.ctc.LockedRoute
Packages that use LockedRoute
Package
Description
The CTC system provides the ability to create and run prototypical CTC dispatching.
-
Uses of LockedRoute in jmri.jmrit.ctc
Fields in jmri.jmrit.ctc declared as LockedRouteMethods in jmri.jmrit.ctc that return LockedRouteModifier and TypeMethodDescriptionLockedRoutesManager.checkRouteAndAllocateIfAvailable(HashSet<Sensor> sensors, String osSectionDescription, String ruleDescription, boolean rightTraffic) Call this routine with a set of resources that need to be checked against the presently allocated resources.Methods in jmri.jmrit.ctc with parameters of type LockedRouteModifier and TypeMethodDescriptionLockedRoute.anyInCommon(LockedRoute lockedRoute, boolean checkDirection, boolean rightTraffic) Checks the sensors passed in as object type "LockedRoute" against the sensors in this object.voidLockedRoutesManager.cancelLockedRoute(LockedRoute lockedRoute) This routine frees all resources allocated by the passed lockedRoute (listeners primarily) and then removes it from our "_mArrayListOfLockedRoutes".voidLockedRoute.mergeRoutes(LockedRoute newLockedRoute) The higher level called us to merge "newLockedRoute" sensors into "this" object.