Interface ActuatedTrafficController

All Superinterfaces:
org.opentrafficsim.core.animation.Drawable, EventListener, org.djutils.event.EventListener, org.djutils.event.EventProducer, org.djutils.base.Identifiable, org.opentrafficsim.core.object.NonLocatedObject, Remote, Serializable, TrafficController
All Known Implementing Classes:
Ccol, TrafCod

public interface ActuatedTrafficController extends 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
  • Method Details

    • updateDetector

      void updateDetector(String detectorId, boolean detectingGTU)
      Tell the traffic controller that the state of a detector has changed.
      Parameters:
      detectorId - String; id of the detector
      detectingGTU - boolean;
    • getDisplayContainer

      Container getDisplayContainer()
      Retrieve the Swing (for now) container in which the controller displays its current state.
      Returns:
      Container; the display of the current state; may return null!