public interface Sensor extends Serializable, Comparable<Sensor>, LocatableInterface
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-08-30 00:16:51 +0200 (Sun, 30 Aug 2015) $, @version $Revision: 1329 $, by $Author: averbraeck $,
initial version Dec 31, 2014
| Modifier and Type | Method and Description |
|---|---|
Lane |
getLane() |
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> |
getLongitudinalPosition() |
double |
getLongitudinalPositionSI() |
String |
getName() |
RelativePosition.TYPE |
getPositionType() |
void |
trigger(LaneBasedGTU gtu)
Trigger an action on the GTU.
|
compareTogetBounds, getLocationLane getLane()
org.djunits.value.vdouble.scalar.DoubleScalar.Rel<org.djunits.unit.LengthUnit> getLongitudinalPosition()
double getLongitudinalPositionSI()
RelativePosition.TYPE getPositionType()
void trigger(LaneBasedGTU gtu) throws RemoteException
sensor.trigger(this);.gtu - the GTU for which to carry out the trigger action.RemoteException - on communications failureString getName()
Copyright © 2014–2015 Delft University of Technology. All rights reserved.