class FundamentalDiagram.FundamentalDiagramSensor 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-09-14 01:33:02 +0200 (Mon, 14 Sep 2015) $, @version $Revision: 1401 $, by $Author: averbraeck $,
 initial version feb. 2015 
| Constructor and Description | 
|---|
FundamentalDiagramSensor(Lane lane,
                        org.djunits.value.vdouble.scalar.Length.Rel longitudinalPosition,
                        org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator)
Construct a FundamentalDiagramSensor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
toString() | 
void | 
trigger(LaneBasedGTU gtu)
Trigger an action on the GTU. 
 | 
compareTo, equals, getBounds, getLane, getLocation, getLongitudinalPosition, getLongitudinalPositionSI, getName, getPositionType, getSimulator, hashCodepublic FundamentalDiagramSensor(Lane lane, org.djunits.value.vdouble.scalar.Length.Rel longitudinalPosition, org.opentrafficsim.core.dsol.OTSDEVSSimulatorInterface simulator) throws org.opentrafficsim.core.network.NetworkException
lane - Lane; the Lane on which the new FundamentalDiagramSensor is to be addedlongitudinalPosition - Length.Rel; longitudinal position on the Lane of the new FundamentalDiagramSensorsimulator - simulator to allow animationorg.opentrafficsim.core.network.NetworkException - on network inconsistencypublic void trigger(LaneBasedGTU gtu)
sensor.trigger(this);.gtu - the GTU for which to carry out the trigger action.Copyright © 2014–2016 Delft University of Technology. All rights reserved.