Interface TrafficLight

All Superinterfaces:
EventProducerInterface, Identifiable, LaneBasedObject, Locatable, ObjectInterface, java.io.Serializable
All Known Implementing Classes:
AbstractTrafficLight, SimpleTrafficLight

public interface TrafficLight
extends Locatable, LaneBasedObject

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.

$LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Oct 6, 2016
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
  • Field Details

    • TRAFFICLIGHT_CHANGE_EVENT

      static final EventType TRAFFICLIGHT_CHANGE_EVENT
      The timed event type for pub/sub indicating the change of color of a traffic light.
      Payload: Object[] {String trafficLightId, TrafficLight trafficLight, TrafficLightColor newColor}
  • Method Details