All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.opentrafficsim.trafficcontrol.ActuatedTrafficController Maven / Gradle / Ivy

The newest version!
package org.opentrafficsim.trafficcontrol;

import java.awt.Container;

/**
 * 

* 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 * @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(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy