public class Controller extends Object
 Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. 
 BSD-style license. See OpenTrafficSim License.
 
| Constructor and Description | 
|---|
Controller(String name,
          org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addTrafficLight(int sequence2,
               AbstractTrafficLightNew trafficLight)  | 
protected void | 
unBlock()  | 
public Controller(String name, org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) throws org.opentrafficsim.core.gtu.GTUException, org.opentrafficsim.core.network.NetworkException, NamingException
name - the name of the OnOffTrafficLightsimulator - the simulator to avoid NullPointerExceptionsorg.opentrafficsim.core.gtu.GTUException - when GTU cannot be created.NamingException - if an error occurs when adding the animation handlerorg.opentrafficsim.core.network.NetworkException - when the GTU cannot be placed on the given laneprotected void unBlock()
public void addTrafficLight(int sequence2,
                            AbstractTrafficLightNew trafficLight)
sequence2 - sequence2trafficLight - trafficLightCopyright © 2014–2016 Delft University of Technology. All rights reserved.