Class AutoActiveTrain

java.lang.Object
jmri.jmrit.dispatcher.AutoActiveTrain
All Implemented Interfaces:
EventListener, ThrottleListener

public class AutoActiveTrain
extends Object
implements ThrottleListener
This class holds information and options for an ActiveTrain when it is running in AUTOMATIC mode. It is an extension to Active Train for automatic running.

This class implements logic that follows a train around a layout. Train follows signals, provided the next Section is allocated to it, and its ActiveTrain's status is RUNNING.

This class is linked via its parent ActiveTrain object.

This file is part of JMRI.

JMRI is open source software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. See the "COPYING" file for a copy of this license.

JMRI is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

The AutoEngineer sub class is based in part on code by Pete Cressman contained in Warrants.java