Uses of Class
jmri.jmrit.dispatcher.ActiveTrain
-
Packages that use ActiveTrain Package Description jmri.jmrit.dispatcher jmri.jmrit.logixng.util -
-
Uses of ActiveTrain in jmri.jmrit.dispatcher
Fields in jmri.jmrit.dispatcher declared as ActiveTrain Modifier and Type Field Description (package private) ActiveTrain
DispatcherFrame.HeldMastDetails. at
Methods in jmri.jmrit.dispatcher that return ActiveTrain Modifier and Type Method Description ActiveTrain
DispatcherFrame. createActiveTrain(java.lang.String transitID, java.lang.String trainID, int tSource, java.lang.String startBlockName, int startBlockSectionSequenceNumber, java.lang.String endBlockName, int endBlockSectionSequenceNumber, boolean autoRun, java.lang.String dccAddress, int priority, boolean resetWhenDone, boolean reverseAtEnd, boolean showErrorMessages, JmriJFrame frame, int allocateMethod)
Creates a new ActiveTrain, and registers it with Dispatcher.ActiveTrain
AllocatedSection. getActiveTrain()
protected ActiveTrain
AllocationPlan. getActiveTrain(int i)
protected ActiveTrain
AllocationRequest. getActiveTrain()
ActiveTrain
AutoActiveTrain. getActiveTrain()
(package private) ActiveTrain
DispatcherFrame.HeldMastDetails. getActiveTrain()
ActiveTrain
DispatcherFrame. getActiveTrainForRoster(RosterEntry re)
Methods in jmri.jmrit.dispatcher that return types with arguments of type ActiveTrain Modifier and Type Method Description java.util.List<ActiveTrain>
DispatcherFrame. getActiveTrainsList()
protected java.util.ArrayList<ActiveTrain>
AllocationRequest. getMeetingTrainList()
Methods in jmri.jmrit.dispatcher with parameters of type ActiveTrain Modifier and Type Method Description protected void
DispatcherFrame. addDelayedTrain(ActiveTrain at, int restartType, Sensor delaySensor, boolean resetSensor)
protected void
AllocationRequest. addMeetingTrain(ActiveTrain at)
void
DispatcherFrame. allocateExtraSection(java.awt.event.ActionEvent e, ActiveTrain at)
void
DispatcherFrame. allocateNewActiveTrain(ActiveTrain at)
protected void
DispatcherFrame. allocateNextRequestedForTrain(ActiveTrain at)
protected Section
AutoAllocate. checkBlocksNotInReservedSection(ActiveTrain at, Section sectionToCheck)
protected java.util.List<LayoutTrackExpectedState<LayoutTurnout>>
AutoTurnouts. checkTurnoutsInSection(Section s, int seqNum, Section nextSection, ActiveTrain at, Section prevSection)
Check that all turnouts are correctly set for travel in the designated Section to the next Section.(package private) java.util.List<LayoutTrackExpectedState<LayoutTurnout>>
DispatcherFrame. checkTurnoutStates(Section s, int sSeqNum, Section nextSection, ActiveTrain at, Section prevSection)
boolean
DispatcherFrame. extendActiveTrainsPath(Section s, ActiveTrain at, JmriJFrame jFrame)
Extend the allocation of a section to a active train.protected AllocationRequest
DispatcherFrame. findAllocationRequestInQueue(Section s, int seq, int dir, ActiveTrain at)
protected boolean
DispatcherFrame. hasTrainAnOccupiedSection(ActiveTrain at)
Check an active train has an occupied sectionboolean
DispatcherFrame. isMastHeldByDispatcher(SignalMast sm, ActiveTrain at)
void
DispatcherFrame. newTrainDone(ActiveTrain at)
protected void
DispatcherFrame. removeDelayedTrain(ActiveTrain at)
boolean
DispatcherFrame. removeFromActiveTrainPath(Section s, ActiveTrain at, JmriJFrame jFrame)
protected void
AllocationRequest. removeMeetingTrain(ActiveTrain at)
protected boolean
DispatcherFrame. requestAllocation(ActiveTrain activeTrain, Section section, int direction, int seqNumber, boolean showErrorMessages, JmriJFrame frame)
protected boolean
DispatcherFrame. requestAllocation(ActiveTrain activeTrain, Section section, int direction, int seqNumber, boolean showErrorMessages, JmriJFrame frame, boolean firstAllocation)
Creates an Allocation Request, and registers it with Dispatcherprotected void
AllocationPlan. setActiveTrain(ActiveTrain at, int i)
protected java.util.List<LayoutTrackExpectedState<LayoutTurnout>>
AutoTurnouts. setTurnoutsInSection(Section s, int seqNum, Section nextSection, ActiveTrain at, boolean trustKnownTurnouts, Section prevSection)
Set all turnouts for travel in the designated Section to the next Section.void
DispatcherFrame. terminateActiveTrain(ActiveTrain at)
Deprecated.void
DispatcherFrame. terminateActiveTrain(ActiveTrain at, boolean terminateNow, boolean runNextTrain)
Terminate an Active Train and remove it from the Dispatcher.Constructors in jmri.jmrit.dispatcher with parameters of type ActiveTrain Constructor Description AllocatedSection(Section s, ActiveTrain at, int seq, Section next, int nextSeqNo)
Create an AllocatedSection.AllocationRequest(Section s, int num, int dir, ActiveTrain at)
Create an AllocationRequest.AutoActiveTrain(ActiveTrain at)
Create an AutoActiveTrain.HeldMastDetails(SignalMast sm, ActiveTrain a)
-
Uses of ActiveTrain in jmri.jmrit.logixng.util
Methods in jmri.jmrit.logixng.util that return ActiveTrain Modifier and Type Method Description ActiveTrain
DispatcherActiveTrainManager. createActiveTrain(java.lang.String fileName)
Create an ActiveTrain using the requested train info file.ActiveTrain
DispatcherActiveTrainManager. getActiveTrain(java.lang.String fileName)
Get the current ActiveTrain for the specified file name.ActiveTrain
DispatcherActiveTrainManager. getDispatcherActiveTrain(java.lang.String fileName)
Get the Dispatcher active train for the transit in the train info file.
-