SUMOTime getDepartureTime() const
Returns the time the vehicle starts at.
const std::string & getID() const
Returns the id of the vehicle.
ROVehicle(const SUMOVehicleParameter &pars, RORouteDef *route, const SUMOVTypeParameter *type, const RONet *net)
Constructor.
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types...
SUMOVehicleParameter myParameter
The vehicle's parameter.
SUMOVehicleClass getVClass() const
Structure representing possible vehicle parameter.
SUMOVehicleClass vehicleClass
The vehicle's class.
const SUMOVTypeParameter * getType() const
Returns the type of the vehicle.
SUMOReal getMaxSpeed() const
Returns the vehicle's maximum speed.
RORouteDef *const myRoute
The route the vehicle takes.
void saveAllAsXML(OutputDevice &os, OutputDevice *const altos, OutputDevice *const typeos, bool withExitTimes) const
Saves the complete vehicle description.
A vehicle as used by router.
ROVehicle & operator=(const ROVehicle &src)
Invalidated assignment operator.
void addStop(const SUMOVehicleParameter::Stop &stopPar, const RONet *net)
Adds a stop to this vehicle.
const std::vector< const ROEdge * > & getStopEdges() const
SUMOTime depart
The vehicle's departure time.
const SUMOVTypeParameter *const myType
The type of the vehicle.
A basic edge for routing applications.
The router's network representation.
Structure representing possible vehicle parameter.
Definition of vehicle stop (position and duration)
Base class for a vehicle's route definition.
std::vector< const ROEdge * > myStopEdges
The edges where the vehicle stops.
Static storage of an output device and its base (abstract) implementation.
const SUMOVehicleClass DEFAULT_VEH_CLASS
virtual ~ROVehicle()
Destructor.
RORouteDef * getRouteDefinition() const
Returns the definition of the route the vehicle takes.
std::string id
The vehicle's id.