public class SensorLaneStart extends AbstractSensor
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.
$LastChangedDate: 2015-07-26 01:01:13 +0200 (Sun, 26 Jul 2015) $, @version $Revision: 1155 $, by $Author: averbraeck $,
initial version Jan 1, 2015
| Constructor and Description |
|---|
SensorLaneStart(Lane<?,?> lane,
String name)
Place a sensor that is triggered with the front of the GTU at the start of the lane.
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
void |
trigger(LaneBasedGTU<?> gtu)
Trigger an action on the GTU.
|
compareTo, equals, getLane, getLongitudinalPosition, getLongitudinalPositionSI, getName, getPositionType, hashCodepublic final void trigger(LaneBasedGTU<?> gtu) throws RemoteException
sensor.trigger(this);. gtu - the GTU for which to carry out the trigger action.RemoteException - on communications failureCopyright © 2014–2015 Delft University of Technology. All rights reserved.