class TriggerSensor extends AbstractSensor
Constructor and Description |
---|
TriggerSensor(Lane lane,
org.djunits.value.vdouble.scalar.Length.Rel longitudinalPosition,
org.opentrafficsim.core.gtu.RelativePosition.TYPE positionType,
String name,
org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) |
Modifier and Type | Method and Description |
---|---|
void |
trigger(LaneBasedGTU gtu) |
compareTo, equals, getBounds, getLane, getLocation, getLongitudinalPosition, getLongitudinalPositionSI, getName, getPositionType, getSimulator, hashCode
public TriggerSensor(Lane lane, org.djunits.value.vdouble.scalar.Length.Rel longitudinalPosition, org.opentrafficsim.core.gtu.RelativePosition.TYPE positionType, String name, org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
lane
- longitudinalPosition
- positionType
- name
- simulator
- public void trigger(LaneBasedGTU gtu)
Copyright © 2014–2015 Delft University of Technology. All rights reserved.