SUMO - Simulation of Urban MObility
|
Parser and container for routes during their loading. More...
#include <MSRouteHandler.h>
Public Member Functions | |
void | characters (const XMLCh *const chars, const XERCES3_SIZE_t length) |
The inherited method called when characters occured. | |
bool | checkStopPos (SUMOReal &startPos, SUMOReal &endPos, const SUMOReal laneLength, const SUMOReal minLength, const bool friendlyPos) |
check start and end position of a stop | |
void | endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) |
The inherited method called when a tag is being closed. | |
const std::string & | getFileName () const |
returns the current file name | |
SUMOTime | getLastDepart () const |
Returns the last loaded depart time. | |
MSRouteHandler (const std::string &file, bool addVehiclesDirectly) | |
standard constructor | |
void | registerParent (const int tag, GenericSAXHandler *handler) |
Assigning a parent handler which is enabled when the specified tag is closed. | |
void | setFileName (const std::string &name) |
Sets the current file name. | |
void | startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attrs) |
The inherited method called when a new tag opens. | |
virtual | ~MSRouteHandler () |
standard destructor | |
SAX ErrorHandler callbacks | |
void | warning (const SAXParseException &exception) |
Handler for XML-warnings. | |
void | error (const SAXParseException &exception) |
Handler for XML-errors. | |
void | fatalError (const SAXParseException &exception) |
Handler for XML-errors. |
Protected Member Functions | |
void | addStop (const SUMOSAXAttributes &attrs) |
Processing of a stop. | |
std::string | buildErrorMessage (const SAXParseException &exception) |
Builds an error message. | |
bool | checkLastDepart () |
Checks whether the route file is sorted by departure time if needed. | |
void | closeFlow () |
Ends the processing of a flow. | |
void | closePerson () |
Ends the processing of a person. | |
void | closeRoute () |
void | closeRouteDistribution () |
void | closeVehicle () |
Ends the processing of a vehicle. | |
void | closeVehicleTypeDistribution () |
virtual void | myCharacters (int element, const std::string &chars) |
Callback method for characters to implement by derived classes. | |
void | openRoute (const SUMOSAXAttributes &attrs) |
void | openRouteDistribution (const SUMOSAXAttributes &attrs) |
void | openVehicleTypeDistribution (const SUMOSAXAttributes &attrs) |
void | registerLastDepart () |
save last depart (only to be used if vehicle is not discarded) | |
inherited from GenericSAXHandler | |
virtual void | myStartElement (int element, const SUMOSAXAttributes &attrs) |
Called on the opening of a tag;. | |
virtual void | myEndElement (int element) |
Called when a closing tag occurs. |
Protected Attributes | |
MSPerson::MSPersonPlan * | myActivePlan |
The plan of the current person. | |
MSEdgeVector | myActiveRoute |
The current route. | |
RGBColor | myActiveRouteColor |
The currently parsed route's color. | |
std::string | myActiveRouteID |
The id of the current route. | |
SUMOReal | myActiveRouteProbability |
The id of the current route. | |
std::string | myActiveRouteRefID |
The id of the route the current route references to. | |
std::vector < SUMOVehicleParameter::Stop > | myActiveRouteStops |
List of the stops on the parsed route. | |
bool | myAddVehiclesDirectly |
Information whether vehicles shall be directly added to the network or kept within the buffer. | |
RandomDistributor< const MSRoute * > * | myCurrentRouteDistribution |
The currently parsed distribution of routes (probability->route) | |
std::string | myCurrentRouteDistributionID |
The id of the currently parsed route distribution. | |
SUMOVTypeParameter * | myCurrentVType |
The currently parsed vehicle type. | |
RandomDistributor < MSVehicleType * > * | myCurrentVTypeDistribution |
The currently parsed distribution of vehicle types (probability->vehicle type) | |
std::string | myCurrentVTypeDistributionID |
The id of the currently parsed vehicle type distribution. | |
SUMOTime | myLastDepart |
The insertion time of the vehicle read last. | |
SUMOReal | myScale |
The scaling factor (especially for inc-dua) | |
SUMOVehicleParameter * | myVehicleParameter |
Parameter of the current vehicle, trip, person, or flow. |
Private Member Functions | |
MSRouteHandler (const MSRouteHandler &s) | |
Invalidated copy constructor. | |
MSRouteHandler & | operator= (const MSRouteHandler &s) |
Invalidated assignment operator. |
Parser and container for routes during their loading.
MSRouteHandler is the container for routes while they are build until their transfering to the MSNet::RouteDict The result of the operations are single MSNet::Route-instances
Definition at line 60 of file MSRouteHandler.h.
MSRouteHandler::MSRouteHandler | ( | const std::string & | file, |
bool | addVehiclesDirectly | ||
) |
standard constructor
Definition at line 67 of file MSRouteHandler.cpp.
References OptionsCont::getFloat(), OptionsCont::getInt(), OptionsCont::getOptions(), OptionsCont::isSet(), myActiveRoute, myScale, and SUMOReal.
|
virtual |
standard destructor
Definition at line 86 of file MSRouteHandler.cpp.
|
private |
Invalidated copy constructor.
|
protectedvirtual |
Processing of a stop.
Implements SUMORouteHandler.
Definition at line 527 of file MSRouteHandler.cpp.
References SUMOVehicleParameter::Stop::busstop, SUMORouteHandler::checkStopPos(), MSLane::dictionary(), SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::endPos, MSBusStop::getBeginLanePosition(), MSNet::getBusStop(), MSBusStop::getEndLanePosition(), Named::getID(), MSNet::getInstance(), SUMOSAXAttributes::getIntReporting(), MSBusStop::getLane(), SUMOSAXAttributes::getOptBoolReporting(), SUMOSAXAttributes::getOptStringReporting(), SUMOSAXAttributes::getOptSUMORealReporting(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::id, SUMOVehicleParameter::Stop::index, SUMOVehicleParameter::Stop::lane, myActivePlan, SUMORouteHandler::myActiveRouteID, SUMORouteHandler::myActiveRouteStops, SUMORouteHandler::myVehicleParameter, SUMOVehicleParameter::Stop::parking, POSITION_EPS, SUMOVehicleParameter::Stop::startPos, STOP_INDEX_END, STOP_INDEX_FIT, SUMOVehicleParameter::stops, SUMO_ATTR_BUS_STOP, SUMO_ATTR_DURATION, SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_INDEX, SUMO_ATTR_LANE, SUMO_ATTR_PARKING, SUMO_ATTR_POSITION, SUMO_ATTR_STARTPOS, SUMO_ATTR_TRIGGERED, SUMO_ATTR_UNTIL, SUMOVehicleParameter::Stop::triggered, SUMOVehicleParameter::Stop::until, WRITE_ERROR, and WRITE_WARNING.
|
protectedinherited |
Builds an error message.
The error message includes the file name and the line/column information as supported by the given SAXParseException
[in] | exception | The name of the currently processed file |
Definition at line 193 of file GenericSAXHandler.cpp.
References GenericSAXHandler::getFileName().
Referenced by GenericSAXHandler::error(), GenericSAXHandler::fatalError(), and GenericSAXHandler::warning().
|
inherited |
The inherited method called when characters occured.
The retrieved characters are converted into a string and appended into a private buffer. They are reported as soon as the element ends.
recheck/describe what happens with characters when a new element is opened
describe characters processing in the class' head
Definition at line 176 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myCharactersVector.
|
protectedinherited |
Checks whether the route file is sorted by departure time if needed.
Definition at line 73 of file SUMORouteHandler.cpp.
References SUMOVehicleParameter::depart, DEPART_GIVEN, SUMOVehicleParameter::departProcedure, SUMOVehicleParameter::id, SUMORouteHandler::myLastDepart, SUMORouteHandler::myVehicleParameter, and WRITE_WARNING.
Referenced by closeFlow(), closePerson(), and closeVehicle().
|
inherited |
check start and end position of a stop
Definition at line 178 of file SUMORouteHandler.cpp.
Referenced by addStop().
|
protectedvirtual |
Ends the processing of a flow.
Implements SUMORouteHandler.
Definition at line 488 of file MSRouteHandler.cpp.
References MSInsertionControl::add(), SUMORouteHandler::checkLastDepart(), SUMOVehicleParameter::depart, MSRoute::dictionary(), MSNet::getInsertionControl(), MSNet::getInstance(), OptionsCont::getOptions(), SUMOVehicleParameter::id, SUMORouteHandler::myActiveRouteID, myAddVehiclesDirectly, SUMORouteHandler::myVehicleParameter, SUMORouteHandler::registerLastDepart(), SUMOVehicleParameter::repetitionNumber, SUMOVehicleParameter::repetitionOffset, SUMOVehicleParameter::repetitionsDone, SUMOVehicleParameter::routeid, string2time(), and SUMOVehicleParameter::vtypeid.
|
protectedvirtual |
Ends the processing of a person.
Implements SUMORouteHandler.
Definition at line 470 of file MSRouteHandler.cpp.
References SUMORouteHandler::checkLastDepart(), SUMOVehicleParameter::depart, MSNet::getInstance(), MSNet::getPersonControl(), SUMOVehicleParameter::id, myActivePlan, myAddVehiclesDirectly, SUMORouteHandler::myVehicleParameter, SUMORouteHandler::registerLastDepart(), and MSPersonControl::setArrival().
|
protectedvirtual |
closes (ends) the building of a route. Afterwards no edges may be added to it; this method may throw exceptions when a) the route is empty or b) another route with the same id already exists
Implements SUMORouteHandler.
Definition at line 295 of file MSRouteHandler.cpp.
References RandomDistributor< T >::add(), MSRoute::dictionary(), MSNet::getInstance(), SUMOVehicleParameter::id, myActiveRoute, SUMORouteHandler::myActiveRouteColor, SUMORouteHandler::myActiveRouteID, SUMORouteHandler::myActiveRouteProbability, SUMORouteHandler::myActiveRouteRefID, SUMORouteHandler::myActiveRouteStops, myCurrentRouteDistribution, SUMORouteHandler::myVehicleParameter, and SUMOVehicleParameter::repetitionNumber.
Referenced by myStartElement().
|
protectedvirtual |
closes (ends) the building of a distribution
Implements SUMORouteHandler.
Definition at line 371 of file MSRouteHandler.cpp.
References MSRoute::dictionary(), RandomDistributor< T >::getOverallProb(), myCurrentRouteDistribution, myCurrentRouteDistributionID, and WRITE_ERROR.
|
protectedvirtual |
Ends the processing of a vehicle.
Implements SUMORouteHandler.
Definition at line 386 of file MSRouteHandler.cpp.
References MSInsertionControl::add(), MSRoute::addReference(), MSVehicleControl::addVehicle(), MSVehicleControl::addWaiting(), MSRoute::begin(), MSVehicleControl::buildVehicle(), SUMORouteHandler::checkLastDepart(), MSVehicleControl::deleteVehicle(), SUMOVehicleParameter::depart, DEPART_GIVEN, DEPART_TRIGGERED, SUMOVehicleParameter::departProcedure, MSRoute::dictionary(), MSNet::getInsertionControl(), MSNet::getInstance(), OptionsCont::getOptions(), SUMOVehicle::getParameter(), MSVehicleControl::getVehicle(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), SUMOVehicleParameter::id, MSVehicleControl::isInQuota(), SUMORouteHandler::myActiveRouteID, myAddVehiclesDirectly, myScale, SUMORouteHandler::myVehicleParameter, SUMORouteHandler::registerLastDepart(), MSVehicleControl::registerOneWaitingForPerson(), MSRoute::release(), SUMOVehicleParameter::routeid, string2time(), and SUMOVehicleParameter::vtypeid.
Referenced by myStartElement().
|
protectedvirtual |
closes (ends) the building of a distribution
Implements SUMORouteHandler.
Definition at line 211 of file MSRouteHandler.cpp.
References MSNet::getInstance(), RandomDistributor< T >::getOverallProb(), myCurrentVTypeDistribution, myCurrentVTypeDistributionID, and WRITE_ERROR.
|
inherited |
The inherited method called when a tag is being closed.
This method calls the user-implemented methods myCharacters with the previously collected and converted characters.
Then, myEndElement is called, supplying it the qname converted to its enum- and string-representations.
recheck/describe encoding of the string-representation
do not generate and report the string-representation
Definition at line 126 of file GenericSAXHandler.cpp.
References GenericSAXHandler::convertTag(), GenericSAXHandler::myCharacters(), GenericSAXHandler::myCharactersVector, GenericSAXHandler::myEndElement(), GenericSAXHandler::myParentHandler, GenericSAXHandler::myParentIndicator, XMLSubSys::setHandler(), SUMO_TAG_INCLUDE, and SUMO_TAG_NOTHING.
|
inherited |
Handler for XML-errors.
The message is built using buildErrorMessage and thrown within a ProcessError.
[in] | exception | The occured exception to process |
ProcessError | On any call |
Definition at line 212 of file GenericSAXHandler.cpp.
References GenericSAXHandler::buildErrorMessage().
Referenced by NLHandler::getLanesFromIndices().
|
inherited |
Handler for XML-errors.
The message is built using buildErrorMessage and thrown within a ProcessError.
ProcessError | On any call |
[in] | exception | The occured exception to process |
Definition at line 218 of file GenericSAXHandler.cpp.
References GenericSAXHandler::buildErrorMessage().
|
inherited |
returns the current file name
Definition at line 86 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myFileName.
Referenced by NLHandler::addE1Detector(), NLHandler::addE2Detector(), NLHandler::addEdgeLaneMeanData(), NLHandler::addInstantE1Detector(), NLHandler::addRouteProbeDetector(), NLHandler::addVTypeProbeDetector(), NLHandler::beginE3Detector(), GenericSAXHandler::buildErrorMessage(), MSRouteLoader::init(), PCNetProjectionLoader::loadIfSet(), NILoader::loadXMLType(), MSTriggeredXMLReader::myInit(), GUISettingsHandler::myStartElement(), RODFDetectorHandler::myStartElement(), NLHandler::myStartElement(), NIImporter_OpenDrive::myStartElement(), RORDGenerator_ODAmounts::RORDGenerator_ODAmounts(), ROTypedXMLRoutesLoader::ROTypedXMLRoutesLoader(), XMLSubSys::runParser(), and GenericSAXHandler::startElement().
|
inherited |
Returns the last loaded depart time.
Definition at line 67 of file SUMORouteHandler.cpp.
References SUMORouteHandler::myLastDepart.
|
protectedvirtualinherited |
Callback method for characters to implement by derived classes.
Called by "endElement" (see there).
[in] | element | The opened element, given as a int |
[in] | chars | The complete embedded character string ProcessError These method may throw a ProcessError if something fails |
Reimplemented in NIImporter_OpenDrive, NIImporter_SUMO, PCNetProjectionLoader, NIImporter_ITSUMO::Handler, PCLoaderXML, RORDLoader_SUMOBase, and ROJTRTurnDefLoader.
Definition at line 228 of file GenericSAXHandler.cpp.
Referenced by GenericSAXHandler::endElement().
|
protectedvirtual |
Called when a closing tag occurs.
[in] | element | ID of the currently opened element |
ProcessError | If something fails |
Reimplemented from SUMORouteHandler.
Reimplemented in NLHandler.
Definition at line 264 of file MSRouteHandler.cpp.
References RandomDistributor< T >::add(), MSVehicleType::build(), MSVehicleType::getDefaultProbability(), MSVehicleType::getID(), MSNet::getInstance(), SUMORouteHandler::myCurrentVType, myCurrentVTypeDistribution, and SUMO_TAG_VTYPE.
|
protectedvirtual |
Called on the opening of a tag;.
[in] | element | ID of the currently opened element |
[in] | attrs | Attributes within the currently opened element |
ProcessError | If something fails |
Reimplemented from SUMORouteHandler.
Reimplemented in NLHandler.
Definition at line 91 of file MSRouteHandler.cpp.
References closeRoute(), closeVehicle(), SUMOVehicleParameter::depart, MSEdge::dictionary(), SUMOVehicleParameter::fromTaz, MSEdge::getFollower(), MSEdge::getNoFollowing(), SUMOSAXAttributes::getOptSUMORealReporting(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::getStringReporting(), StringTokenizer::getVector(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::id, myActivePlan, myActiveRoute, SUMORouteHandler::myActiveRouteID, SUMORouteHandler::myCurrentVType, SUMORouteHandler::myVehicleParameter, MSEdge::parseEdgesList(), SUMOVehicleParserHelper::parseVTypeEmbedded(), SUMO_ATTR_DURATION, SUMO_ATTR_EDGES, SUMO_ATTR_FROM, SUMO_ATTR_LINES, SUMO_ATTR_SPEED, SUMO_ATTR_TO, SUMO_TAG_FLOW, SUMO_TAG_PERSON, SUMO_TAG_RIDE, SUMO_TAG_TRIP, SUMO_TAG_TRIP__DEPRECATED, SUMO_TAG_VTYPE, SUMO_TAG_VTYPE__DEPRECATED, SUMO_TAG_WALK, SUMOReal, VEHPARS_TAZ_SET, SUMOVehicleParameter::wasSet(), and WRITE_ERROR.
|
protectedvirtual |
opens a route for reading
Implements SUMORouteHandler.
Definition at line 226 of file MSRouteHandler.cpp.
References DEFAULT_VEH_PROB, MSRoute::dictionary(), RGBColor::getDefaultColor(), SUMOSAXAttributes::getObjectType(), SUMOSAXAttributes::getOptStringReporting(), SUMOSAXAttributes::getOptSUMORealReporting(), RandomDistributor< T >::getProbs(), SUMOSAXAttributes::getString(), SUMOSAXAttributes::getStringReporting(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::id, myActiveRoute, SUMORouteHandler::myActiveRouteColor, SUMORouteHandler::myActiveRouteID, SUMORouteHandler::myActiveRouteProbability, SUMORouteHandler::myActiveRouteRefID, myCurrentRouteDistribution, myCurrentRouteDistributionID, SUMORouteHandler::myVehicleParameter, RGBColor::parseColorReporting(), MSEdge::parseEdgesList(), SUMO_ATTR_COLOR, SUMO_ATTR_EDGES, SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_ATTR_REFID, toString(), WRITE_ERROR, and WRITE_WARNING.
|
protectedvirtual |
opens a route distribution for reading
Implements SUMORouteHandler.
Definition at line 341 of file MSRouteHandler.cpp.
References RandomDistributor< T >::add(), MSRoute::dictionary(), SUMOSAXAttributes::getStringReporting(), SUMOSAXAttributes::hasAttribute(), StringTokenizer::hasNext(), SUMOVehicleParameter::id, myCurrentRouteDistribution, myCurrentRouteDistributionID, SUMORouteHandler::myVehicleParameter, StringTokenizer::next(), SUMO_ATTR_ID, and SUMO_ATTR_ROUTES.
|
protectedvirtual |
opens a type distribution for reading
Implements SUMORouteHandler.
Definition at line 189 of file MSRouteHandler.cpp.
References RandomDistributor< T >::add(), MSVehicleType::getDefaultProbability(), MSNet::getInstance(), SUMOSAXAttributes::getStringReporting(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), SUMOSAXAttributes::hasAttribute(), StringTokenizer::hasNext(), myCurrentVTypeDistribution, myCurrentVTypeDistributionID, StringTokenizer::next(), SUMO_ATTR_ID, SUMO_ATTR_VTYPES, and SUMO_ATTR_VTYPES__DEPRECATED.
|
private |
Invalidated assignment operator.
|
protectedinherited |
save last depart (only to be used if vehicle is not discarded)
Definition at line 85 of file SUMORouteHandler.cpp.
References SUMOVehicleParameter::depart, DEPART_GIVEN, SUMOVehicleParameter::departProcedure, SUMORouteHandler::myLastDepart, and SUMORouteHandler::myVehicleParameter.
Referenced by closeFlow(), closePerson(), and closeVehicle().
|
inherited |
Assigning a parent handler which is enabled when the specified tag is closed.
Definition at line 168 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myParentHandler, GenericSAXHandler::myParentIndicator, and XMLSubSys::setHandler().
Referenced by NLTriggerBuilder::parseAndBuildLaneSpeedTrigger(), and NLTriggerBuilder::parseAndBuildRerouter().
|
inherited |
Sets the current file name.
[in] | name | The name of the currently processed file |
Definition at line 80 of file GenericSAXHandler.cpp.
References GenericSAXHandler::myFileName.
Referenced by NIImporter_SUMO::_loadNetwork(), GUISettingsHandler::GUISettingsHandler(), AGActivityGen::importInfoCity(), NIImporter_OpenStreetMap::load(), PCNetProjectionLoader::loadIfSet(), loadNet(), ROLoader::loadNet(), NIImporter_ITSUMO::loadNetwork(), NIImporter_MATSim::loadNetwork(), NIImporter_OpenDrive::loadNetwork(), NILoader::loadXMLType(), and XMLSubSys::runParser().
|
inherited |
The inherited method called when a new tag opens.
The method parses the supplied XMLCh*-qname using the internal name/enum-map to obtain the enum representation of the attribute name.
Then, "myStartElement" is called supplying the enumeration value, the string-representation of the name and the attributes.
recheck/describe encoding of the string-representation
do not generate and report the string-representation
Definition at line 105 of file GenericSAXHandler.cpp.
References GenericSAXHandler::convertTag(), FileHelpers::getConfigurationRelative(), GenericSAXHandler::getFileName(), SUMOSAXAttributesImpl_Xerces::getString(), FileHelpers::isAbsolute(), GenericSAXHandler::myCharactersVector, GenericSAXHandler::myPredefinedTags, GenericSAXHandler::myPredefinedTagsMML, GenericSAXHandler::myStartElement(), XMLSubSys::runParser(), SUMO_ATTR_HREF, and SUMO_TAG_INCLUDE.
|
inherited |
Handler for XML-warnings.
The message is built using buildErrorMessage and reported to the warning-instance of the MsgHandler.
[in] | exception | The occured exception to process |
Definition at line 206 of file GenericSAXHandler.cpp.
References GenericSAXHandler::buildErrorMessage(), and WRITE_WARNING.
|
protected |
The plan of the current person.
Definition at line 133 of file MSRouteHandler.h.
Referenced by addStop(), closePerson(), and myStartElement().
|
protected |
The current route.
Definition at line 130 of file MSRouteHandler.h.
Referenced by closeRoute(), MSRouteHandler(), myStartElement(), and openRoute().
|
protectedinherited |
The currently parsed route's color.
Definition at line 147 of file SUMORouteHandler.h.
Referenced by closeRoute(), and openRoute().
|
protectedinherited |
The id of the current route.
Definition at line 138 of file SUMORouteHandler.h.
Referenced by addStop(), closeFlow(), closeRoute(), closeVehicle(), SUMORouteHandler::myStartElement(), myStartElement(), and openRoute().
|
protectedinherited |
The id of the current route.
Definition at line 144 of file SUMORouteHandler.h.
Referenced by closeRoute(), and openRoute().
|
protectedinherited |
The id of the route the current route references to.
Definition at line 141 of file SUMORouteHandler.h.
Referenced by closeRoute(), and openRoute().
|
protectedinherited |
List of the stops on the parsed route.
Definition at line 150 of file SUMORouteHandler.h.
Referenced by addStop(), and closeRoute().
|
protected |
Information whether vehicles shall be directly added to the network or kept within the buffer.
Definition at line 136 of file MSRouteHandler.h.
Referenced by closeFlow(), closePerson(), and closeVehicle().
|
protected |
The currently parsed distribution of routes (probability->route)
Definition at line 145 of file MSRouteHandler.h.
Referenced by closeRoute(), closeRouteDistribution(), openRoute(), and openRouteDistribution().
|
protected |
The id of the currently parsed route distribution.
Definition at line 148 of file MSRouteHandler.h.
Referenced by closeRouteDistribution(), openRoute(), and openRouteDistribution().
|
protectedinherited |
The currently parsed vehicle type.
Definition at line 153 of file SUMORouteHandler.h.
Referenced by SUMORouteHandler::myEndElement(), myEndElement(), SUMORouteHandler::myStartElement(), and myStartElement().
|
protected |
The currently parsed distribution of vehicle types (probability->vehicle type)
Definition at line 139 of file MSRouteHandler.h.
Referenced by closeVehicleTypeDistribution(), myEndElement(), and openVehicleTypeDistribution().
|
protected |
The id of the currently parsed vehicle type distribution.
Definition at line 142 of file MSRouteHandler.h.
Referenced by closeVehicleTypeDistribution(), and openVehicleTypeDistribution().
|
protectedinherited |
The insertion time of the vehicle read last.
Definition at line 135 of file SUMORouteHandler.h.
Referenced by SUMORouteHandler::checkLastDepart(), SUMORouteHandler::getLastDepart(), and SUMORouteHandler::registerLastDepart().
|
protected |
The scaling factor (especially for inc-dua)
Definition at line 151 of file MSRouteHandler.h.
Referenced by closeVehicle(), and MSRouteHandler().
|
protectedinherited |
Parameter of the current vehicle, trip, person, or flow.
Definition at line 132 of file SUMORouteHandler.h.
Referenced by addStop(), SUMORouteHandler::checkLastDepart(), closeFlow(), closePerson(), closeRoute(), closeVehicle(), SUMORouteHandler::myEndElement(), SUMORouteHandler::myStartElement(), myStartElement(), openRoute(), openRouteDistribution(), and SUMORouteHandler::registerLastDepart().