 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef RORouteHandler_h
19 #define RORouteHandler_h
64 const bool emptyDestinationsAllowed,
65 const bool ignoreErrors,
66 const bool checkSchema);
116 void closeRoute(
const bool mayBeDisconnected =
false);
168 const std::string& rid);
NamedRTree * myLaneTree
RTree for finding lanes.
void openRoute(const SUMOSAXAttributes &attrs)
opens a route for reading
void addContainer(const SUMOSAXAttributes &attrs)
Processing of a container.
An output device that encapsulates an ofstream.
void parseFromViaTo(std::string element, const SUMOSAXAttributes &attrs)
Called for parsing from and to and the corresponding taz attributes.
int myActiveContainerPlanSize
The number of stages in myActiveContainerPlan.
void addPersonTrip(const SUMOSAXAttributes &attrs)
add a routing request for a walking or intermodal person
A single lane the router may use.
Base class for a vehicle's route definition.
The router's network representation.
A person as used by router.
void closePersonFlow()
Ends the processing of a personFlow.
Parser and container for routes during their loading.
RandomDistributor< SUMOVTypeParameter * > * myCurrentVTypeDistribution
The currently parsed distribution of vehicle types (probability->vehicle type)
void addRide(const SUMOSAXAttributes &attrs)
Processing of a ride.
void openTrip(const SUMOSAXAttributes &attrs)
opens a trip for reading
void addWalk(const SUMOSAXAttributes &attrs)
add a fully specified walk
NamedRTree * getLaneTree()
initialize lane-RTree
void parseGeoEdges(const PositionVector &positions, bool geo, ConstROEdgeVector &into, const std::string &rid)
Parse edges from coordinates.
void addTransport(const SUMOSAXAttributes &attrs)
Processing of a transport.
RORouteHandler & operator=(const RORouteHandler &s)=delete
Invalidated assignment operator.
void closeContainer()
Ends the processing of a container.
A complete router's route.
virtual void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
const bool myTryRepair
Information whether routes shall be repaired.
const SUMOTime myBegin
The begin time.
std::string myCurrentVTypeDistributionID
The id of the currently parsed vehicle type distribution.
void closeFlow()
Ends the processing of a flow.
void parseEdges(const std::string &desc, ConstROEdgeVector &into, const std::string &rid)
Parse edges from strings.
MsgHandler *const myErrorOutput
Depending on the "ignore-errors" option different outputs are used.
virtual ~RORouteHandler()
standard destructor
void closePerson()
Ends the processing of a person.
void closeTrip()
Ends the processing of a trip.
ConstROEdgeVector myActiveRoute
The current route.
RORouteHandler(RONet &net, const std::string &file, const bool tryRepair, const bool emptyDestinationsAllowed, const bool ignoreErrors, const bool checkSchema)
standard constructor
void openVehicleTypeDistribution(const SUMOSAXAttributes &attrs)
opens a type distribution for reading
void addStop(const SUMOSAXAttributes &attrs)
Processing of a stop.
const bool myEmptyDestinationsAllowed
Information whether the "to" attribute is mandatory.
void closeVehicleTypeDistribution()
closes (ends) the building of a distribution
void openFlow(const SUMOSAXAttributes &attrs)
opens a flow for reading
A basic edge for routing applications.
A RT-tree for efficient storing of SUMO's Named objects.
RONet & myNet
The current route.
Parser for routes during their loading.
RORouteDef * myCurrentAlternatives
The currently parsed route alternatives.
void closeVType()
Ends the processing of a vehicle type.
void closeRoute(const bool mayBeDisconnected=false)
closes (ends) the building of a route.
void closeVehicle()
Ends the processing of a vehicle.
void addTranship(const SUMOSAXAttributes &attrs)
Processing of a tranship.
Encapsulated SAX-Attributes.
void addFlowPerson(SUMOTime depart, const std::string &baseID, int i)
Processing of a person from a personFlow.
OutputDevice_String * myActiveContainerPlan
The plan of the current container.
void openRouteDistribution(const SUMOSAXAttributes &attrs)
opens a route distribution for reading
const bool myKeepVTypeDist
whether to keep the the vtype distribution in output
ROPerson * myActivePerson
The plan of the current person.
std::vector< const ROEdge * > ConstROEdgeVector
void closeRouteDistribution()
closes (ends) the building of a distribution
void addPerson(const SUMOSAXAttributes &attrs)
Processing of a person.