Class MyMockGTU
java.lang.Object
org.opentrafficsim.sim0mq.publisher.MyMockGTU
...
-
Constructor Summary
ConstructorsConstructorDescriptionMyMockGTU
(String name, org.opentrafficsim.core.gtu.GtuType gtuType, org.opentrafficsim.core.geometry.DirectedPoint location, Speed speed, Acceleration acceleration, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator) -
Method Summary
-
Constructor Details
-
MyMockGTU
MyMockGTU(String name, org.opentrafficsim.core.gtu.GtuType gtuType, org.opentrafficsim.core.geometry.DirectedPoint location, Speed speed, Acceleration acceleration, org.opentrafficsim.core.dsol.OtsSimulatorInterface simulator) throws RemoteException - Parameters:
name
- String; the name of the mocked GTUgtuType
- GtuType; the GTU typelocation
- DirectedPoint; 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
-