22 #ifndef RONetHandler_h
23 #define RONetHandler_h
209 typedef std::map<std::string, std::pair<std::string, std::string> >
JunctionGraph;
std::string myCurrentName
The name of the edge/node that is currently processed.
SumoXMLTag
Numbers representing SUMO-XML - element names.
ROAbstractEdgeBuilder & myEdgeBuilder
The object used to build of edges of the desired type.
SUMOVehicleParameter::Stop * myCurrentStoppingPlace
The currently built stopping place.
void parseDistrict(const SUMOSAXAttributes &attrs)
void parseJunction(const SUMOSAXAttributes &attrs)
Parses a junction's position.
virtual void parseLane(const SUMOSAXAttributes &attrs)
Parses and builds a lane.
SAX-handler base for SUMO-files.
Interface for building instances of router-edges.
JunctionGraph myJunctionGraph
virtual void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
RONetHandler(RONet &net, ROAbstractEdgeBuilder &eb)
Constructor.
Encapsulated SAX-Attributes.
virtual ~RONetHandler()
Destructor.
A basic edge for routing applications.
The router's network representation.
RONetHandler & operator=(const RONetHandler &src)
Invalidated assignment operator.
Definition of vehicle stop (position and duration)
A storage for options typed value containers)
The handler that parses a SUMO-network for its usage in a router.
RONet & myNet
The net to store the information into.
void parseConnection(const SUMOSAXAttributes &attrs)
virtual void myEndElement(int element)
Called when a closing tag occurs.
std::string myCurrentTypeID
The id of the currently processed edge type.
void parseAccess(const SUMOSAXAttributes &attrs)
std::map< std::string, std::pair< std::string, std::string > > JunctionGraph
temporary data for building the junction graph after network parsing is finished
bool myProcess
An indicator whether the next edge shall be read (internal edges are not read by now) ...
ROEdge * myCurrentEdge
The currently built edge.
void parseDistrictEdge(const SUMOSAXAttributes &attrs, bool isSource)
void parseEdge(const SUMOSAXAttributes &attrs)
Parses and builds an edge.
void parseStoppingPlace(const SUMOSAXAttributes &attrs, const SumoXMLTag element)