View Javadoc
1   package org.opentrafficsim.trafficcontrol;
2   
3   /**
4    * <p>
5    * Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
6    * BSD-style license. See <a href="http://opentrafficsim.org/node/13">OpenTrafficSim License</a>.
7    * <p>
8    * @version $Revision$, $LastChangedDate$, by $Author$, initial version 21 feb. 2019 <br>
9    * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
10   * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
11   * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a>
12   */
13  public interface ActuatedTrafficController extends TrafficController
14  {
15  
16      /**
17       * Tell the traffic controller that the state of a detector has changed.
18       * @param detectorId String; id of the detector
19       * @param detectingGTU boolean;
20       */
21      public void updateDetector(String detectorId, boolean detectingGTU);
22  
23  }