Class MyMockGTU
java.lang.Object
org.opentrafficsim.sim0mq.publisher.MyMockGTU
...
-
Constructor Summary
ConstructorDescriptionMyMockGTU
(String name, org.opentrafficsim.core.gtu.GtuType gtuType, org.djutils.draw.point.OrientedPoint2d location, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Acceleration acceleration, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator) -
Method Summary
-
Constructor Details
-
MyMockGTU
MyMockGTU(String name, org.opentrafficsim.core.gtu.GtuType gtuType, org.djutils.draw.point.OrientedPoint2d location, org.djunits.value.vdouble.scalar.Speed speed, org.djunits.value.vdouble.scalar.Acceleration acceleration, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator) throws RemoteException - Parameters:
name
- String; the name of the mocked GTUgtuType
- GtuType; the GTU typelocation
- OrientedPoint2d; the location of the mocked GTUspeed
- Speed; the speed of the mocked GTUacceleration
- Acceleration; the acceleration of the mocked GTUsimulator
- OtsSimulatorInterface; (mocked) simulator- Throws:
RemoteException
- cannot happen ...
-
-
Method Details
-
getMock
public org.opentrafficsim.road.gtu.lane.LaneBasedGtu getMock()- Returns:
- mocked GTU
-