Class AbstractGTUGeneratorOld

java.lang.Object
org.djutils.event.EventProducer
org.opentrafficsim.road.gtu.generator.AbstractGTUGeneratorOld
All Implemented Interfaces:
java.io.Serializable, Locatable, EventProducerInterface, GtuGeneratorQueue
Direct Known Subclasses:
GTUGeneratorIndividualOld

public abstract class AbstractGTUGeneratorOld
extends EventProducer
implements java.io.Serializable, GtuGeneratorQueue
Common code for LaneBasedGTU generators that may have to postpone putting a GTU on the road due to congestion growing into the generator.
Generally, these generators will discover that there is not enough room AFTER having decided what kind (particular length) of GTU will be constructed next. When this happens, the generator must remember the properties of the GTU, but postpone actual generation until there is enough room.

Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Version:
$Revision: 1401 $, $LastChangedDate: 2015-09-14 01:33:02 +0200 (Mon, 14 Sep 2015) $, by $Author: averbraeck $, initial version Feb 2, 2015
Author:
Alexander Verbraeck, Peter Knoppers
See Also:
Serialized Form