94 inline const std::string&
getID()
const {
131 const bool removeLoops,
MsgHandler* errorHandler) = 0;
143 if (altos == 0 && typeos == 0) {
149 saveAsXML(*altos, typeos,
true, options);
SUMOVehicleParameter myParameter
The vehicle's parameter.
bool isPartOfFlow() const
SUMOVehicleClass getVClass() const
A single lane the router may use.
int repetitionNumber
The number of times the vehicle shall be repeatedly inserted.
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.
double getMaxSpeed() const
Returns the vehicle's maximum speed.
Structure representing possible vehicle parameter.
const SUMOVehicleParameter & getParameter() const
Returns the definition of the vehicle / person 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).
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.
double maxSpeed
The vehicle type's maximum speed [m/s].
virtual ~RORoutable()
Destructor.
bool isPublicTransport() const
bool getRoutingSuccess() const
SUMOTime depart
The vehicle's departure time.
const std::string & getID() const
Returns the id of the routable.
A basic edge for routing applications.
std::string line
The vehicle's line (mainly for public transport)
RORoutable(const SUMOVehicleParameter &pars, const SUMOVTypeParameter *type)
Constructor.
virtual void computeRoute(const RORouterProvider &provider, const bool removeLoops, MsgHandler *errorHandler)=0
const SUMOVTypeParameter *const myType
The type of the vehicle.
Structure representing possible vehicle parameter.
const SUMOVTypeParameter * getType() const
Returns the type of the routable.
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.