SUMOTime getDepartureTime() const
Returns the time the vehicle starts at, 0 for triggered vehicles.
const std::string & getID() const
Returns the id of the vehicle.
ROVehicle(const SUMOVehicleParameter &pars, RORouteDef *route, const SUMOVTypeParameter *type, const RONet *net)
Constructor.
void setRoutingSuccess(const bool val)
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.
SUMOTime getDepart() const
Returns the time the vehicle starts at, -1 for triggered vehicles.
std::vector< const ROEdge * > ConstROEdgeVector
RORouteDef *const myRoute
The route the vehicle takes.
std::vector< const ROEdge * > ConstROEdgeVector
void saveTypeAsXML(OutputDevice &os, OutputDevice *const altos, OutputDevice *const typeos) const
Saves the vehicle type if it was not saved before.
bool getRoutingSuccess() const
A vehicle as used by router.
SUMOReal speedFactor
The factor by which the maximum speed may deviate from the allowed max speed on the street...
ROVehicle & operator=(const ROVehicle &src)
Invalidated assignment operator.
void addStop(const SUMOVehicleParameter::Stop &stopPar, const RONet *net)
Adds a stop to this vehicle.
SUMOTime depart
The vehicle's departure time.
const SUMOVTypeParameter *const myType
The type of the vehicle.
A basic edge for routing applications.
void saveAllAsXML(OutputDevice &os, bool asAlternatives, bool withExitTimes) const
Saves the complete vehicle description.
The router's network representation.
Structure representing possible vehicle parameter.
ConstROEdgeVector myStopEdges
The edges where the vehicle stops.
const ConstROEdgeVector & getStopEdges() const
Definition of vehicle stop (position and duration)
Base class for a vehicle's route definition.
SUMOReal getChosenSpeedFactor() const
Returns an upper bound for the speed factor of this vehicle.
Static storage of an output device and its base (abstract) implementation.
virtual ~ROVehicle()
Destructor.
RORouteDef * getRouteDefinition() const
Returns the definition of the route the vehicle takes.
vehicles ignoring classes
std::string id
The vehicle's id.
bool myRoutingSuccess
Whether the last routing was successful.