 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
93 inline const std::string&
getID()
const {
130 const bool removeLoops,
MsgHandler* errorHandler) = 0;
142 if (altos == 0 && typeos == 0) {
148 saveAsXML(*altos, typeos,
true, options);
bool myRoutingSuccess
Whether the last routing was successful.
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
std::vector< const ROEdge * > ConstROEdgeVector
Static storage of an output device and its base (abstract) implementation.
bool isPublicTransport() const
bool isPartOfFlow() const
virtual void saveAsXML(OutputDevice &os, OutputDevice *const typeos, bool asAlternatives, OptionsCont &options) const =0
Saves the complete routable description.
A single lane the router may use.
RORoutable & operator=(const RORoutable &src)
Invalidated assignment operator.
const SUMOVTypeParameter * getType() const
Returns the type of the routable.
A vehicle as used by router.
Structure representing possible vehicle parameter.
IntermodalRouter< ROEdge, ROLane, RONode, ROVehicle > ROIntermodalRouter
SUMOTime getDepart() const
Returns the time the vehicle starts at, -1 for triggered vehicles.
SUMOVehicleClass getVClass() const
std::string line
The vehicle's line (mainly for public transport)
bool getRoutingSuccess() const
Structure representing possible vehicle parameter.
RouterProvider< ROEdge, ROLane, RONode, ROVehicle > RORouterProvider
const SUMOVehicleParameter & getParameter() const
Returns the definition of the vehicle / person parameter.
std::string id
The vehicle's id.
const std::string & getID() const
Returns the id of the routable.
A storage for options typed value containers)
double maxSpeed
The vehicle type's maximum speed [m/s].
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).
A routable thing such as a vehicle or person.
RORoutable(const SUMOVehicleParameter &pars, const SUMOVTypeParameter *type)
Constructor.
A basic edge for routing applications.
virtual void computeRoute(const RORouterProvider &provider, const bool removeLoops, MsgHandler *errorHandler)=0
const SUMOVTypeParameter *const myType
The type of the vehicle.
double getMaxSpeed() const
Returns the vehicle's maximum speed.
@ SVC_IGNORING
vehicles ignoring classes
Base class for nodes used by the router.
SUMOVehicleClass vehicleClass
The vehicle's class.
SUMOVehicleParameter myParameter
The vehicle's parameter.
virtual ~RORoutable()
Destructor.
virtual const ROEdge * getDepartEdge() const =0