 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
18 #ifndef RONetHandler_h
19 #define RONetHandler_h
const double myMinorPenalty
time penalty for passing a minor link
The handler that parses a SUMO-network for its usage in a router.
ROAbstractEdgeBuilder & myEdgeBuilder
The object used to build of edges of the desired type.
SAX-handler base for SUMO-files.
virtual void myEndElement(int element)
Called when a closing tag occurs.
void parseAccess(const SUMOSAXAttributes &attrs)
RONetHandler(const RONetHandler &src)
Invalidated copy constructor.
RONetHandler(RONet &net, ROAbstractEdgeBuilder &eb, const bool ignoreInternal, const double minorPenalty)
Constructor.
void parseConnection(const SUMOSAXAttributes &attrs)
void addParam(const SUMOSAXAttributes &attrs)
assign arbitrary vehicle parameters
void setLocation(const SUMOSAXAttributes &attrs)
Parses network location description.
The router's network representation.
void parseStoppingPlace(const SUMOSAXAttributes &attrs, const SumoXMLTag element)
virtual void parseLane(const SUMOSAXAttributes &attrs)
Parses and builds a lane.
SumoXMLTag
Numbers representing SUMO-XML - element names.
SUMOVehicleParameter::Stop * myCurrentStoppingPlace
The currently built stopping place.
std::string myCurrentName
The name of the edge/node that is currently processed.
std::set< std::string > myUnseenNodeIDs
temporary data for checking node initialisation after network parsing is finished
virtual void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
const bool myIgnoreInternal
whether to ignore junction internal edges
A storage for options typed value containers)
void parseEdge(const SUMOSAXAttributes &attrs)
Parses and builds an edge.
virtual ~RONetHandler()
Destructor.
ROEdge * myCurrentEdge
The currently built edge.
void parseDistrictEdge(const SUMOSAXAttributes &attrs, bool isSource)
RONetHandler & operator=(const RONetHandler &src)
Invalidated assignment operator.
A basic edge for routing applications.
void parseDistrict(const SUMOSAXAttributes &attrs)
std::string myCurrentTypeID
The id of the currently processed edge type.
void parseJunction(const SUMOSAXAttributes &attrs)
Parses a junction's position.
Encapsulated SAX-Attributes.
Interface for building instances of router-edges.
RONet & myNet
The net to store the information into.
Definition of vehicle stop (position and duration)
double myNetworkVersion
the loaded network version