Interface ActuatedTrafficController

All Superinterfaces:
EventListener, EventListener, EventProducer, Identifiable, NonLocatedObject, TrafficController
All Known Implementing Classes:
Ccol, TrafCod

public interface ActuatedTrafficController extends TrafficController
Interface for actuated traffic controllers.

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 - id of the detector
      detectingGTU - detecting GTU
    • getDisplayContainer

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