Uses of Class
org.opentrafficsim.trafficcontrol.TrafficControlException
- 
Packages that use TrafficControlException Package Description org.opentrafficsim.trafficcontrol.ccol Coupling of OTS with external CCOL traffic controller.org.opentrafficsim.trafficcontrol.trafcod TrafCOD interpreter. - 
- 
Uses of TrafficControlException in org.opentrafficsim.trafficcontrol.ccol
Constructors in org.opentrafficsim.trafficcontrol.ccol that throw TrafficControlException Constructor Description CCOL(String id, String controlProgram, Set<TrafficLight> trafficLights, Set<TrafficLightSensor> sensors, org.opentrafficsim.core.dsol.OTSSimulator simulator)Construct a new CCOL communication link. - 
Uses of TrafficControlException in org.opentrafficsim.trafficcontrol.trafcod
Methods in org.opentrafficsim.trafficcontrol.trafcod that throw TrafficControlException Modifier and Type Method Description voidVariable. addOutput(TrafficLight trafficLight)Add a traffic light to this variable.voidTrafCOD. checkConsistency()Check the consistency of the traffic control program and perform initializations that require a completely built network.(package private) VariableVariable. clone(org.opentrafficsim.core.network.OTSNetwork newNetwork, TrafCOD newTrafCOD)intVariable. conflictGroupRank()Retrieve the rank of the conflict group that this Variable represents.booleanVariable. decrementTimer(int timeStamp10)Decrement the value of a timer.TrafficLightColorVariable. getColor()Retrieve the color for an output Variable.intVariable. getTimerMax()Retrieve the start value of this timer in units of 0.1 seconds (1 second is represented by the value 10).(package private) static StringTrafCOD. printRule(Object[] tokens, boolean printValues)Print a tokenized rule.voidVariable. setEndSource(String endSource)Set the description of the rule that ends this variable.voidVariable. setOutput(int colorValue)Make this variable an output variable and set the color value.voidVariable. setStartSource(String startSource)Set the description of the rule that starts this variable.voidVariable. setTimerMax(int value10)Set the maximum time of this timer.voidVariable. subscribeToDetector(TrafficLightSensor sensor)Link a detector variable to a sensor.Constructors in org.opentrafficsim.trafficcontrol.trafcod that throw TrafficControlException Constructor Description NameAndStream(String text, String locationDescription)Parse a TrafCOD identifier and extract all required information.TrafCOD(String controllerName, URL trafCodURL, org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator, Container display, BufferedImage displayBackground, List<String> displayObjectLocations)Construct a new TrafCOD traffic light controller.TrafCOD(String controllerName, List<String> trafCODRules, org.opentrafficsim.core.dsol.OTSSimulatorInterface simulator, BufferedImage displayBackground, List<String> displayObjectLocations)Construct a new TrafCOD traffic light controller. 
 -