public class LaneBlockOnOff extends AbstractTrafficLight
 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.
 
AbstractTrafficLight.DummyStrategicalPlanner, AbstractTrafficLight.DummyTacticalPlannerBLOCK_GTU, dummyStrategicalPlanner, laneTL, positionTL, RELATIVE_POSITIONS| Constructor and Description | 
|---|
LaneBlockOnOff(String name,
              Lane lane,
              org.djunits.value.vdouble.scalar.Length.Rel position,
              org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
              org.opentrafficsim.core.network.OTSNetwork network)  | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
changeColorTime()
Update the block and re-schedule. 
 | 
String | 
toString() | 
addTrigger, enterLane, fractionalPosition, fractionalPosition, fractionalPositions, fractionalPositions, getBehavioralCharacteristics, getBounds, getFront, getLane, getLanes, getLength, getMaximumVelocity, getPerception, getRear, getRelativePositions, getStrategicalPlanner, getWidth, isBlocked, leaveLane, position, position, positions, positions, projectedPosition, setBlockeddestroy, getAcceleration, getAcceleration, getGTUType, getId, getLocation, getMaximumAcceleration, getMaximumDeceleration, getOdometer, getOperationalPlan, getPerceivableContext, getReference, getSimulator, getTacticalPlanner, getTurnIndicatorStatus, getVelocity, getVelocity, interruptMove, isDestroyed, move, setMaximumAcceleration, setMaximumDeceleration, setTurnIndicatorStatusclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdestroy, getAcceleration, getAcceleration, getGTUType, getId, getLocation, getMaximumAcceleration, getMaximumDeceleration, getOdometer, getOperationalPlan, getReference, getSimulator, getTacticalPlanner, getTurnIndicatorStatus, getVelocity, getVelocity, setTurnIndicatorStatuspublic LaneBlockOnOff(String name, Lane lane, org.djunits.value.vdouble.scalar.Length.Rel position, org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator, org.opentrafficsim.core.network.OTSNetwork network) throws org.opentrafficsim.core.gtu.GTUException, org.opentrafficsim.core.network.NetworkException, NamingException, nl.tudelft.simulation.dsol.SimRuntimeException, org.opentrafficsim.core.geometry.OTSGeometryException
name - the name or id of the traffic lightlane - The lane where the block has to be putposition - the position on the lane as a lengthsimulator - the simulator to avoid NullPointerExceptionsnetwork - the network that the GTU is initially registered inorg.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 laneorg.opentrafficsim.core.geometry.OTSGeometryException - xnl.tudelft.simulation.dsol.SimRuntimeException - xCopyright © 2014–2016 Delft University of Technology. All rights reserved.