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. More... | |
bool | checkStopPos (SUMOReal &startPos, SUMOReal &endPos, const SUMOReal laneLength, const SUMOReal minLength, const bool friendlyPos) |
check start and end position of a stop More... | |
void | endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname) |
The inherited method called when a tag is being closed. More... | |
const std::string & | getFileName () const |
returns the current file name More... | |
SUMOTime | getLastDepart () const |
Returns the last loaded depart time. More... | |
MSRouteHandler (const std::string &file, bool addVehiclesDirectly) | |
standard constructor More... | |
void | registerParent (const int tag, GenericSAXHandler *handler) |
Assigning a parent handler which is enabled when the specified tag is closed. More... | |
void | setFileName (const std::string &name) |
Sets the current file name. More... | |
void | startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES_CPP_NAMESPACE::Attributes &attrs) |
The inherited method called when a new tag opens. More... | |
virtual | ~MSRouteHandler () |
standard destructor More... | |
SAX ErrorHandler callbacks | |
void | warning (const XERCES_CPP_NAMESPACE::SAXParseException &exception) |
Handler for XML-warnings. More... | |
void | error (const XERCES_CPP_NAMESPACE::SAXParseException &exception) |
Handler for XML-errors. More... | |
void | fatalError (const XERCES_CPP_NAMESPACE::SAXParseException &exception) |
Handler for XML-errors. More... | |
Protected Member Functions | |
void | addStop (const SUMOSAXAttributes &attrs) |
Processing of a stop. More... | |
std::string | buildErrorMessage (const XERCES_CPP_NAMESPACE::SAXParseException &exception) |
Builds an error message. More... | |
bool | checkLastDepart () |
Checks whether the route file is sorted by departure time if needed. More... | |
void | closeFlow () |
Ends the processing of a flow. More... | |
void | closePerson () |
Ends the processing of a person. More... | |
void | closeRoute () |
void | closeRouteDistribution () |
void | closeVehicle () |
Ends the processing of a vehicle. More... | |
void | closeVehicleTypeDistribution () |
virtual void | myCharacters (int element, const std::string &chars) |
Callback method for characters to implement by derived classes. More... | |
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) More... | |
inherited from GenericSAXHandler | |
virtual void | myStartElement (int element, const SUMOSAXAttributes &attrs) |
Called on the opening of a tag;. More... | |
virtual void | myEndElement (int element) |
Called when a closing tag occurs. More... | |
Protected Attributes | |
MSPerson::MSPersonPlan * | myActivePlan |
The plan of the current person. More... | |
MSEdgeVector | myActiveRoute |
The current route. More... | |
const RGBColor * | myActiveRouteColor |
The currently parsed route's color. More... | |
std::string | myActiveRouteID |
The id of the current route. More... | |
SUMOReal | myActiveRouteProbability |
The id of the current route. More... | |
std::string | myActiveRouteRefID |
The id of the route the current route references to. More... | |
std::vector < SUMOVehicleParameter::Stop > | myActiveRouteStops |
List of the stops on the parsed route. More... | |
bool | myAddVehiclesDirectly |
Information whether vehicles shall be directly added to the network or kept within the buffer. More... | |
RandomDistributor< const MSRoute * > * | myCurrentRouteDistribution |
The currently parsed distribution of routes (probability->route) More... | |
std::string | myCurrentRouteDistributionID |
The id of the currently parsed route distribution. More... | |
SUMOVTypeParameter * | myCurrentVType |
The currently parsed vehicle type. More... | |
RandomDistributor < MSVehicleType * > * | myCurrentVTypeDistribution |
The currently parsed distribution of vehicle types (probability->vehicle type) More... | |
std::string | myCurrentVTypeDistributionID |
The id of the currently parsed vehicle type distribution. More... | |
SUMOTime | myLastDepart |
The insertion time of the vehicle read last. More... | |
SUMOVehicleParameter * | myVehicleParameter |
Parameter of the current vehicle, trip, person, or flow. More... | |
Private Member Functions | |
MSRouteHandler (const MSRouteHandler &s) | |
Invalidated copy constructor. More... | |
MSRouteHandler & | operator= (const MSRouteHandler &s) |
Invalidated assignment operator. More... | |
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 | ||
) |
|
virtual |
standard destructor
Definition at line 78 of file MSRouteHandler.cpp.
|
private |
Invalidated copy constructor.
|
protectedvirtual |
Processing of a stop.
Implements SUMORouteHandler.
Definition at line 585 of file MSRouteHandler.cpp.
References SUMOVehicleParameter::Stop::busstop, SUMORouteHandler::checkStopPos(), SUMOVehicleParameter::depart, SUMOVehicleParameter::departPos, 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, MAX2(), 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_ACTTYPE, 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 TplConvert::_2str(), and GenericSAXHandler::myCharactersVector.
|
protectedinherited |
Checks whether the route file is sorted by departure time if needed.
Definition at line 74 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 177 of file SUMORouteHandler.cpp.
Referenced by addStop().
|
protectedvirtual |
Ends the processing of a flow.
Implements SUMORouteHandler.
Definition at line 547 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 525 of file MSRouteHandler.cpp.
References MSPersonControl::buildPerson(), SUMORouteHandler::checkLastDepart(), SUMOVehicleParameter::depart, MSNet::getInstance(), MSNet::getPersonControl(), MSNet::getVehicleControl(), MSVehicleControl::getVType(), SUMOVehicleParameter::id, myActivePlan, myAddVehiclesDirectly, SUMORouteHandler::myVehicleParameter, SUMORouteHandler::registerLastDepart(), MSPersonControl::setDeparture(), and SUMOVehicleParameter::vtypeid.
|
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 332 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 426 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 441 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, 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 248 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 TplConvert::_2str(), 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().
|
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::addPOI(), NLHandler::addPoly(), NLHandler::addRouteProbeDetector(), NLHandler::addVTypeProbeDetector(), NLHandler::beginE3Detector(), GenericSAXHandler::buildErrorMessage(), MSRouteLoader::init(), PCNetProjectionLoader::loadIfSet(), NILoader::loadXMLType(), MSTriggeredXMLReader::myInit(), GUISettingsHandler::myStartElement(), RODFDetectorHandler::myStartElement(), RORDLoader_TripDefs::myStartElement(), SUMORouteHandler::myStartElement(), RORDLoader_SUMOBase::myStartElement(), PCLoaderXML::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 68 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_ITSUMO::Handler.
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 301 of file MSRouteHandler.cpp.
References RandomDistributor< T >::add(), MSVehicleType::build(), MSVehicleType::getDefaultProbability(), MSVehicleType::getID(), MSNet::getInstance(), SUMORouteHandler::myCurrentVType, myCurrentVTypeDistribution, SUMORouteHandler::myEndElement(), and SUMO_TAG_VTYPE.
Referenced by NLHandler::myEndElement().
|
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 83 of file MSRouteHandler.cpp.
References closeRoute(), closeVehicle(), SUMOAbstractRouter< E, V >::compute(), DEFAULT_PERSON_SPEED, SUMOVehicleParameter::depart, SUMOVehicleParameter::departPos, MSEdge::dictionary(), SUMOVehicleParameter::fromTaz, MSBusStop::getBeginLanePosition(), MSNet::getBusStop(), MSEdge::getFollower(), MSNet::getInstance(), MSEdge::getNoFollowing(), SUMOSAXAttributes::getOptStringReporting(), SUMOSAXAttributes::getOptSUMORealReporting(), SUMOSAXAttributes::getOptSUMOTimeReporting(), MSNet::getRouterTT(), SUMOSAXAttributes::getStringReporting(), StringTokenizer::getVector(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::id, myActivePlan, myActiveRoute, SUMORouteHandler::myActiveRouteID, SUMORouteHandler::myCurrentVType, SUMORouteHandler::myStartElement(), SUMORouteHandler::myVehicleParameter, MSEdge::parseEdgesList(), SUMOVehicleParserHelper::parseVTypeEmbedded(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_BUS_STOP, SUMO_ATTR_DEPARTPOS, 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_VTYPE, SUMO_TAG_WALK, SUMOReal, VEHPARS_TAZ_SET, SUMOVehicleParameter::wasSet(), and WRITE_ERROR.
Referenced by NLHandler::myStartElement().
|
protectedvirtual |
opens a route for reading
Implements SUMORouteHandler.
Definition at line 263 of file MSRouteHandler.cpp.
References DEFAULT_VEH_PROB, MSRoute::dictionary(), SUMOSAXAttributes::getColorReporting(), SUMOSAXAttributes::getOptStringReporting(), SUMOSAXAttributes::getOptSUMORealReporting(), RandomDistributor< T >::getProbs(), SUMOSAXAttributes::getStringReporting(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::id, myActiveRoute, SUMORouteHandler::myActiveRouteColor, SUMORouteHandler::myActiveRouteID, SUMORouteHandler::myActiveRouteProbability, SUMORouteHandler::myActiveRouteRefID, myCurrentRouteDistribution, myCurrentRouteDistributionID, SUMORouteHandler::myVehicleParameter, 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 381 of file MSRouteHandler.cpp.
References TplConvert::_2SUMORealSec(), RandomDistributor< T >::add(), MSRoute::dictionary(), MSRoute::getMaxRouteDistSize(), SUMOSAXAttributes::getStringReporting(), SUMOSAXAttributes::hasAttribute(), StringTokenizer::hasNext(), SUMOVehicleParameter::id, myCurrentRouteDistribution, myCurrentRouteDistributionID, SUMORouteHandler::myVehicleParameter, StringTokenizer::next(), MSRoute::releaseRoute(), SUMO_ATTR_ID, SUMO_ATTR_PROBS, SUMO_ATTR_ROUTES, SUMOReal, toString(), and WRITE_WARNING.
|
protectedvirtual |
opens a type distribution for reading
Implements SUMORouteHandler.
Definition at line 226 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, and SUMO_ATTR_VTYPES.
|
private |
Invalidated assignment operator.
|
protectedinherited |
save last depart (only to be used if vehicle is not discarded)
Definition at line 86 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(), NIImporter_OpenStreetMap::load(), PCNetProjectionLoader::loadIfSet(), loadNet(), ROLoader::loadNet(), NIImporter_ITSUMO::loadNetwork(), NIImporter_MATSim::loadNetwork(), NIImporter_OpenDrive::loadNetwork(), 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 TplConvert::_2str(), 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(), RORouteHandler::closeRoute(), openRoute(), and RORouteHandler::openRoute().
|
protectedinherited |
The id of the current route.
Definition at line 138 of file SUMORouteHandler.h.
Referenced by addStop(), closeFlow(), closeRoute(), RORouteHandler::closeRoute(), closeVehicle(), SUMORouteHandler::myStartElement(), myStartElement(), RORouteHandler::myStartElement(), openRoute(), and RORouteHandler::openRoute().
|
protectedinherited |
The id of the current route.
Definition at line 144 of file SUMORouteHandler.h.
Referenced by closeRoute(), RORouteHandler::closeRoute(), openRoute(), and RORouteHandler::openRoute().
|
protectedinherited |
The id of the route the current route references to.
Definition at line 141 of file SUMORouteHandler.h.
Referenced by closeRoute(), RORouteHandler::closeRoute(), openRoute(), and RORouteHandler::openRoute().
|
protectedinherited |
List of the stops on the parsed route.
Definition at line 150 of file SUMORouteHandler.h.
Referenced by addStop(), closeRoute(), and RORouteHandler::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(), RORouteHandler::myEndElement(), SUMORouteHandler::myStartElement(), myStartElement(), and RORouteHandler::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().
|
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(), RORouteHandler::closePerson(), closeRoute(), RORouteHandler::closeRoute(), closeVehicle(), RORouteHandler::closeVehicle(), SUMORouteHandler::myEndElement(), SUMORouteHandler::myStartElement(), myStartElement(), RORouteHandler::myStartElement(), openRoute(), RORouteHandler::openRoute(), openRouteDistribution(), RORouteHandler::openRouteDistribution(), and SUMORouteHandler::registerLastDepart().