Interface ActuatedTrafficController
- All Superinterfaces:
Drawable
,java.util.EventListener
,EventListenerInterface
,EventProducerInterface
,Identifiable
,InvisibleObjectInterface
,TrafficController
public interface ActuatedTrafficController extends TrafficController
Copyright (c) 2013-2019 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 21 feb. 2019
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
-
Field Summary
Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface
FIRST_POSITION, LAST_POSITION
Fields inherited from interface org.opentrafficsim.trafficcontrol.TrafficController
BEING_CLONED, NO_STREAM, OFF, RUNNING, SHUTTING_DOWN, STARTING_UP, TRAFFIC_LIGHT_CHANGED, TRAFFICCONTROL_CONFLICT_GROUP_CHANGED, TRAFFICCONTROL_CONTROLLER_CREATED, TRAFFICCONTROL_CONTROLLER_EVALUATING, TRAFFICCONTROL_CONTROLLER_WARNING, TRAFFICCONTROL_SET_TRACING, TRAFFICCONTROL_STATE_CHANGED, TRAFFICCONTROL_TRACED_VARIABLE_UPDATED, TRAFFICCONTROL_VARIABLE_CREATED
-
Method Summary
Modifier and Type Method Description void
updateDetector(java.lang.String detectorId, boolean detectingGTU)
Tell the traffic controller that the state of a detector has changed.Methods inherited from interface nl.tudelft.simulation.event.EventProducerInterface
addListener, addListener, addListener, addListener, removeListener
Methods inherited from interface org.opentrafficsim.core.object.InvisibleObjectInterface
clone, getFullId
-
Method Details
-
updateDetector
void updateDetector(java.lang.String detectorId, boolean detectingGTU)Tell the traffic controller that the state of a detector has changed.- Parameters:
detectorId
- String; id of the detectordetectingGTU
- boolean;
-