SumoXMLAttr
Numbers representing SUMO-XML - attributes.
Storage for edges, including some functionality operating on multiple edges.
The representation of a single edge during network building.
A loaded (complete) traffic light logic.
A container for traffic light definitions and built programs.
Importer for edge connections stored in XML.
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
NBEdgeCont & myEdgeCont
The edge container for retrieving edges.
~NIXMLTrafficLightsHandler()
Destructor.
bool myResetPhases
whether phases of a previously loaded traffic light must be reset
NIXMLTrafficLightsHandler(const NIXMLTrafficLightsHandler &s)
invalidated copy constructor
NBLoadedSUMOTLDef * myCurrentTL
The currently parsed traffic light.
int retrieveLaneIndex(const SUMOSAXAttributes &attrs, SumoXMLAttr attr, NBEdge *edge, bool &ok, bool isDelete=false)
parses a lane index and verifies its correctness
NBTrafficLightLogicCont & myTLLCont
The traffic light container to fill.
bool myIgnoreUnknown
whether definitions for unknown traffic lights shall be silently ignored
const std::set< std::string > & getSeenIDs()
void myEndElement(int element)
Called when a closing tag occurs.
NBEdge * retrieveEdge(const SUMOSAXAttributes &attrs, SumoXMLAttr attr, bool &ok)
parses and edge id an returns an existing edge
std::set< std::string > mySeenIDs
list of traffic light logics that were found
void addTlConnection(const SUMOSAXAttributes &attrs)
reads and adds tl-controlled connection
NIXMLTrafficLightsHandler & operator=(const NIXMLTrafficLightsHandler &s)
invalidated assignment operator
void removeTlConnection(const SUMOSAXAttributes &attrs)
reads and removes tl-controlled connection
NBLoadedSUMOTLDef * initTrafficLightLogic(const SUMOSAXAttributes &attrs, NBLoadedSUMOTLDef *currentTL)
Encapsulated SAX-Attributes.
SAX-handler base for SUMO-files.