99 const std::string&
getID()
const {
SUMOTime getDepartureTime() const
Returns the time the vehicle starts at.
const std::string & getID() const
Returns the id of the vehicle.
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.
SUMOTime depart
The vehicle's departure time.
const SUMOVTypeParameter *const myType
The type of the vehicle.
A basic edge for routing applications.
Structure representing possible vehicle parameter.
ROVehicle(const SUMOVehicleParameter &pars, RORouteDef *route, const SUMOVTypeParameter *type)
Constructor.
Base class for a vehicle's route definition.
virtual ROVehicle * copy(const std::string &id, unsigned int depTime, RORouteDef *newRoute) const
Returns a copy of the vehicle using a new id, departure time and route.
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.