Class TrafficLightSensor

java.lang.Object
nl.tudelft.simulation.event.EventProducer
org.opentrafficsim.road.network.lane.object.sensor.TrafficLightSensor
All Implemented Interfaces:
Serializable, EventListener, Locatable, nl.tudelft.simulation.event.EventListenerInterface, nl.tudelft.simulation.event.EventProducerInterface, Identifiable, NonDirectionalOccupancySensor, Sensor

public class TrafficLightSensor
extends nl.tudelft.simulation.event.EventProducer
implements nl.tudelft.simulation.event.EventListenerInterface, NonDirectionalOccupancySensor, nl.tudelft.simulation.event.EventProducerInterface, Locatable, Sensor
This traffic light sensor reports whether it whether any GTUs are within its area. The area is a sub-section of a Lane. This traffic sensor does not report the total number of GTUs within the area; only whether that number is zero or non-zero.

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$, $LastChangedDate$, by $Author$, initial version Oct 27, 2016
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
See Also:
Serialized Form