 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
16 #ifndef SUMOTrafficObject_h
17 #define SUMOTrafficObject_h
60 virtual const std::string&
getID()
const = 0;
The car-following model and parameter.
Representation of a vehicle or person.
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
virtual Position getPosition(const double offset=0) const =0
Return current position (x/y, cartesian)
virtual SUMOTime getWaitingTime() const =0
virtual ~SUMOTrafficObject()
Destructor.
Representation of a lane in the micro simulation.
virtual double getAcceleration() const =0
Returns the vehicle's acceleration.
virtual const MSEdge * getEdge() const =0
Returns the edge the vehicle is currently at.
virtual const MSVehicleType & getVehicleType() const =0
Returns the vehicle's type.
virtual bool isVehicle() const =0
Get the vehicle's ID.
virtual const std::string & getID() const =0
Get the vehicle's ID.
virtual SUMOVehicleClass getVClass() const =0
Returns the vehicle's access class.
virtual double getBackPositionOnLane(const MSLane *lane) const =0
Get the vehicle's back position along the given lane.
virtual double getChosenSpeedFactor() const =0
virtual double getAngle() const =0
Returns the objects angle in degrees.
virtual double getSlope() const =0
Returns the slope of the road at vehicle's position.
A point in 2D or 3D with translation and scaling methods.
A road/street connecting two junctions.
virtual double getPreviousSpeed() const =0
Returns the vehicle's previous speed.
virtual bool hasArrived() const =0
Returns whether this vehicle has arrived.
virtual double getPositionOnLane() const =0
Get the vehicle's position along the lane.
virtual double getMaxSpeed() const =0
Returns the vehicle's maximum speed.
virtual double getSpeed() const =0
Returns the vehicle's current speed.
virtual bool isStopped() const =0
Returns whether the vehicle is at a stop.