Package jmri.jmrit.ctc
The CTC system provides the ability to create and run prototypical CTC dispatching.
The data is stored in the standard PanelPro xml files. The data classes have references to JMRI beans. There are 3 CTC NBH... classes which act as wrappers to the NamedBeanHandles for the JMRI NamedBeans. The NBH... classes encapsulate the NamedBeanHandles to make program access easier.
A list of each NBH type is maintained in CtcManager. This provides a single location to find the NBH object for a particular name. To maintain consistency, there can only be one NBH for each name. When a NamedBeanHandle is renamed, the new name is added to the list using the same NBH object. This way code that has the name string can still find the object.
-
Interface Summary Interface Description SignalDirectionIndicatorsInterface -
Class Summary Class Description Bundle Provides standard access for resource bundles in a package.CallOn CodeButtonHandler This is the "master" class that handles everything when a code button is pressed.CodeButtonSimulator CTCConstants CTCExceptionBuffer Most times the user does not have the System Console displayed when the CTC system is being started up.CTCFiles CTC File utilityCTCMain CtcManager Start the CtcManager and register with the instance and configuration managers.CtcRunAction Swing action to create and register the CTC Run Time.CtcRunStartup StartupActionFactory
for theCtcEditorAction
.Fleeting IndicationLockingSignals LockedRoute Each of these objects describe a route consisting of all of the occupancy sensors(s) that specify a route.LockedRoutesManager This object manages all of the active routes.NBHSensor This object attempts to "extend" (implements) Sensor functionality that is needed by the CTC system.NBHSignal Provide access to both signal masts and signal heads for the CTC system.NBHTurnout This object additionally supports "inverted feedback", so that when someone calls "getKnownState", (typically my own code in this CTC project) we return the "adjusted" value based upon "inverted feedback".RequestedDirectionObserved This object ONLY maintains ONE property: _mRequestedDirection.SignalDirectionIndicators SignalDirectionIndicatorsNull SignalDirectionLever SignalDirectionLever.LNR_NBHSensors SwitchDirectionIndicators SwitchDirectionLever SwitchIndicatorsRoute TrafficLocking TrafficLockingInfo TurnoutLock This only works with Digitrax DS54's and DS64's configured to LOCALLY change the switch via either a pushbutton or toggle switch. -
Enum Summary Enum Description CTCExceptionBuffer.ExceptionBufferRecordSeverity LockedRoute.AnyInCommonReturn -
Exception Summary Exception Description CTCException