@ SUMO_TAG_MESO
edge-specific meso settings
@ SUMO_TAG_TYPE
type (edge)
@ SUMO_ATTR_MESO_TLS_FLOW_PENALTY
@ SUMO_ATTR_MESO_JUNCTION_CONTROL
@ SUMO_ATTR_JAM_DIST_THRESHOLD
@ SUMO_ATTR_MESO_OVERTAKING
@ SUMO_ATTR_MESO_EDGELENGHT
@ SUMO_ATTR_MESO_MINOR_PENALTY
@ SUMO_ATTR_MESO_TLS_PENALTY
void myEndElement(int element)
Called when a closing tag occurs.
std::string myCurrentTypeID
The id of the currently processed edge type.
METypeHandler(const std::string &file, MSNet &net)
Constructor.
MSNet & myNet
The net to fill (preinitialised).
virtual ~METypeHandler()
Destructor.
void addMesoEdgeType(const SUMOSAXAttributes &attrs)
Loads edge type specific meso parameters.
void myStartElement(int element, const SUMOSAXAttributes &attrs)
Called on the opening of a tag;.
bool myHaveSeenMesoEdgeType
whether edge type specific meso parameters were loaded
The simulated network and simulation perfomer.
Encapsulated SAX-Attributes.
T getOpt(int attr, const char *objectid, bool &ok, T defaultValue=T(), bool report=true) const
Tries to read given attribute assuming it is an int.
SUMOTime getOptSUMOTimeReporting(int attr, const char *objectid, bool &ok, SUMOTime defaultValue, bool report=true) const
Tries to read given attribute assuming it is a SUMOTime.
T get(int attr, const char *objectid, bool &ok, bool report=true) const
Tries to read given attribute assuming it is an int.
SUMOSAXHandler(const std::string &file="", const std::string &expectedRoot="")
Constructor.
edge type specific meso parameters