91 inline const std::string&
getID()
const {
138 const bool removeLoops,
MsgHandler* errorHandler) = 0;
150 for (
int i = 0; i < quota; i++) {
152 if (altos ==
nullptr && typeos ==
nullptr) {
155 saveAsXML(*os, typeos,
false, options, i);
158 if (altos !=
nullptr) {
159 saveAsXML(*altos, typeos,
true, options, i);
IntermodalRouter< ROEdge, ROLane, RONode, ROVehicle > ROIntermodalRouter
RouterProvider< ROEdge, ROLane, RONode, ROVehicle > RORouterProvider
std::vector< const ROEdge * > ConstROEdgeVector
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
@ SVC_IGNORING
vehicles ignoring classes
A storage for options typed value containers)
Static storage of an output device and its base (abstract) implementation.
virtual const std::string getParameter(const std::string &key, const std::string defaultValue="") const
Returns the value for a given key.
A basic edge for routing applications.
A single lane the router may use.
Base class for nodes used by the router.
A routable thing such as a vehicle or person.
bool getRoutingSuccess() const
SUMOVehicleParameter myParameter
The vehicle's parameter.
bool ignoreTransientPermissions() const
Returns whether this object is ignoring transient permission changes (during routing)
RORoutable(const RORoutable &src)
Invalidated copy constructor.
const SUMOVTypeParameter *const myType
The type of the vehicle.
virtual const ROEdge * getDepartEdge() const =0
SUMOVehicleClass getVClass() const
bool isPublicTransport() const
bool isPartOfFlow() const
RORoutable(const SUMOVehicleParameter &pars, const SUMOVTypeParameter *type)
Constructor.
virtual void computeRoute(const RORouterProvider &provider, const bool removeLoops, MsgHandler *errorHandler)=0
RORoutable & operator=(const RORoutable &src)
Invalidated assignment operator.
SUMOTime getDepart() const
Returns the time the vehicle starts at, -1 for triggered vehicles.
bool myRoutingSuccess
Whether the last routing was successful.
void write(OutputDevice *os, OutputDevice *const altos, OutputDevice *const typeos, OptionsCont &options, int quota) const
Saves the routable including the vehicle type (if it was not saved before).
virtual void saveAsXML(OutputDevice &os, OutputDevice *const typeos, bool asAlternatives, OptionsCont &options, int cloneIndex=0) const =0
Saves the complete routable description.
const SUMOVTypeParameter * getType() const
Returns the type of the routable.
void setDepart(SUMOTime t)
update depart time (for triggered persons)
const std::string & getID() const
Returns the id of the routable.
const SUMOVehicleParameter & getParameter() const
Returns the definition of the vehicle / person parameter.
double getMaxSpeed() const
Returns the vehicle's maximum speed.
virtual ~RORoutable()
Destructor.
A vehicle as used by router.
Structure representing possible vehicle parameter.
SUMOVehicleClass vehicleClass
The vehicle's class.
Structure representing possible vehicle parameter.
std::string id
The vehicle's id.
std::string line
The vehicle's line (mainly for public transport)