public class LaneBlock extends AbstractTrafficLight
Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
RELATIVE_POSITIONSDESTROY_EVENT, INIT_EVENT, MOVE_EVENT| Constructor and Description |
|---|
LaneBlock(Lane lane,
org.djunits.value.vdouble.scalar.Length position,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator,
Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass,
org.opentrafficsim.core.network.OTSNetwork network) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
addTrigger, enterLane, fractionalPosition, fractionalPosition, fractionalPositions, fractionalPositions, getBehavioralCharacteristics, getBounds, getCenter, getContourPoints, getFront, getLane, getLanes, getLength, getMaximumSpeed, getPositionTL, getRear, getRelativePositions, getStrategicalPlanner, getTacticalPlanner, getWidth, isBlocked, leaveLane, position, position, positions, positions, projectedPosition, setBlockeddestroy, getAcceleration, getGTUType, getId, getLocation, getMaximumAcceleration, getMaximumDeceleration, getOdometer, getOperationalPlan, getPerceivableContext, getReference, getSimulator, getSpeed, getTurnIndicatorStatus, init, interruptMove, isDestroyed, move, setMaximumAcceleration, setMaximumDeceleration, setTurnIndicatorStatusaddListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, removeAllListeners, removeAllListeners, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic LaneBlock(Lane lane, org.djunits.value.vdouble.scalar.Length position, org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator, Class<? extends nl.tudelft.simulation.dsol.animation.D2.Renderable2D> animationClass, 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
lane - The lane where the block has to be putposition - the position on the lane as a lengthsimulator - the simulator to avoid NullPointerExceptionsanimationClass - Class<? extends Renderable2D>; the class for animation or null if no animationnetwork - 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 - xpublic final String toString()
toString in class AbstractTrafficLightCopyright © 2014–2016 Delft University of Technology. All rights reserved.