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 Length
getLongitudinalPosition()
Retrieve the position of the mocked sensor.SingleSensor
getMock()
Retrieve the mocked sensor.String
toString()
-
-
-
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
-
-