package org.opentrafficsim.trafficcontrol; import java.awt.Container; /** *
* Copyright (c) 2013-2022 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
* @author Peter Knoppers
* @author Wouter Schakel
*/
public interface ActuatedTrafficController extends TrafficController
{
/**
* Tell the traffic controller that the state of a detector has changed.
* @param detectorId String; id of the detector
* @param detectingGTU boolean;
*/
void updateDetector(String detectorId, boolean detectingGTU);
/**
* Retrieve the Swing (for now) container in which the controller displays its current state.
* @return Container; the display of the current state; may return null!
*/
Container getDisplayContainer();
}