Class MyMockGTU

java.lang.Object
org.opentrafficsim.sim0mq.publisher.MyMockGTU

class MyMockGTU extends Object
...
  • Constructor Summary

    Constructors
    Constructor
    Description
    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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.opentrafficsim.road.gtu.lane.LaneBasedGtu
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 GTU
      gtuType - GtuType; the GTU type
      location - OrientedPoint2d; the location of the mocked GTU
      speed - Speed; the speed of the mocked GTU
      acceleration - Acceleration; the acceleration of the mocked GTU
      simulator - OtsSimulatorInterface; (mocked) simulator
      Throws:
      RemoteException - cannot happen ...
  • Method Details

    • getMock

      public org.opentrafficsim.road.gtu.lane.LaneBasedGtu getMock()
      Returns:
      mocked GTU