92 inline const std::string&
getID()
const {
121 const bool removeLoops,
MsgHandler* errorHandler) = 0;
133 if (altos == 0 && typeos == 0) {
139 saveAsXML(*altos, typeos,
true, options);
SUMOVehicleParameter myParameter
The vehicle's parameter.
SUMOVehicleClass getVClass() const
A single lane the router may use.
virtual const ROEdge * getDepartEdge() const =0
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types...
std::vector< const ROEdge * > ConstROEdgeVector
RORoutable & operator=(const RORoutable &src)
Invalidated assignment operator.
Structure representing possible vehicle parameter.
void write(OutputDevice &os, OutputDevice *const altos, OutputDevice *const typeos, OptionsCont &options) const
Saves the routable including the vehicle type (if it was not saved before).
SUMOReal getMaxSpeed() const
Returns the vehicle's maximum speed.
SUMOVehicleClass vehicleClass
The vehicle's class.
bool myRoutingSuccess
Whether the last routing was successful.
virtual void saveAsXML(OutputDevice &os, OutputDevice *const typeos, bool asAlternatives, OptionsCont &options) const =0
Saves the complete routable description.
IntermodalRouter< ROEdge, ROLane, RONode, ROVehicle > ROIntermodalRouter
SUMOTime getDepart() const
Returns the time the vehicle starts at, -1 for triggered vehicles.
A routable thing such as a vehicle or person.
RouterProvider< ROEdge, ROLane, RONode, ROVehicle > RORouterProvider
A vehicle as used by router.
virtual ~RORoutable()
Destructor.
bool getRoutingSuccess() const
SUMOTime depart
The vehicle's departure time.
const std::string & getID() const
Returns the id of the vehicle.
A basic edge for routing applications.
RORoutable(const SUMOVehicleParameter &pars, const SUMOVTypeParameter *type)
Constructor.
virtual void computeRoute(const RORouterProvider &provider, const bool removeLoops, MsgHandler *errorHandler)=0
SUMOReal maxSpeed
The vehicle type's maximum speed [m/s].
const SUMOVTypeParameter *const myType
The type of the vehicle.
Structure representing possible vehicle parameter.
const SUMOVTypeParameter * getType() const
Returns the type of the vehicle.
A storage for options typed value containers)
Static storage of an output device and its base (abstract) implementation.
Base class for nodes used by the router.
vehicles ignoring classes
std::string id
The vehicle's id.