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.
SUMOTime getDepart() const
Returns the time the vehicle starts at, -1 for triggered vehicles.
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...
bool getRoutingSuccess() const
std::vector< const ROEdge * > ConstROEdgeVector
RORoutable & operator=(const RORoutable &src)
Invalidated assignment operator.
Structure representing possible vehicle parameter.
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
A routable thing such as a vehicle or person.
RouterProvider< ROEdge, ROLane, RONode, ROVehicle > RORouterProvider
SUMOReal getMaxSpeed() const
Returns the vehicle's maximum speed.
A vehicle as used by router.
virtual ~RORoutable()
Destructor.
const SUMOVTypeParameter * getType() const
Returns the type of the vehicle.
SUMOTime depart
The vehicle's departure time.
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 std::string & getID() const
Returns the id 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.
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).
SUMOVehicleClass getVClass() const
vehicles ignoring classes
std::string id
The vehicle's id.