Class LaneTest.MockSensor
- java.lang.Object
-
- org.opentrafficsim.road.network.lane.LaneTest.MockSensor
-
-
Constructor Summary
Constructors Constructor Description MockSensor(String id, Length position)Construct a new Mocked SingleSensor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LengthgetLongitudinalPosition()Retrieve the position of the mocked sensor.SingleSensorgetMock()Retrieve the mocked sensor.StringtoString()
-
-
-
Method Detail
-
getMock
public SingleSensor getMock()
Retrieve the mocked sensor.- Returns:
- SingleSensor; the mocked sensor
-
getLongitudinalPosition
public Length getLongitudinalPosition()
Retrieve the position of the mocked sensor.- Returns:
- Length; the longitudinal position of the mocked sensor
-
-