Class AbstractTrafficController

java.lang.Object
org.djutils.event.LocalEventProducer
org.opentrafficsim.trafficcontrol.AbstractTrafficController
All Implemented Interfaces:
Serializable, Remote, EventListener, org.djutils.base.Identifiable, org.djutils.event.EventListener, org.djutils.event.EventProducer, org.opentrafficsim.core.animation.Drawable, org.opentrafficsim.core.object.NonLocatedObject, TrafficController
Direct Known Subclasses:
FixedTimeController, TrafCod

public abstract class AbstractTrafficController extends org.djutils.event.LocalEventProducer implements TrafficController

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

Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
See Also:
  • Constructor Details

    • AbstractTrafficController

      public AbstractTrafficController(String id, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator)
      Constructor for traffic controller.
      Parameters:
      id - String; id
      simulator - OtsSimulatorInterface; simulator
  • Method Details

    • getId

      public String getId()
      Description copied from interface: TrafficController
      Retrieve the Id of the traffic light controller.
      Specified by:
      getId in interface org.djutils.base.Identifiable
      Specified by:
      getId in interface TrafficController
      Returns:
      id.