 |
Eclipse SUMO - Simulation of Urban MObility
|
SUMOTime getDepartureTime() const
Returns the time the vehicle starts at, 0 for triggered vehicles.
Static storage of an output device and its base (abstract) implementation.
void addStop(const SUMOVehicleParameter::Stop &stopPar, const RONet *net, MsgHandler *errorHandler)
Adds a stop to this vehicle.
Base class for a vehicle's route definition.
The router's network representation.
const SUMOVTypeParameter * getType() const
Returns the type of the routable.
A vehicle as used by router.
Structure representing possible vehicle parameter.
double getChosenSpeedFactor() const
Returns an upper bound for the speed factor of this vehicle.
ROVehicle & operator=(const ROVehicle &src)
Invalidated assignment operator.
ROVehicle(const SUMOVehicleParameter &pars, RORouteDef *route, const SUMOVTypeParameter *type, const RONet *net, MsgHandler *errorHandler=0)
Constructor.
Structure representing possible vehicle parameter.
ConstROEdgeVector getMandatoryEdges(const ROEdge *requiredStart, const ROEdge *requiredEnd) const
compute mandatory edges
const SUMOVehicleParameter & getParameter() const
Returns the definition of the vehicle / person parameter.
double getMax() const
Returns the maximum value of this distribution.
const ROEdge * getDepartEdge() const
Returns the first edge the vehicle takes.
RORouteDef * getRouteDefinition() const
Returns the definition of the route the vehicle takes.
A storage for options typed value containers)
const ConstROEdgeVector & getStopEdges() const
Distribution_Parameterized speedFactor
The factor by which the maximum speed may deviate from the allowed max speed on the street.
A routable thing such as a vehicle or person.
ROVehicle(const ROVehicle &src)
Invalidated copy constructor.
A basic edge for routing applications.
void computeRoute(const RORouterProvider &provider, const bool removeLoops, MsgHandler *errorHandler)
virtual ~ROVehicle()
Destructor.
RORouteDef *const myRoute
The route the vehicle takes.
ConstROEdgeVector myStopEdges
The edges where the vehicle stops.
std::vector< const ROEdge * > ConstROEdgeVector
Definition of vehicle stop (position and duration)
void saveAsXML(OutputDevice &os, OutputDevice *const typeos, bool asAlternatives, OptionsCont &options) const
Saves the complete vehicle description.