![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNERouteHandler.h>
Public Member Functions | |
| bool | beginParseAttributes (SumoXMLTag tag, const SUMOSAXAttributes &attrs) |
| begin parse attributes | |
| bool | checkViaAttribute (const SumoXMLTag tag, const std::string &id, const std::vector< std::string > &via) |
| check if via attribute is valid | |
| void | duplicatePlan (const GNEDemandElement *originalPlan, GNEDemandElement *newParent) |
| duplicate given plan in new parent | |
| void | endParseAttributes () |
| end parse attributes | |
| GNERouteHandler (GNENet *net, const std::string &file, const bool allowUndoRedo, const bool overwrite) | |
| Constructor. | |
| bool | isErrorCreatingElement () const |
| get flag for mark if a element wasn't created | |
| void | parseSumoBaseObject (CommonXMLStructure::SumoBaseObject *obj) |
| parse SumoBaseObject (it's called recursivelly) | |
| bool | postParserTasks () |
| run post parser tasks | |
| virtual | ~GNERouteHandler () |
| Destructor. | |
build functions | |
| bool | buildVType (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVTypeParameter &vTypeParameter) |
| build vType | |
| bool | buildVTypeRef (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &vTypeID, const double probability) |
| build vType ref | |
| bool | buildVTypeDistribution (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const int deterministic) |
| build vType distribution | |
| bool | buildRoute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, SUMOVehicleClass vClass, const std::vector< std::string > &edgeIDs, const RGBColor &color, const int repeat, const SUMOTime cycleTime, const double probability, const Parameterised::Map &routeParameters) |
| build route | |
| bool | buildRouteRef (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &routeID, const double probability) |
| build route ref | |
| bool | buildRouteDistribution (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id) |
| build route distribution | |
| bool | buildVehicleOverRoute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters) |
| build a vehicle over an existent route | |
| bool | buildVehicleEmbeddedRoute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::vector< std::string > &edgeIDs, const RGBColor &color, const int repeat, const SUMOTime cycleTime, const Parameterised::Map &routeParameters) |
| build a vehicle with an embedded route | |
| bool | buildFlowOverRoute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters) |
| build a flow over an existent route | |
| bool | buildFlowEmbeddedRoute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::vector< std::string > &edgeIDs, const RGBColor &color, const int repeat, const SUMOTime cycleTime, const Parameterised::Map &routeParameters) |
| build a flow with an embedded route | |
| bool | buildTrip (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::string &fromEdgeID, const std::string &toEdgeID) |
| build trip | |
| bool | buildTripJunctions (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::string &fromJunctionID, const std::string &toJunctionID) |
| build trip over junctions | |
| bool | buildTripTAZs (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::string &fromTAZID, const std::string &toTAZID) |
| build trip over TAZs | |
| bool | buildFlow (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::string &fromEdgeID, const std::string &toEdgeIDs) |
| build flow | |
| bool | buildFlowJunctions (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::string &fromJunctionID, const std::string &toJunctionID) |
| build flow over junctions | |
| bool | buildFlowTAZs (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameters, const std::string &fromTAZID, const std::string &toTAZID) |
| build flow over junctions | |
| bool | buildPerson (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &personParameters) |
| build person | |
| bool | buildPersonFlow (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &personFlowParameters) |
| build person flow | |
| bool | buildPersonTrip (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const CommonXMLStructure::PlanParameters &planParameters, const double arrivalPos, const std::vector< std::string > &types, const std::vector< std::string > &modes, const std::vector< std::string > &lines, const double walkFactor, const std::string &group) |
| build person trip | |
| bool | buildWalk (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const CommonXMLStructure::PlanParameters &planParameters, const double arrivalPos, const double speed, const SUMOTime duration) |
| build walk | |
| bool | buildRide (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const CommonXMLStructure::PlanParameters &planParameters, const double arrivalPos, const std::vector< std::string > &lines, const std::string &group) |
| build ride | |
| bool | buildContainer (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &containerParameters) |
| build container | |
| bool | buildContainerFlow (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &containerFlowParameters) |
| build container flow | |
| bool | buildTransport (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const CommonXMLStructure::PlanParameters &planParameters, const double arrivalPos, const std::vector< std::string > &lines, const std::string &group) |
| build transport | |
| bool | buildTranship (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const CommonXMLStructure::PlanParameters &planParameters, const double arrivalPosition, const double departPosition, const double speed, const SUMOTime duration) |
| build tranship | |
| bool | buildPersonStop (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const CommonXMLStructure::PlanParameters &planParameters, const double endPos, const SUMOTime duration, const SUMOTime until, const std::string &actType, const bool friendlyPos, const int parameterSet) |
| build person stop | |
| bool | buildContainerStop (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const CommonXMLStructure::PlanParameters &planParameters, const double endPos, const SUMOTime duration, const SUMOTime until, const std::string &actType, const bool friendlyPos, const int parameterSet) |
| build container stop | |
| bool | buildStop (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const CommonXMLStructure::PlanParameters &planParameters, const SUMOVehicleParameter::Stop &stopParameters) |
| build stop | |
| bool | buildPersonPlan (const GNEDemandElement *planTemplate, GNEDemandElement *personParent, GNEAttributesEditor *personPlanAttributesEditor, GNEPlanCreator *planCreator, const bool centerAfterCreation) |
| build person plan | |
| bool | buildContainerPlan (const GNEDemandElement *planTemplate, GNEDemandElement *containerParent, GNEAttributesEditor *containerPlanAttributesEditor, GNEPlanCreator *planCreator, const bool centerAfterCreation) |
| build container plan | |
Static Public Member Functions | |
| static void | transformToVehicle (GNEVehicle *originalVehicle, bool createEmbeddedRoute) |
| transform vehicle functions | |
| static void | transformToRouteFlow (GNEVehicle *originalVehicle, bool createEmbeddedRoute) |
| transform routeFlow over an existent route | |
| static void | transformToTrip (GNEVehicle *originalVehicle) |
| transform to trip | |
| static void | transformToFlow (GNEVehicle *originalVehicle) |
| transform to flow | |
| static void | transformToTripJunctions (GNEVehicle *originalVehicle) |
| transform to trip over junctions | |
| static void | transformToFlowJunctions (GNEVehicle *originalVehicle) |
| transform to flow over junctions | |
| static void | transformToTripTAZs (GNEVehicle *originalVehicle) |
| transform to trip over TAZs | |
| static void | transformToFlowTAZs (GNEVehicle *originalVehicle) |
| transform to flow over TAZs | |
| static void | transformToPerson (GNEPerson *originalPerson) |
| transform person functions | |
| static void | transformToPersonFlow (GNEPerson *originalPerson) |
| transform routeFlow over an existent route | |
| static void | transformToContainer (GNEContainer *originalContainer) |
| transform container functions | |
| static void | transformToContainerFlow (GNEContainer *originalContainer) |
| transform routeFlow over an existent route | |
| static bool | canReverse (const GNEDemandElement *element) |
| reverse functions | |
| static bool | canReverse (GNENet *net, SUMOVehicleClass vClass, const std::vector< GNEEdge * > &edges) |
| check if the given list of edges can be reversed | |
| static void | reverse (GNEDemandElement *element) |
| reverse given demand element | |
| static void | addReverse (GNEDemandElement *element) |
| add reverse for given demand element | |
Protected Member Functions | |
| bool | checkElement (const SumoXMLTag tag, GNEDemandElement *demandElement) |
| check if element exist, and if overwritte | |
| GNEDemandElement * | getContainerParent (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const |
| get container parent | |
| bool | getDistributionElements (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, SumoXMLTag distributionElementTag, const std::vector< std::string > &distributionElementIDs, const std::vector< double > &probabilities, std::vector< const GNEDemandElement * > &elements) |
| get distribution elements | |
| CommonXMLStructure::SumoBaseObject * | getEmbeddedRoute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const |
| get embedded route from children | |
| GNEDemandElement * | getPersonParent (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const |
| get person parent | |
| GNEDemandElement * | getRouteDistributionParent (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const |
| get route distribution parent | |
| GNEDemandElement * | getType (const std::string &id) const |
| get type (Either type o typeDistribution) | |
| GNEDemandElement * | getVTypeDistributionParent (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const |
| get vType distribution parent | |
| GNEEdge * | parseEdge (const SumoXMLTag tag, const std::string &id, const std::string &edgeID, const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const bool firstEdge) |
| parse edge | |
| GNEEdge * | parseEdgeFromLaneID (const std::string &laneID) const |
| parse edge from lane ID | |
| std::vector< GNEEdge * > | parseEdges (const SumoXMLTag tag, const std::string &id, const std::vector< std::string > &edgeIDs) |
| parse edges | |
| GNEJunction * | parseJunction (const SumoXMLTag tag, const std::string &id, const std::string &junctionID) |
| parse junction | |
| void | parseParameters (const SUMOSAXAttributes &attrs) |
| parse generic parameters | |
| GNEEdge * | parseStopEdge (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const |
| parse stop edge | |
| GNEAdditional * | parseTAZ (const SumoXMLTag tag, const std::string &id, const std::string &TAZID) |
| parse TAZ | |
| GNEDemandElement * | retrieveDemandElement (const std::vector< SumoXMLTag > tags, const std::string &id) |
| get element by ID | |
| bool | writeError (const std::string &error) |
| write error and enable error creating element | |
| bool | writeErrorEmptyEdges (const SumoXMLTag tag, const std::string &id) |
| write error "empty edges" | |
| bool | writeErrorInvalidLanes (const SumoXMLTag tag, const std::string &id) |
| write error "invalid list of lanes" | |
| bool | writeErrorInvalidParent (const SumoXMLTag tag, const std::string &id, const SumoXMLTag parentTag, const std::string &parentID) |
| write error "invalid parent element" giving ids of current and parent element | |
| bool | writeErrorInvalidParent (const SumoXMLTag tag, const SumoXMLTag parentTag) |
| write error "invalid parent element" without giving IDs | |
| bool | writeErrorInvalidParent (const SumoXMLTag tag, const SumoXMLTag parentTag, const std::string &parentID) |
| write error "invalid parent element" giving only the id of parent element | |
| bool | writeErrorInvalidPosition (const SumoXMLTag tag, const std::string &id) |
| write error "invalid position" | |
| bool | writeWarningDuplicated (const SumoXMLTag tag, const std::string &id, const SumoXMLTag checkedTag) |
| write warning duplicated element | |
| void | writeWarningOverwritting (const SumoXMLTag tag, const std::string &id) |
| write warning overwritting element | |
check functions | |
| void | checkParsedParent (const SumoXMLTag currentTag, const std::vector< SumoXMLTag > &parentTags, bool &ok) |
| check parsed parents | |
| bool | checkListOfVehicleTypes (const SumoXMLTag tag, const std::string &id, const std::vector< std::string > &vTypeIDs) |
| check list of IDs | |
| bool | checkWithinDistribution (CommonXMLStructure::SumoBaseObject *obj) |
| check if the given object is within a distribution (VType or routes) | |
| bool | checkVehicleParents (CommonXMLStructure::SumoBaseObject *obj) |
| check vehicle parents | |
| bool | checkPersonPlanParents (CommonXMLStructure::SumoBaseObject *obj) |
| check person plan parents | |
| bool | checkContainerPlanParents (CommonXMLStructure::SumoBaseObject *obj) |
| check container plan parents | |
| bool | checkStopParents (CommonXMLStructure::SumoBaseObject *obj) |
| check stop parents | |
| bool | checkNegative (const SumoXMLTag tag, const std::string &id, const SumoXMLAttr attribute, const int value, const bool canBeZero) |
| check if the given int value is NOT negative | |
| bool | checkNegative (const SumoXMLTag tag, const std::string &id, const SumoXMLAttr attribute, const double value, const bool canBeZero) |
| check if the given double value is NOT negative | |
| bool | checkNegative (const SumoXMLTag tag, const std::string &id, const SumoXMLAttr attribute, const SUMOTime value, const bool canBeZero) |
| check if the given SUMOTime value is NOT negative | |
| bool | checkFileName (const SumoXMLTag tag, const std::string &id, const SumoXMLAttr attribute, const std::string &value) |
| check if the given filename is valid | |
| bool | checkValidAdditionalID (const SumoXMLTag tag, const std::string &value) |
| check if the given additional ID is valid | |
| bool | checkValidDetectorID (const SumoXMLTag tag, const std::string &value) |
| check if the given detector ID is valid | |
| bool | checkValidDemandElementID (const SumoXMLTag tag, const std::string &value) |
| check if the given demand elmement ID is valid | |
Protected Attributes | |
| CommonXMLStructure | myCommonXMLStructure |
| common XML Structure | |
| bool | myErrorCreatingElement = false |
| flag for mark if a element wasn't created | |
| const std::string | myFilename |
| filename | |
Private Member Functions | |
| GNERouteHandler ()=delete | |
| invalidate default onstructor | |
| GNERouteHandler (const GNERouteHandler &s)=delete | |
| invalidate copy constructor | |
| GNERouteHandler & | operator= (const GNERouteHandler &s)=delete |
| invalidate assignment operator | |
parse route element attributes | |
parse vType | |
| void | parseVType (const SUMOSAXAttributes &attrs) |
| void | parseVTypeRef (const SUMOSAXAttributes &attrs) |
| parse vType reference | |
| void | parseVTypeDistribution (const SUMOSAXAttributes &attrs) |
| parse vType distribution | |
| void | parseRoute (const SUMOSAXAttributes &attrs) |
| parse route | |
| void | parseRouteRef (const SUMOSAXAttributes &attrs) |
| parse route reference | |
| void | parseRouteEmbedded (const SUMOSAXAttributes &attrs) |
| parse embedded route | |
| void | parseRouteDistribution (const SUMOSAXAttributes &attrs) |
| parse route distribution | |
| void | parseTrip (const SUMOSAXAttributes &attrs) |
| parse trip | |
| void | parseVehicle (const SUMOSAXAttributes &attrs) |
| parse vehicle (including vehicles over routes and vehicles with embedded routes) | |
| void | parseFlow (const SUMOSAXAttributes &attrs) |
| parse flow (including flows, flows over routes and flows with embedded routes) | |
| void | parseStop (const SUMOSAXAttributes &attrs) |
| parse stop | |
| void | parsePerson (const SUMOSAXAttributes &attrs) |
| parse person | |
| void | parsePersonFlow (const SUMOSAXAttributes &attrs) |
| parse person flow | |
| void | parsePersonTrip (const SUMOSAXAttributes &attrs) |
| parse person trip | |
| void | parseWalk (const SUMOSAXAttributes &attrs) |
| parse walk | |
| void | parseRide (const SUMOSAXAttributes &attrs) |
| parse ride | |
| void | parseContainer (const SUMOSAXAttributes &attrs) |
| parse container | |
| void | parseContainerFlow (const SUMOSAXAttributes &attrs) |
| parse container flow | |
| void | parseTransport (const SUMOSAXAttributes &attrs) |
| parse transport | |
| void | parseTranship (const SUMOSAXAttributes &attrs) |
| parse tranship | |
| void | parseInterval (const SUMOSAXAttributes &attrs) |
| parse interval | |
| bool | parseNestedCFM (const SumoXMLTag tag, const SUMOSAXAttributes &attrs, CommonXMLStructure::SumoBaseObject *vTypeObject) |
| parse nested CarFollowingModel | |
| bool | parseStopParameters (SUMOVehicleParameter::Stop &stop, const SUMOSAXAttributes &attrs) |
| parse stop parameters | |
check functions used for simplify code in handlers | |
| bool | isOverFromToEdges (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const |
| check if element is defined over from-to edges | |
| bool | isOverFromToJunctions (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const |
| check if element is defined over from-to junctions | |
| bool | isOverFromToTAZs (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const |
| check if element is defined over from-to junctions | |
Private Attributes | |
| const bool | myAllowUndoRedo |
| allow undo/redo | |
| SUMOTime | myFlowBeginDefault |
| The default value for flow begins. | |
| SUMOTime | myFlowEndDefault |
| The default value for flow ends. | |
| const bool | myHardFail |
| enable or disable hardFail (stop parsing if parameter aren't correct) | |
| GNENet * | myNet |
| pointer to GNENet | |
| const bool | myOverwrite |
| flag to check if overwrite elements | |
| std::set< GNEDemandElement * > | myParentPlanElements |
| demand element parentplans (person and containers, used in postParserTasks) | |
| CommonXMLStructure::SumoBaseObject * | myPlanObject |
| pointer for person and container plans | |
Definition at line 45 of file GNERouteHandler.h.
| GNERouteHandler::GNERouteHandler | ( | GNENet * | net, |
| const std::string & | file, | ||
| const bool | allowUndoRedo, | ||
| const bool | overwrite | ||
| ) |
Constructor.
Definition at line 66 of file GNERouteHandler.cpp.
|
virtual |
|
privatedelete |
invalidate default onstructor
|
privatedelete |
invalidate copy constructor
|
static |
add reverse for given demand element
Definition at line 2412 of file GNERouteHandler.cpp.
References GNERoute::copyRoute(), GNEVehicle::copyVehicle(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isVehicle(), reverse(), and SUMO_TAG_ROUTE.
Referenced by GNEViewNet::onCmdAddReverse().
|
inherited |
begin parse attributes
Definition at line 51 of file RouteHandler.cpp.
References CommonXMLStructure::abortSUMOBaseOBject(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::getSumoBaseObjectRoot(), CommonXMLStructure::SumoBaseObject::getTag(), SUMOSAXAttributes::hasAttribute(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::openSUMOBaseOBject(), RouteHandler::parseContainer(), RouteHandler::parseContainerFlow(), RouteHandler::parseFlow(), RouteHandler::parseInterval(), RouteHandler::parseNestedCFM(), CommonHandler::parseParameters(), RouteHandler::parsePerson(), RouteHandler::parsePersonFlow(), RouteHandler::parsePersonTrip(), RouteHandler::parseRide(), RouteHandler::parseRoute(), RouteHandler::parseRouteDistribution(), RouteHandler::parseRouteEmbedded(), RouteHandler::parseRouteRef(), RouteHandler::parseStop(), RouteHandler::parseTranship(), RouteHandler::parseTransport(), RouteHandler::parseTrip(), RouteHandler::parseVehicle(), RouteHandler::parseVType(), RouteHandler::parseVTypeDistribution(), RouteHandler::parseVTypeRef(), RouteHandler::parseWalk(), SUMO_ATTR_REFID, SUMO_TAG_CONTAINER, SUMO_TAG_CONTAINERFLOW, SUMO_TAG_ERROR, SUMO_TAG_FLOW, SUMO_TAG_INTERVAL, SUMO_TAG_PARAM, SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW, SUMO_TAG_PERSONTRIP, SUMO_TAG_RIDE, SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_DISTRIBUTION, SUMO_TAG_STOP, SUMO_TAG_TRANSHIP, SUMO_TAG_TRANSPORT, SUMO_TAG_TRIP, SUMO_TAG_VEHICLE, SUMO_TAG_VTYPE, SUMO_TAG_VTYPE_DISTRIBUTION, SUMO_TAG_WALK, and WRITE_ERROR.
Referenced by GNEGeneralHandler::beginTag().
|
virtual |
build container
Implements RouteHandler.
Definition at line 961 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), NamespaceIDs::containers, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), getType(), GNEViewNet::getUndoList(), GNENet::getViewNet(), SUMOVehicleParameter::id, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, myParentPlanElements, retrieveDemandElement(), SUMO_TAG_CONTAINER, SUMOVehicleParameter::tag, TLF, toString(), SUMOVehicleParameter::vtypeid, and CommonHandler::writeError().
Referenced by transformToContainer().
|
virtual |
build container flow
Implements RouteHandler.
Definition at line 995 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), NamespaceIDs::containers, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), getType(), GNEViewNet::getUndoList(), GNENet::getViewNet(), SUMOVehicleParameter::id, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, myParentPlanElements, retrieveDemandElement(), SUMO_TAG_CONTAINERFLOW, SUMOVehicleParameter::tag, TLF, toString(), SUMOVehicleParameter::vtypeid, and CommonHandler::writeError().
Referenced by transformToContainerFlow().
| bool GNERouteHandler::buildContainerPlan | ( | const GNEDemandElement * | planTemplate, |
| GNEDemandElement * | containerParent, | ||
| GNEAttributesEditor * | containerPlanAttributesEditor, | ||
| GNEPlanCreator * | planCreator, | ||
| const bool | centerAfterCreation | ||
| ) |
build container plan
Definition at line 1407 of file GNERouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), Boundary::around(), buildContainerStop(), buildTranship(), buildTransport(), GUISUMOAbstractView::centerTo(), CommonXMLStructure::SumoBaseObject::clear(), GNEAttributesEditor::fillSumoBaseObject(), GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getBoolAttribute(), GNEPlanCreator::getClickedPositionOverLane(), CommonXMLStructure::SumoBaseObject::getDoubleAttribute(), GNEAttributeCarrier::getID(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), GNEPlanCreator::getPlanParameteres(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getStringListAttribute(), GNETagProperties::getTag(), CommonXMLStructure::SumoBaseObject::getTag(), GNEAttributeCarrier::getTagProperty(), CommonXMLStructure::SumoBaseObject::getTimeAttribute(), GNENet::getViewNet(), GUISUMOAbstractView::getVisibleBoundary(), CommonXMLStructure::SumoBaseObject::hasBoolAttribute(), CommonXMLStructure::SumoBaseObject::hasDoubleAttribute(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), CommonXMLStructure::SumoBaseObject::hasStringListAttribute(), CommonXMLStructure::SumoBaseObject::hasTimeAttribute(), GNETagProperties::isPlanStopContainer(), GNETagProperties::isPlanTranship(), GNETagProperties::isPlanTransport(), myNet, myPlanObject, GNENetHelper::AttributeCarriers::retrieveDemandElement(), CommonXMLStructure::SumoBaseObject::setTag(), STOP_DURATION_SET, STOP_UNTIL_SET, SUMO_ATTR_ACTTYPE, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DURATION, SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_GROUP, SUMO_ATTR_ID, SUMO_ATTR_LINES, SUMO_ATTR_SPEED, and SUMO_ATTR_UNTIL.
Referenced by GNEContainerFrame::createPath(), and GNEContainerPlanFrame::createPath().
| bool GNERouteHandler::buildContainerStop | ( | const CommonXMLStructure::SumoBaseObject * | sumoBaseObject, |
| const CommonXMLStructure::PlanParameters & | planParameters, | ||
| const double | endPos, | ||
| const SUMOTime | duration, | ||
| const SUMOTime | until, | ||
| const std::string & | actType, | ||
| const bool | friendlyPos, | ||
| const int | parameterSet | ||
| ) |
build container stop
Definition at line 1138 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEPlanParents::addDemandElementChild(), GNEUndoList::begin(), GNEPlanParents::checkIntegrity(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getContainerParent(), CommonXMLStructure::PlanParameters::getContainerStopTag(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, myNet, SUMO_TAG_CONTAINER, SUMO_TAG_NOTHING, SUMO_TAG_STOP, TL, TLF, CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by buildContainerPlan(), buildStop(), and duplicatePlan().
|
virtual |
build flow
Implements RouteHandler.
Definition at line 638 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), checkViaAttribute(), SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEDemandElement::getAttributeDouble(), CommonXMLStructure::SumoBaseObject::getStringListAttribute(), GNEAttributeCarrier::getTagStr(), getType(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GIVEN, CommonXMLStructure::SumoBaseObject::hasStringListAttribute(), SUMOVehicleParameter::id, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, parseEdge(), retrieveDemandElement(), SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_MAXSPEED, SUMO_ATTR_VIA, SUMO_TAG_FLOW, SUMO_TAG_VTYPE, SUMOVehicleParameter::tag, TLF, toString(), NamespaceIDs::vehicles, VEHPARS_DEPARTLANE_SET, VEHPARS_DEPARTSPEED_SET, SUMOVehicleParameter::via, SUMOVehicleParameter::vtypeid, SUMOVehicleParameter::wasSet(), CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by transformToFlow().
|
virtual |
build a flow with an embedded route
Implements RouteHandler.
Definition at line 439 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEDemandElement::getAttributeDouble(), GNEAttributeCarrier::getTagStr(), getType(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GIVEN, GNE_TAG_FLOW_WITHROUTE, SUMOVehicleParameter::id, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, parseEdges(), retrieveDemandElement(), SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_MAXSPEED, SUMO_TAG_VTYPE, SUMOVehicleParameter::tag, TLF, toString(), NamespaceIDs::vehicles, VEHPARS_DEPARTLANE_SET, VEHPARS_DEPARTSPEED_SET, SUMOVehicleParameter::vtypeid, SUMOVehicleParameter::wasSet(), CommonHandler::writeError(), CommonHandler::writeErrorEmptyEdges(), and CommonHandler::writeErrorInvalidParent().
Referenced by transformToRouteFlow().
|
virtual |
build flow over junctions
Implements RouteHandler.
Definition at line 691 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEDemandElement::getAttributeDouble(), GNEAttributeCarrier::getTagStr(), getType(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GIVEN, GNE_TAG_FLOW_JUNCTIONS, SUMOVehicleParameter::id, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, parseJunction(), retrieveDemandElement(), SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_MAXSPEED, SUMO_TAG_VTYPE, SUMOVehicleParameter::tag, TLF, toString(), NamespaceIDs::vehicles, VEHPARS_DEPARTLANE_SET, VEHPARS_DEPARTSPEED_SET, SUMOVehicleParameter::vtypeid, SUMOVehicleParameter::wasSet(), CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by transformToFlowJunctions().
|
virtual |
build a flow over an existent route
Implements RouteHandler.
Definition at line 399 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEDemandElement::getAttributeDouble(), GNEHierarchicalElement::getParentEdges(), GNEAttributeCarrier::getTagStr(), getType(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GIVEN, GNE_TAG_FLOW_ROUTE, SUMOVehicleParameter::id, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveDemandElement(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMOVehicleParameter::routeid, SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_MAXSPEED, SUMO_TAG_ROUTE, SUMO_TAG_VTYPE, SUMOVehicleParameter::tag, TLF, toString(), NamespaceIDs::vehicles, VEHPARS_DEPARTLANE_SET, VEHPARS_DEPARTSPEED_SET, SUMOVehicleParameter::vtypeid, SUMOVehicleParameter::wasSet(), CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by transformToRouteFlow().
|
virtual |
build flow over junctions
Implements RouteHandler.
Definition at line 738 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEDemandElement::getAttributeDouble(), GNEAttributeCarrier::getTagStr(), getType(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GIVEN, GNE_TAG_FLOW_TAZS, SUMOVehicleParameter::id, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, parseTAZ(), retrieveDemandElement(), SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_MAXSPEED, SUMO_TAG_VTYPE, SUMOVehicleParameter::tag, TLF, toString(), NamespaceIDs::vehicles, VEHPARS_DEPARTLANE_SET, VEHPARS_DEPARTSPEED_SET, SUMOVehicleParameter::vtypeid, SUMOVehicleParameter::wasSet(), CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by transformToFlowTAZs().
|
virtual |
build person
Implements RouteHandler.
Definition at line 785 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getTagStr(), getType(), GNEViewNet::getUndoList(), GNENet::getViewNet(), SUMOVehicleParameter::id, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, myParentPlanElements, NamespaceIDs::persons, retrieveDemandElement(), SUMO_TAG_PERSON, SUMO_TAG_VTYPE, TLF, SUMOVehicleParameter::vtypeid, and CommonHandler::writeErrorInvalidParent().
Referenced by transformToPerson().
|
virtual |
build person flow
Implements RouteHandler.
Definition at line 819 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getTagStr(), getType(), GNEViewNet::getUndoList(), GNENet::getViewNet(), SUMOVehicleParameter::id, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, myParentPlanElements, NamespaceIDs::persons, retrieveDemandElement(), SUMO_TAG_PERSONFLOW, SUMO_TAG_VTYPE, TLF, SUMOVehicleParameter::vtypeid, and CommonHandler::writeErrorInvalidParent().
Referenced by transformToPersonFlow().
| bool GNERouteHandler::buildPersonPlan | ( | const GNEDemandElement * | planTemplate, |
| GNEDemandElement * | personParent, | ||
| GNEAttributesEditor * | personPlanAttributesEditor, | ||
| GNEPlanCreator * | planCreator, | ||
| const bool | centerAfterCreation | ||
| ) |
build person plan
Definition at line 1330 of file GNERouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), Boundary::around(), buildPersonStop(), buildPersonTrip(), buildRide(), buildWalk(), GUISUMOAbstractView::centerTo(), CommonXMLStructure::SumoBaseObject::clear(), GNEAttributesEditor::fillSumoBaseObject(), GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getBoolAttribute(), GNEPlanCreator::getClickedPositionOverLane(), CommonXMLStructure::SumoBaseObject::getDoubleAttribute(), GNEAttributeCarrier::getID(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), GNEPlanCreator::getPlanParameteres(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getStringListAttribute(), GNETagProperties::getTag(), CommonXMLStructure::SumoBaseObject::getTag(), GNEAttributeCarrier::getTagProperty(), CommonXMLStructure::SumoBaseObject::getTimeAttribute(), GNENet::getViewNet(), GUISUMOAbstractView::getVisibleBoundary(), CommonXMLStructure::SumoBaseObject::hasBoolAttribute(), CommonXMLStructure::SumoBaseObject::hasDoubleAttribute(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), CommonXMLStructure::SumoBaseObject::hasStringListAttribute(), CommonXMLStructure::SumoBaseObject::hasTimeAttribute(), GNETagProperties::isPlanPersonTrip(), GNETagProperties::isPlanRide(), GNETagProperties::isPlanStopPerson(), GNETagProperties::isPlanWalk(), myNet, myPlanObject, GNENetHelper::AttributeCarriers::retrieveDemandElement(), CommonXMLStructure::SumoBaseObject::setTag(), STOP_DURATION_SET, STOP_UNTIL_SET, SUMO_ATTR_ACTTYPE, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_DURATION, SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_GROUP, SUMO_ATTR_ID, SUMO_ATTR_LINES, SUMO_ATTR_MODES, SUMO_ATTR_SPEED, SUMO_ATTR_UNTIL, SUMO_ATTR_VTYPES, and SUMO_ATTR_WALKFACTOR.
Referenced by GNEPersonFrame::createPath(), and GNEPersonPlanFrame::createPath().
| bool GNERouteHandler::buildPersonStop | ( | const CommonXMLStructure::SumoBaseObject * | sumoBaseObject, |
| const CommonXMLStructure::PlanParameters & | planParameters, | ||
| const double | endPos, | ||
| const SUMOTime | duration, | ||
| const SUMOTime | until, | ||
| const std::string & | actType, | ||
| const bool | friendlyPos, | ||
| const int | parameterSet | ||
| ) |
build person stop
Definition at line 1102 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEPlanParents::addDemandElementChild(), GNEUndoList::begin(), GNEPlanParents::checkIntegrity(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), getPersonParent(), CommonXMLStructure::PlanParameters::getPersonStopTag(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, myNet, SUMO_TAG_NOTHING, SUMO_TAG_PERSON, SUMO_TAG_STOP, TL, TLF, CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by buildPersonPlan(), buildStop(), and duplicatePlan().
|
virtual |
build person trip
Implements RouteHandler.
Definition at line 853 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEPlanParents::addDemandElementChild(), GNEUndoList::begin(), GNEPlanParents::checkIntegrity(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), getPersonParent(), CommonXMLStructure::PlanParameters::getPersonTripTag(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, myNet, SUMO_TAG_NOTHING, SUMO_TAG_PERSON, SUMO_TAG_PERSONTRIP, TL, TLF, CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by buildPersonPlan(), and duplicatePlan().
|
virtual |
build ride
Implements RouteHandler.
Definition at line 927 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEPlanParents::addDemandElementChild(), GNEUndoList::begin(), GNEPlanParents::checkIntegrity(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), getPersonParent(), CommonXMLStructure::PlanParameters::getRideTag(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, myNet, SUMO_TAG_NOTHING, SUMO_TAG_PERSON, SUMO_TAG_RIDE, TL, TLF, CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by buildPersonPlan(), and duplicatePlan().
|
virtual |
build route
Implements RouteHandler.
Definition at line 199 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkNegative(), CommonHandler::checkValidDemandElementID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTag(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, parseEdges(), retrieveDemandElement(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), NamespaceIDs::routes, SUMO_ATTR_ID, SUMO_ATTR_REPEAT, SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_DISTRIBUTION, TLF, toString(), WRITE_WARNING, and CommonHandler::writeErrorEmptyEdges().
Referenced by transformToRouteFlow(), and transformToVehicle().
|
virtual |
build route distribution
Implements RouteHandler.
Definition at line 283 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveDemandElement(), NamespaceIDs::routes, SUMO_TAG_ROUTE_DISTRIBUTION, and TLF.
|
virtual |
build route ref
Implements RouteHandler.
Definition at line 256 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getRouteDistributionParent(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNE_TAG_ROUTEREF, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_DISTRIBUTION, TLF, and CommonHandler::writeErrorInvalidParent().
|
virtual |
build stop
Implements RouteHandler.
Definition at line 1174 of file GNERouteHandler.cpp.
References SUMOVehicleParameter::Stop::actType, GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), buildContainerStop(), buildPersonStop(), SUMOVehicleParameter::Stop::busstop, SUMOVehicleParameter::Stop::chargingStation, SUMOVehicleParameter::Stop::containerstop, SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::edge, GNEUndoList::end(), SUMOVehicleParameter::Stop::endPos, SUMOVehicleParameter::Stop::friendlyPos, GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), GNELane::getParentEdge(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStopParameter(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNE_TAG_FLOW_ROUTE, GNE_TAG_FLOW_WITHROUTE, GNE_TAG_STOP_BUSSTOP, GNE_TAG_STOP_CHARGINGSTATION, GNE_TAG_STOP_CONTAINERSTOP, GNE_TAG_STOP_LANE, GNE_TAG_STOP_PARKINGAREA, GNE_TAG_STOP_TRAINSTOP, GNE_TAG_STOPCONTAINER_CONTAINERSTOP, GNE_TAG_STOPPERSON_BUSSTOP, GNE_TAG_STOPPERSON_TRAINSTOP, GNE_TAG_VEHICLE_WITHROUTE, GNE_TAG_WAYPOINT_BUSSTOP, GNE_TAG_WAYPOINT_CHARGINGSTATION, GNE_TAG_WAYPOINT_CONTAINERSTOP, GNE_TAG_WAYPOINT_LANE, GNE_TAG_WAYPOINT_PARKINGAREA, GNE_TAG_WAYPOINT_TRAINSTOP, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), GNETagProperties::isContainer(), GNETagProperties::isPerson(), GNETagProperties::isVehicle(), SUMOVehicleParameter::Stop::lane, myAllowUndoRedo, myNet, SUMOVehicleParameter::Stop::parametersSet, SUMOVehicleParameter::Stop::parkingarea, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), GNENetHelper::AttributeCarriers::retrieveEdge(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMOVehicleParameter::Stop::speed, STOP_SPEED_SET, SUMO_ATTR_FROM, SUMO_ATTR_ID, SUMO_ATTR_ROUTE, SUMO_ATTR_TO, SUMO_TAG_BUS_STOP, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CONTAINER, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_CONTAINERFLOW, SUMO_TAG_FLOW, SUMO_TAG_NOTHING, SUMO_TAG_PARKING_AREA, SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW, SUMO_TAG_STOP, SUMO_TAG_TRAIN_STOP, SUMO_TAG_VEHICLE, TL, TLF, SUMOVehicleParameter::Stop::until, CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by GNEStopFrame::addStop().
|
virtual |
build tranship
Implements RouteHandler.
Definition at line 1063 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEPlanParents::addDemandElementChild(), GNEUndoList::begin(), GNEPlanParents::checkIntegrity(), CommonHandler::checkNegative(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getContainerParent(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), CommonXMLStructure::PlanParameters::getTranshipTag(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, myNet, SUMO_ATTR_DURATION, SUMO_ATTR_SPEED, SUMO_TAG_CONTAINER, SUMO_TAG_NOTHING, SUMO_TAG_TRANSHIP, TL, TLF, CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by buildContainerPlan(), and duplicatePlan().
|
virtual |
build transport
Implements RouteHandler.
Definition at line 1029 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEPlanParents::addDemandElementChild(), GNEUndoList::begin(), GNEPlanParents::checkIntegrity(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getContainerParent(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTagStr(), CommonXMLStructure::PlanParameters::getTransportTag(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, myNet, SUMO_TAG_CONTAINER, SUMO_TAG_NOTHING, SUMO_TAG_TRANSPORT, TL, TLF, CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by buildContainerPlan(), and duplicatePlan().
|
virtual |
build trip
Implements RouteHandler.
Definition at line 491 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), checkViaAttribute(), SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEDemandElement::getAttributeDouble(), CommonXMLStructure::SumoBaseObject::getStringListAttribute(), GNEAttributeCarrier::getTagStr(), getType(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GIVEN, CommonXMLStructure::SumoBaseObject::hasStringListAttribute(), SUMOVehicleParameter::id, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, parseEdge(), retrieveDemandElement(), SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_MAXSPEED, SUMO_ATTR_VIA, SUMO_TAG_TRIP, SUMO_TAG_VTYPE, SUMOVehicleParameter::tag, TLF, toString(), NamespaceIDs::vehicles, VEHPARS_DEPARTLANE_SET, VEHPARS_DEPARTSPEED_SET, SUMOVehicleParameter::via, SUMOVehicleParameter::vtypeid, SUMOVehicleParameter::wasSet(), CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by transformToTrip().
|
virtual |
build trip over junctions
Implements RouteHandler.
Definition at line 544 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEDemandElement::getAttributeDouble(), GNEAttributeCarrier::getTagStr(), getType(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GIVEN, GNE_TAG_TRIP_JUNCTIONS, SUMOVehicleParameter::id, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, parseJunction(), retrieveDemandElement(), SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_MAXSPEED, SUMO_TAG_VTYPE, SUMOVehicleParameter::tag, TLF, toString(), NamespaceIDs::vehicles, VEHPARS_DEPARTLANE_SET, VEHPARS_DEPARTSPEED_SET, SUMOVehicleParameter::vtypeid, SUMOVehicleParameter::wasSet(), CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by transformToTripJunctions().
|
virtual |
build trip over TAZs
Implements RouteHandler.
Definition at line 591 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEDemandElement::getAttributeDouble(), GNEAttributeCarrier::getTagStr(), getType(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GIVEN, GNE_TAG_TRIP_TAZS, SUMOVehicleParameter::id, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, parseTAZ(), retrieveDemandElement(), SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_MAXSPEED, SUMO_TAG_VTYPE, SUMOVehicleParameter::tag, TLF, toString(), NamespaceIDs::vehicles, VEHPARS_DEPARTLANE_SET, VEHPARS_DEPARTSPEED_SET, SUMOVehicleParameter::vtypeid, SUMOVehicleParameter::wasSet(), CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by transformToTripTAZs().
|
virtual |
build a vehicle with an embedded route
Implements RouteHandler.
Definition at line 347 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEDemandElement::getAttributeDouble(), GNEAttributeCarrier::getTagStr(), getType(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GIVEN, GNE_TAG_ROUTE_EMBEDDED, GNE_TAG_VEHICLE_WITHROUTE, SUMOVehicleParameter::id, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, parseEdges(), retrieveDemandElement(), SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_MAXSPEED, SUMO_TAG_VTYPE, SUMOVehicleParameter::tag, TLF, toString(), NamespaceIDs::vehicles, VEHPARS_DEPARTLANE_SET, VEHPARS_DEPARTSPEED_SET, SUMOVehicleParameter::vtypeid, SUMOVehicleParameter::wasSet(), CommonHandler::writeError(), CommonHandler::writeErrorEmptyEdges(), and CommonHandler::writeErrorInvalidParent().
Referenced by transformToVehicle().
|
virtual |
build a vehicle over an existent route
Implements RouteHandler.
Definition at line 307 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), SUMOVehicleParameter::departLane, SUMOVehicleParameter::departLaneProcedure, SUMOVehicleParameter::departSpeed, SUMOVehicleParameter::departSpeedProcedure, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEDemandElement::getAttributeDouble(), GNEHierarchicalElement::getParentEdges(), GNEAttributeCarrier::getTagStr(), getType(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GIVEN, SUMOVehicleParameter::id, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveDemandElement(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMOVehicleParameter::routeid, SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_MAXSPEED, SUMO_TAG_ROUTE, SUMO_TAG_VEHICLE, SUMO_TAG_VTYPE, SUMOVehicleParameter::tag, TLF, toString(), NamespaceIDs::vehicles, VEHPARS_DEPARTLANE_SET, VEHPARS_DEPARTSPEED_SET, SUMOVehicleParameter::vtypeid, SUMOVehicleParameter::wasSet(), CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by transformToVehicle().
|
virtual |
build vType
Implements RouteHandler.
Definition at line 100 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), DEFAULT_VTYPES, SUMOVTypeParameter::defaultProbability, GNEUndoList::end(), GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTag(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), SUMOVTypeParameter::id, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, GNEVType::overwriteVType(), retrieveDemandElement(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMO_ATTR_ID, SUMO_TAG_VTYPE, SUMO_TAG_VTYPE_DISTRIBUTION, TLF, toString(), NamespaceIDs::types, and WRITE_WARNING.
|
virtual |
build vType distribution
Implements RouteHandler.
Definition at line 175 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidDemandElementID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveDemandElement(), SUMO_TAG_VTYPE_DISTRIBUTION, TLF, and NamespaceIDs::types.
|
virtual |
build vType ref
Implements RouteHandler.
Definition at line 148 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), getVTypeDistributionParent(), GNE_TAG_VTYPEREF, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMO_TAG_VTYPE, SUMO_TAG_VTYPE_DISTRIBUTION, TLF, and CommonHandler::writeErrorInvalidParent().
|
virtual |
build walk
Implements RouteHandler.
Definition at line 889 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEPlanParents::addDemandElementChild(), GNEUndoList::begin(), GNEPlanParents::checkIntegrity(), CommonHandler::checkNegative(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), getPersonParent(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), CommonXMLStructure::PlanParameters::getWalkTag(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertDemandElement(), myAllowUndoRedo, myNet, SUMO_ATTR_DURATION, SUMO_ATTR_SPEED, SUMO_TAG_NOTHING, SUMO_TAG_PERSON, SUMO_TAG_WALK, TL, TLF, CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
Referenced by buildPersonPlan(), and duplicatePlan().
|
static |
reverse functions
check if the given vehicle can be reversed
Definition at line 2317 of file GNERouteHandler.cpp.
References GNEPathManager::PathCalculator::calculateDijkstraPath(), canReverse(), GNEHierarchicalElement::getChildDemandElements(), GNENet::getDemandPathManager(), GNEAttributeCarrier::getNet(), GNEHierarchicalElement::getParentDemandElements(), GNEHierarchicalElement::getParentEdges(), GNEHierarchicalElement::getParentJunctions(), GNEPathManager::getPathCalculator(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEDemandElement::getVClass(), SUMO_TAG_ROUTE, SVC_PEDESTRIAN, GNETagProperties::vehicleEdges(), GNETagProperties::vehicleJunctions(), GNETagProperties::vehicleRoute(), GNETagProperties::vehicleRouteEmbedded(), and GNETagProperties::vehicleTAZs().
Referenced by GNEDemandElement::buildMenuAddReverse(), and canReverse().
|
static |
check if the given list of edges can be reversed
Definition at line 2339 of file GNERouteHandler.cpp.
References GNEPathManager::PathCalculator::calculateDijkstraPath(), GNENet::getDemandPathManager(), and GNEPathManager::getPathCalculator().
|
protectedinherited |
check container plan parents
Definition at line 193 of file CommonHandler.cpp.
References CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), SUMO_TAG_CONTAINER, and SUMO_TAG_CONTAINERFLOW.
Referenced by RouteHandler::parseSumoBaseObject().
|
protected |
check if element exist, and if overwritte
Definition at line 2688 of file GNERouteHandler.cpp.
References GNENet::deleteDemandElement(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEViewNet::getUndoList(), GNENet::getViewNet(), myAllowUndoRedo, myNet, myOverwrite, CommonHandler::writeWarningDuplicated(), and CommonHandler::writeWarningOverwritting().
Referenced by buildContainer(), buildContainerFlow(), buildFlow(), buildFlowEmbeddedRoute(), buildFlowJunctions(), buildFlowOverRoute(), buildFlowTAZs(), buildPerson(), buildPersonFlow(), buildRoute(), buildRouteDistribution(), buildTrip(), buildTripJunctions(), buildTripTAZs(), buildVehicleEmbeddedRoute(), buildVehicleOverRoute(), buildVType(), and buildVTypeDistribution().
|
protectedinherited |
check if the given filename is valid
Definition at line 280 of file CommonHandler.cpp.
References SUMOXMLDefinitions::isValidFilename(), TLF, toString(), and CommonHandler::writeError().
Referenced by GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildRouteProbe(), and GNEAdditionalHandler::buildSingleLaneDetectorE2().
|
protectedinherited |
check list of IDs
Definition at line 122 of file CommonHandler.cpp.
References SUMOXMLDefinitions::isValidTypeID(), TLF, toString(), and CommonHandler::writeError().
Referenced by GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), and GNEAdditionalHandler::buildVariableSpeedSign().
|
protectedinherited |
check if the given double value is NOT negative
Definition at line 244 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
|
protectedinherited |
check if the given int value is NOT negative
Definition at line 226 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
Referenced by GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEMeanDataHandler::buildEdgeMeanData(), GNEAdditionalHandler::buildLaneCalibrator(), GNEMeanDataHandler::buildLaneMeanData(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), buildRoute(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), buildTranship(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSignStep(), buildWalk(), AdditionalHandler::parseDestProbRerouteAttributes(), AdditionalHandler::parseParkingAreaRerouteAttributes(), AdditionalHandler::parseRerouterAttributes(), RouteHandler::parseRoute(), RouteHandler::parseRouteEmbedded(), and AdditionalHandler::parseRouteProbRerouteAttributes().
|
protectedinherited |
check if the given SUMOTime value is NOT negative
Definition at line 262 of file CommonHandler.cpp.
References time2string(), TLF, toString(), and CommonHandler::writeError().
|
protectedinherited |
check parsed parents
Definition at line 91 of file CommonHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTag(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), CommonHandler::myCommonXMLStructure, SUMO_ATTR_ID, SUMO_TAG_ERROR, TLF, toString(), and CommonHandler::writeError().
Referenced by AdditionalHandler::parseAccessAttributes(), AdditionalHandler::parseClosingLaneRerouteAttributes(), AdditionalHandler::parseClosingRerouteAttributes(), AdditionalHandler::parseDestProbRerouteAttributes(), AdditionalHandler::parseEntryAttributes(), AdditionalHandler::parseExitAttributes(), AdditionalHandler::parseParkingAreaRerouteAttributes(), AdditionalHandler::parseParkingSpaceAttributes(), RouteHandler::parsePersonTrip(), AdditionalHandler::parseRerouterIntervalAttributes(), RouteHandler::parseRide(), AdditionalHandler::parseRouteProbRerouteAttributes(), RouteHandler::parseStop(), AdditionalHandler::parseTAZSinkAttributes(), AdditionalHandler::parseTAZSourceAttributes(), RouteHandler::parseTranship(), RouteHandler::parseTransport(), AdditionalHandler::parseVariableSpeedSignStepAttributes(), and RouteHandler::parseWalk().
|
protectedinherited |
check person plan parents
Definition at line 178 of file CommonHandler.cpp.
References CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), SUMO_TAG_PERSON, and SUMO_TAG_PERSONFLOW.
Referenced by RouteHandler::parseSumoBaseObject().
|
protectedinherited |
check stop parents
Definition at line 208 of file CommonHandler.cpp.
References CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), SUMO_TAG_CONTAINER, SUMO_TAG_CONTAINERFLOW, SUMO_TAG_FLOW, SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW, SUMO_TAG_ROUTE, SUMO_TAG_TRIP, and SUMO_TAG_VEHICLE.
Referenced by RouteHandler::parseSumoBaseObject().
|
protectedinherited |
check if the given additional ID is valid
Definition at line 290 of file CommonHandler.cpp.
References SUMOXMLDefinitions::isValidVehicleID(), TLF, toString(), and CommonHandler::writeError().
Referenced by GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEMeanDataHandler::buildEdgeMeanData(), GNEAdditionalHandler::buildJpsObstacle(), GNEAdditionalHandler::buildJpsWalkableArea(), GNEAdditionalHandler::buildLaneCalibrator(), GNEMeanDataHandler::buildLaneMeanData(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), GNEAdditionalHandler::buildVaporizer(), and GNEAdditionalHandler::buildVariableSpeedSign().
|
protectedinherited |
check if the given demand elmement ID is valid
Definition at line 314 of file CommonHandler.cpp.
References SUMOXMLDefinitions::isValidVehicleID(), TLF, toString(), and CommonHandler::writeError().
Referenced by buildContainer(), buildContainerFlow(), buildFlow(), buildFlowEmbeddedRoute(), buildFlowJunctions(), buildFlowOverRoute(), buildFlowTAZs(), buildPerson(), buildPersonFlow(), buildRoute(), buildRouteDistribution(), buildTrip(), buildTripJunctions(), buildTripTAZs(), buildVehicleEmbeddedRoute(), buildVehicleOverRoute(), buildVType(), and buildVTypeDistribution().
|
protectedinherited |
check if the given detector ID is valid
Definition at line 302 of file CommonHandler.cpp.
References SUMOXMLDefinitions::isValidDetectorID(), TLF, toString(), and CommonHandler::writeError().
Referenced by GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), and GNEAdditionalHandler::buildSingleLaneDetectorE2().
|
protectedinherited |
check vehicle parents
Definition at line 147 of file CommonHandler.cpp.
References CommonHandler::getEmbeddedRoute(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTag(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), SUMO_ATTR_FROM, SUMO_ATTR_FROM_JUNCTION, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_ID, SUMO_ATTR_ROUTE, SUMO_ATTR_TO, SUMO_ATTR_TO_JUNCTION, SUMO_ATTR_TO_TAZ, TLF, toString(), and CommonHandler::writeError().
Referenced by RouteHandler::parseSumoBaseObject().
| bool GNERouteHandler::checkViaAttribute | ( | const SumoXMLTag | tag, |
| const std::string & | id, | ||
| const std::vector< std::string > & | via | ||
| ) |
check if via attribute is valid
Definition at line 1646 of file GNERouteHandler.cpp.
References GNENet::getAttributeCarriers(), myNet, GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_TAG_EDGE, TLF, toString(), and CommonHandler::writeError().
Referenced by buildFlow(), and buildTrip().
|
protectedinherited |
check if the given object is within a distribution (VType or routes)
Definition at line 133 of file CommonHandler.cpp.
References CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getTag(), SUMO_TAG_ROUTE_DISTRIBUTION, and SUMO_TAG_VTYPE_DISTRIBUTION.
| void GNERouteHandler::duplicatePlan | ( | const GNEDemandElement * | originalPlan, |
| GNEDemandElement * | newParent | ||
| ) |
duplicate given plan in new parent
Definition at line 1480 of file GNERouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), buildContainerStop(), buildPersonStop(), buildPersonTrip(), buildRide(), buildTranship(), buildTransport(), buildWalk(), CommonXMLStructure::SumoBaseObject::clear(), CommonXMLStructure::PlanParameters::consecutiveEdges, CommonXMLStructure::PlanParameters::fromBusStop, CommonXMLStructure::PlanParameters::fromContainerStop, CommonXMLStructure::PlanParameters::fromEdge, CommonXMLStructure::PlanParameters::fromJunction, CommonXMLStructure::PlanParameters::fromTAZ, CommonXMLStructure::PlanParameters::fromTrainStop, GNEDemandElement::getAttribute(), GNEDemandElement::getAttributeDouble(), CommonXMLStructure::SumoBaseObject::getBoolAttribute(), CommonXMLStructure::SumoBaseObject::getDoubleAttribute(), GNEAttributeCarrier::getID(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getStringListAttribute(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), CommonXMLStructure::SumoBaseObject::getTimeAttribute(), GNE_ATTR_FROM_BUSSTOP, GNE_ATTR_FROM_CONTAINERSTOP, GNE_ATTR_FROM_TRAINSTOP, CommonXMLStructure::SumoBaseObject::hasStringAttribute(), CommonXMLStructure::SumoBaseObject::hasTimeAttribute(), myPlanObject, CommonXMLStructure::SumoBaseObject::setTag(), STOP_DURATION_SET, STOP_UNTIL_SET, SUMO_ATTR_ACTTYPE, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_BUS_STOP, SUMO_ATTR_CONTAINER_STOP, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DURATION, SUMO_ATTR_EDGE, SUMO_ATTR_EDGES, SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_FROM, SUMO_ATTR_FROM_JUNCTION, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_GROUP, SUMO_ATTR_ID, SUMO_ATTR_LINES, SUMO_ATTR_MODES, SUMO_ATTR_ROUTE, SUMO_ATTR_SPEED, SUMO_ATTR_TO, SUMO_ATTR_TO_JUNCTION, SUMO_ATTR_TO_TAZ, SUMO_ATTR_TRAIN_STOP, SUMO_ATTR_UNTIL, SUMO_ATTR_VTYPES, SUMO_ATTR_WALKFACTOR, CommonXMLStructure::PlanParameters::toBusStop, CommonXMLStructure::PlanParameters::toContainerStop, CommonXMLStructure::PlanParameters::toEdge, CommonXMLStructure::PlanParameters::toJunction, CommonXMLStructure::PlanParameters::toRoute, CommonXMLStructure::PlanParameters::toTAZ, and CommonXMLStructure::PlanParameters::toTrainStop.
Referenced by transformToPerson(), and transformToPersonFlow().
|
inherited |
end parse attributes
Definition at line 165 of file RouteHandler.cpp.
References CommonXMLStructure::closeSUMOBaseOBject(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getDoubleListAttribute(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringListAttribute(), CommonXMLStructure::SumoBaseObject::getSumoBaseObjectChildren(), CommonXMLStructure::SumoBaseObject::getTag(), CommonHandler::myCommonXMLStructure, RouteHandler::parseSumoBaseObject(), SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_ATTR_PROBS, SUMO_ATTR_REFID, SUMO_ATTR_ROUTES, SUMO_ATTR_VTYPES, SUMO_TAG_CONTAINER, SUMO_TAG_CONTAINERFLOW, SUMO_TAG_FLOW, SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW, SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_DISTRIBUTION, SUMO_TAG_TRIP, SUMO_TAG_VEHICLE, SUMO_TAG_VTYPE, and SUMO_TAG_VTYPE_DISTRIBUTION.
Referenced by GNEGeneralHandler::endTag().
|
protected |
get container parent
Definition at line 2597 of file GNERouteHandler.cpp.
References GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTag(), myNet, GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMO_ATTR_ID, SUMO_TAG_CONTAINER, and SUMO_TAG_CONTAINERFLOW.
Referenced by buildContainerStop(), buildTranship(), and buildTransport().
|
protected |
get distribution elements
Definition at line 2644 of file GNERouteHandler.cpp.
References GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTag(), myNet, GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMO_ATTR_ID, TLF, toString(), and CommonHandler::writeError().
|
protectedinherited |
get embedded route from children
Definition at line 79 of file CommonHandler.cpp.
References CommonXMLStructure::SumoBaseObject::getSumoBaseObjectChildren(), SUMO_ATTR_ID, and SUMO_TAG_ROUTE.
Referenced by CommonHandler::checkVehicleParents(), and RouteHandler::parseSumoBaseObject().
|
protected |
get person parent
Definition at line 2576 of file GNERouteHandler.cpp.
References GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTag(), myNet, GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMO_ATTR_ID, SUMO_TAG_PERSON, and SUMO_TAG_PERSONFLOW.
Referenced by buildPersonStop(), buildPersonTrip(), buildRide(), and buildWalk().
|
protected |
get route distribution parent
Definition at line 2618 of file GNERouteHandler.cpp.
References GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTag(), myNet, GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMO_ATTR_ID, and SUMO_TAG_ROUTE_DISTRIBUTION.
Referenced by buildRouteRef().
|
protected |
get type (Either type o typeDistribution)
Definition at line 2565 of file GNERouteHandler.cpp.
References GNENet::getAttributeCarriers(), myNet, GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMO_TAG_VTYPE, and SUMO_TAG_VTYPE_DISTRIBUTION.
Referenced by buildContainer(), buildContainerFlow(), buildFlow(), buildFlowEmbeddedRoute(), buildFlowJunctions(), buildFlowOverRoute(), buildFlowTAZs(), buildPerson(), buildPersonFlow(), buildTrip(), buildTripJunctions(), buildTripTAZs(), buildVehicleEmbeddedRoute(), and buildVehicleOverRoute().
|
protected |
get vType distribution parent
Definition at line 2631 of file GNERouteHandler.cpp.
References GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTag(), myNet, GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMO_ATTR_ID, and SUMO_TAG_VTYPE_DISTRIBUTION.
Referenced by buildVTypeRef().
|
inherited |
get flag for mark if a element wasn't created
Definition at line 42 of file CommonHandler.cpp.
References CommonHandler::myErrorCreatingElement.
Referenced by GNEGeneralHandler::isErrorCreatingElement(), GNEApplicationWindow::loadDataElements(), and GNEApplicationWindow::onCmdOpenDataElements().
|
privateinherited |
check if element is defined over from-to edges
Definition at line 1361 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::hasStringAttribute(), SUMO_ATTR_FROM, and SUMO_ATTR_TO.
Referenced by RouteHandler::parseSumoBaseObject().
|
privateinherited |
check if element is defined over from-to junctions
Definition at line 1367 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::hasStringAttribute(), SUMO_ATTR_FROM_JUNCTION, and SUMO_ATTR_TO_JUNCTION.
Referenced by RouteHandler::parseSumoBaseObject().
|
privateinherited |
check if element is defined over from-to junctions
Definition at line 1373 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::hasStringAttribute(), SUMO_ATTR_FROM_TAZ, and SUMO_ATTR_TO_TAZ.
Referenced by RouteHandler::parseSumoBaseObject().
|
privatedelete |
invalidate assignment operator
|
privateinherited |
parse container
Definition at line 1038 of file RouteHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, RouteHandler::myHardFail, SUMOVehicleParserHelper::parseVehicleAttributes(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_TAG_CONTAINER, and SUMO_TAG_ERROR.
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse container flow
Definition at line 1055 of file RouteHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, RouteHandler::myFlowBeginDefault, RouteHandler::myFlowEndDefault, RouteHandler::myHardFail, SUMOVehicleParserHelper::parseFlowAttributes(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_TAG_CONTAINERFLOW, and SUMO_TAG_ERROR.
Referenced by RouteHandler::beginParseAttributes().
|
protected |
parse edge
Definition at line 2452 of file GNERouteHandler.cpp.
References GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getSumoBaseObjectChildren(), myNet, parseStopEdge(), GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_TAG_CHARGING_STATION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_EDGE, SUMO_TAG_PARKING_AREA, SUMO_TAG_STOP, SUMO_TAG_TRAIN_STOP, and CommonHandler::writeErrorInvalidParent().
Referenced by buildFlow(), and buildTrip().
|
protected |
parse edge from lane ID
Definition at line 2537 of file GNERouteHandler.cpp.
References GNENet::getAttributeCarriers(), myNet, and GNENetHelper::AttributeCarriers::retrieveEdge().
Referenced by parseStopEdge().
|
protected |
parse edges
Definition at line 2547 of file GNERouteHandler.cpp.
References GNENet::getAttributeCarriers(), myNet, GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_TAG_EDGE, TLF, toString(), and CommonHandler::writeError().
Referenced by buildFlowEmbeddedRoute(), buildRoute(), and buildVehicleEmbeddedRoute().
|
privateinherited |
parse flow (including flows, flows over routes and flows with embedded routes)
Definition at line 793 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::id, CommonHandler::myCommonXMLStructure, RouteHandler::myFlowBeginDefault, RouteHandler::myFlowEndDefault, RouteHandler::myHardFail, SUMOVehicleParserHelper::parseFlowAttributes(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_ATTR_FROM, SUMO_ATTR_FROM_JUNCTION, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_ROUTE, SUMO_ATTR_TO, SUMO_ATTR_TO_JUNCTION, SUMO_ATTR_TO_TAZ, SUMO_ATTR_VIA, SUMO_TAG_ERROR, SUMO_TAG_FLOW, TL, and CommonHandler::writeError().
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse interval
Definition at line 1131 of file RouteHandler.cpp.
References SUMOSAXAttributes::getSUMOTimeReporting(), RouteHandler::myFlowBeginDefault, RouteHandler::myFlowEndDefault, SUMO_ATTR_BEGIN, and SUMO_ATTR_END.
Referenced by RouteHandler::beginParseAttributes().
|
protected |
parse junction
Definition at line 2430 of file GNERouteHandler.cpp.
References GNENet::getAttributeCarriers(), myNet, GNENetHelper::AttributeCarriers::retrieveJunction(), SUMO_TAG_JUNCTION, and CommonHandler::writeErrorInvalidParent().
Referenced by buildFlowJunctions(), and buildTripJunctions().
|
privateinherited |
parse nested CarFollowingModel
Definition at line 1141 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getVehicleTypeParameter(), RouteHandler::myHardFail, SUMOVehicleParserHelper::parseCFMParams(), CommonXMLStructure::SumoBaseObject::setVehicleTypeParameter(), SUMO_ATTR_ID, TL, WRITE_WARNINGF, and CommonHandler::writeError().
Referenced by RouteHandler::beginParseAttributes().
|
protectedinherited |
parse generic parameters
Definition at line 48 of file CommonHandler.cpp.
References SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), SUMOSAXAttributes::getString(), SUMOSAXAttributes::hasAttribute(), SUMOXMLDefinitions::isValidParameterKey(), CommonHandler::myCommonXMLStructure, SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_ERROR, SUMO_TAG_PARAM, SUMO_TAG_ROOTFILE, TL, TLF, toString(), and CommonHandler::writeError().
Referenced by AdditionalHandler::beginParseAttributes(), and RouteHandler::beginParseAttributes().
|
privateinherited |
parse person
Definition at line 903 of file RouteHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, RouteHandler::myHardFail, SUMOVehicleParserHelper::parseVehicleAttributes(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_TAG_ERROR, and SUMO_TAG_PERSON.
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse person flow
Definition at line 920 of file RouteHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, RouteHandler::myFlowBeginDefault, RouteHandler::myFlowEndDefault, RouteHandler::myHardFail, SUMOVehicleParserHelper::parseFlowAttributes(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_TAG_ERROR, and SUMO_TAG_PERSONFLOW.
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse person trip
Definition at line 937 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonHandler::checkParsedParent(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, SUMOVehicleParameter::parsePersonModes(), NamespaceIDs::persons, CommonXMLStructure::SumoBaseObject::setPlanParameters(), CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_GROUP, SUMO_ATTR_LINES, SUMO_ATTR_MODES, SUMO_ATTR_VIA, SUMO_ATTR_VTYPES, SUMO_ATTR_WALKFACTOR, SUMO_TAG_ERROR, SUMO_TAG_PERSONTRIP, toString(), and WRITE_WARNING.
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse ride
Definition at line 1012 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonHandler::checkParsedParent(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, NamespaceIDs::persons, CommonXMLStructure::SumoBaseObject::setPlanParameters(), CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_GROUP, SUMO_ATTR_LINES, SUMO_TAG_ERROR, and SUMO_TAG_RIDE.
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse route
Definition at line 587 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addColorAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addIntAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), CommonHandler::checkNegative(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), RGBColor::INVISIBLE, CommonHandler::myCommonXMLStructure, SUMOVehicleParserHelper::parseVehicleClass(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVClass(), SUMO_ATTR_COLOR, SUMO_ATTR_CYCLETIME, SUMO_ATTR_EDGES, SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_ATTR_REPEAT, SUMO_TAG_ERROR, and SUMO_TAG_ROUTE.
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse route distribution
Definition at line 683 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleListAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_PROBS, SUMO_ATTR_ROUTES, SUMO_TAG_ERROR, and SUMO_TAG_ROUTE_DISTRIBUTION.
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse embedded route
Definition at line 643 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addColorAttribute(), CommonXMLStructure::SumoBaseObject::addIntAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), CommonHandler::checkNegative(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getVehicleParameter(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::id, RGBColor::INVISIBLE, CommonHandler::myCommonXMLStructure, SUMOVehicleParserHelper::parseVehicleClass(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVClass(), SUMO_ATTR_COLOR, SUMO_ATTR_CYCLETIME, SUMO_ATTR_EDGES, SUMO_ATTR_ID, SUMO_ATTR_REPEAT, SUMO_TAG_ERROR, SUMO_TAG_ROUTE, TL, and CommonHandler::writeError().
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse route reference
Definition at line 624 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_PROB, SUMO_ATTR_REFID, SUMO_TAG_ERROR, and SUMO_TAG_ROUTE.
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse stop
Definition at line 874 of file RouteHandler.cpp.
References CommonHandler::checkParsedParent(), NamespaceIDs::containers, CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, RouteHandler::parseStopParameters(), NamespaceIDs::persons, NamespaceIDs::routes, CommonXMLStructure::SumoBaseObject::setPlanParameters(), CommonXMLStructure::SumoBaseObject::setStopParameter(), CommonXMLStructure::SumoBaseObject::setTag(), SUMO_TAG_ERROR, SUMO_TAG_STOP, and NamespaceIDs::vehicles.
Referenced by RouteHandler::beginParseAttributes().
|
protected |
parse stop edge
Definition at line 2482 of file GNERouteHandler.cpp.
References GNENet::getAttributeCarriers(), GNEHierarchicalElement::getParentLanes(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), myNet, parseEdgeFromLaneID(), GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_ATTR_BUS_STOP, SUMO_ATTR_CHARGING_STATION, SUMO_ATTR_CONTAINER_STOP, SUMO_ATTR_EDGE, SUMO_ATTR_LANE, SUMO_ATTR_PARKING_AREA, SUMO_ATTR_TRAIN_STOP, SUMO_TAG_BUS_STOP, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_PARKING_AREA, and SUMO_TAG_TRAIN_STOP.
Referenced by parseEdge().
|
privateinherited |
parse stop parameters
Definition at line 1160 of file RouteHandler.cpp.
References SUMOVehicleParameter::Stop::actType, SUMOVehicleParameter::Stop::arrival, SUMOVehicleParameter::Stop::awaitedContainers, SUMOVehicleParameter::Stop::awaitedPersons, SUMOVehicleParameter::Stop::busstop, SUMOVehicleParameter::Stop::chargingStation, SUMOVehicleParameter::Stop::containerstop, SUMOVehicleParameter::Stop::containerTriggered, SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::edge, SUMOVehicleParameter::Stop::ended, SUMOVehicleParameter::Stop::endPos, SUMOVehicleParameter::Stop::extension, SUMOVehicleParameter::Stop::friendlyPos, SUMOSAXAttributes::get(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::Stop::index, INVALID_DOUBLE, SUMOVehicleParameter::Stop::join, SUMOVehicleParameter::Stop::jump, SUMOVehicleParameter::Stop::jumpUntil, SUMOVehicleParameter::Stop::lane, SUMOVehicleParameter::Stop::line, OFFROAD, SUMOVehicleParameter::Stop::onDemand, ONROAD, SUMOVehicleParameter::Stop::overheadWireSegment, SUMOVehicleParameter::Stop::parametersSet, SUMOVehicleParameter::Stop::parking, SUMOVehicleParameter::Stop::parkingarea, SUMOVehicleParameter::parseStopTriggers(), SUMOVehicleParameter::Stop::permitted, SUMOVehicleParameter::Stop::posLat, SUMOVehicleParameter::Stop::speed, SUMOVehicleParameter::Stop::split, SUMOVehicleParameter::Stop::started, SUMOVehicleParameter::Stop::startPos, STOP_ARRIVAL_SET, STOP_CONTAINER_TRIGGER_SET, STOP_DURATION_SET, STOP_END_SET, STOP_ENDED_SET, STOP_EXPECTED_CONTAINERS_SET, STOP_EXPECTED_SET, STOP_EXTENSION_SET, STOP_INDEX_END, STOP_INDEX_FIT, STOP_JOIN_SET, STOP_JUMP_SET, STOP_JUMP_UNTIL_SET, STOP_LINE_SET, STOP_ONDEMAND_SET, STOP_PARKING_SET, STOP_PERMITTED_SET, STOP_POSLAT_SET, STOP_SPEED_SET, STOP_SPLIT_SET, STOP_START_SET, STOP_STARTED_SET, STOP_TRIGGER_SET, STOP_TRIP_ID_SET, STOP_UNTIL_SET, SUMO_ATTR_ACTTYPE, SUMO_ATTR_ARRIVAL, SUMO_ATTR_BUS_STOP, SUMO_ATTR_CHARGING_STATION, SUMO_ATTR_CONTAINER_STOP, SUMO_ATTR_CONTAINER_TRIGGERED, SUMO_ATTR_DURATION, SUMO_ATTR_EDGE, SUMO_ATTR_ENDED, SUMO_ATTR_ENDPOS, SUMO_ATTR_EXPECTED, SUMO_ATTR_EXPECTED_CONTAINERS, SUMO_ATTR_EXTENSION, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_INDEX, SUMO_ATTR_JOIN, SUMO_ATTR_JUMP, SUMO_ATTR_JUMP_UNTIL, SUMO_ATTR_LANE, SUMO_ATTR_LINE, SUMO_ATTR_ONDEMAND, SUMO_ATTR_OVERHEAD_WIRE_SEGMENT, SUMO_ATTR_PARKING, SUMO_ATTR_PARKING_AREA, SUMO_ATTR_PERMITTED, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_SPEED, SUMO_ATTR_SPLIT, SUMO_ATTR_STARTED, SUMO_ATTR_STARTPOS, SUMO_ATTR_TRAIN_STOP, SUMO_ATTR_TRIGGERED, SUMO_ATTR_TRIP_ID, SUMO_ATTR_UNTIL, SUMO_TAG_CONTAINER, TL, toString(), SUMOVehicleParameter::Stop::triggered, SUMOVehicleParameter::Stop::tripId, SUMOVehicleParameter::Stop::until, WRITE_WARNING, and CommonHandler::writeError().
Referenced by RouteHandler::parseStop().
|
inherited |
parse SumoBaseObject (it's called recursivelly)
Definition at line 257 of file RouteHandler.cpp.
References RouteHandler::buildContainer(), RouteHandler::buildContainerFlow(), RouteHandler::buildFlow(), RouteHandler::buildFlowEmbeddedRoute(), RouteHandler::buildFlowJunctions(), RouteHandler::buildFlowOverRoute(), RouteHandler::buildFlowTAZs(), RouteHandler::buildPerson(), RouteHandler::buildPersonFlow(), RouteHandler::buildPersonTrip(), RouteHandler::buildRide(), RouteHandler::buildRoute(), RouteHandler::buildRouteDistribution(), RouteHandler::buildRouteRef(), RouteHandler::buildStop(), RouteHandler::buildTranship(), RouteHandler::buildTransport(), RouteHandler::buildTrip(), RouteHandler::buildTripJunctions(), RouteHandler::buildTripTAZs(), RouteHandler::buildVehicleEmbeddedRoute(), RouteHandler::buildVehicleOverRoute(), RouteHandler::buildVType(), RouteHandler::buildVTypeDistribution(), RouteHandler::buildVTypeRef(), RouteHandler::buildWalk(), CommonHandler::checkContainerPlanParents(), CommonHandler::checkPersonPlanParents(), CommonHandler::checkStopParents(), CommonHandler::checkVehicleParents(), CommonXMLStructure::SumoBaseObject::getColorAttribute(), CommonXMLStructure::SumoBaseObject::getDoubleAttribute(), CommonHandler::getEmbeddedRoute(), CommonXMLStructure::SumoBaseObject::getIntAttribute(), CommonXMLStructure::SumoBaseObject::getParameters(), CommonXMLStructure::SumoBaseObject::getPlanParameters(), CommonXMLStructure::SumoBaseObject::getStopParameter(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getStringListAttribute(), CommonXMLStructure::SumoBaseObject::getSumoBaseObjectChildren(), CommonXMLStructure::SumoBaseObject::getTag(), CommonXMLStructure::SumoBaseObject::getTimeAttribute(), CommonXMLStructure::SumoBaseObject::getVClass(), CommonXMLStructure::SumoBaseObject::getVehicleParameter(), CommonXMLStructure::SumoBaseObject::getVehicleTypeParameter(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), RouteHandler::isOverFromToEdges(), RouteHandler::isOverFromToJunctions(), RouteHandler::isOverFromToTAZs(), CommonXMLStructure::SumoBaseObject::markAsCreated(), RouteHandler::parseSumoBaseObject(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_COLOR, SUMO_ATTR_CYCLETIME, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DETERMINISTIC, SUMO_ATTR_DURATION, SUMO_ATTR_EDGES, SUMO_ATTR_FROM, SUMO_ATTR_FROM_JUNCTION, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_GROUP, SUMO_ATTR_ID, SUMO_ATTR_LINES, SUMO_ATTR_MODES, SUMO_ATTR_PROB, SUMO_ATTR_REFID, SUMO_ATTR_REPEAT, SUMO_ATTR_ROUTE, SUMO_ATTR_SPEED, SUMO_ATTR_TO, SUMO_ATTR_TO_JUNCTION, SUMO_ATTR_TO_TAZ, SUMO_ATTR_VTYPES, SUMO_ATTR_WALKFACTOR, SUMO_TAG_CONTAINER, SUMO_TAG_CONTAINERFLOW, SUMO_TAG_FLOW, SUMO_TAG_PERSON, SUMO_TAG_PERSONFLOW, SUMO_TAG_PERSONTRIP, SUMO_TAG_RIDE, SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_DISTRIBUTION, SUMO_TAG_STOP, SUMO_TAG_TRANSHIP, SUMO_TAG_TRANSPORT, SUMO_TAG_TRIP, SUMO_TAG_VEHICLE, SUMO_TAG_VTYPE, SUMO_TAG_VTYPE_DISTRIBUTION, and SUMO_TAG_WALK.
Referenced by GNERouteFrame::createPath(), RouteHandler::endParseAttributes(), and RouteHandler::parseSumoBaseObject().
|
protected |
parse TAZ
Definition at line 2441 of file GNERouteHandler.cpp.
References GNENet::getAttributeCarriers(), myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), SUMO_TAG_TAZ, TAZ, and CommonHandler::writeErrorInvalidParent().
Referenced by buildFlowTAZs(), and buildTripTAZs().
|
privateinherited |
parse tranship
Definition at line 1098 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), CommonHandler::checkParsedParent(), NamespaceIDs::containers, CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::hasAttribute(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setPlanParameters(), CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DURATION, SUMO_ATTR_SPEED, SUMO_TAG_ERROR, SUMO_TAG_TRANSHIP, TL, and CommonHandler::writeError().
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse transport
Definition at line 1072 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonHandler::checkParsedParent(), NamespaceIDs::containers, CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setPlanParameters(), CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_GROUP, SUMO_ATTR_LINES, SUMO_TAG_ERROR, and SUMO_TAG_TRANSPORT.
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse trip
Definition at line 705 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::hasAttribute(), SUMOVehicleParameter::id, CommonHandler::myCommonXMLStructure, RouteHandler::myHardFail, SUMOVehicleParserHelper::parseVehicleAttributes(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_ATTR_FROM, SUMO_ATTR_FROM_JUNCTION, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_TO, SUMO_ATTR_TO_JUNCTION, SUMO_ATTR_TO_TAZ, SUMO_ATTR_VIA, SUMO_TAG_ERROR, SUMO_TAG_TRIP, TL, and CommonHandler::writeError().
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse vehicle (including vehicles over routes and vehicles with embedded routes)
Definition at line 776 of file RouteHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, RouteHandler::myHardFail, SUMOVehicleParserHelper::parseVehicleAttributes(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_TAG_ERROR, and SUMO_TAG_VEHICLE.
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
Definition at line 527 of file RouteHandler.cpp.
References SUMOVehicleParserHelper::beginVTypeParsing(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, CommonHandler::myFilename, RouteHandler::myHardFail, CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleTypeParameter(), SUMO_TAG_ERROR, and SUMO_TAG_VTYPE.
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse vType distribution
Definition at line 563 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleListAttribute(), CommonXMLStructure::SumoBaseObject::addIntAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_DETERMINISTIC, SUMO_ATTR_ID, SUMO_ATTR_PROBS, SUMO_ATTR_VTYPES, SUMO_TAG_ERROR, and SUMO_TAG_VTYPE_DISTRIBUTION.
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse vType reference
Definition at line 544 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_PROB, SUMO_ATTR_REFID, SUMO_TAG_ERROR, and SUMO_TAG_VTYPE.
Referenced by RouteHandler::beginParseAttributes().
|
privateinherited |
parse walk
Definition at line 979 of file RouteHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), CommonHandler::checkParsedParent(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::hasAttribute(), CommonHandler::myCommonXMLStructure, NamespaceIDs::persons, CommonXMLStructure::SumoBaseObject::setPlanParameters(), CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DURATION, SUMO_ATTR_SPEED, SUMO_TAG_ERROR, SUMO_TAG_WALK, TL, and CommonHandler::writeError().
Referenced by RouteHandler::beginParseAttributes().
|
virtual |
run post parser tasks
Implements RouteHandler.
Definition at line 81 of file GNERouteHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNENetHelper::AttributeCarriers::deleteDemandElement(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), myAllowUndoRedo, myNet, myParentPlanElements, and TLF.
Referenced by GNEGeneralHandler::postParserTasks().
|
protected |
get element by ID
Definition at line 2675 of file GNERouteHandler.cpp.
References GNENet::getAttributeCarriers(), myNet, and GNENetHelper::AttributeCarriers::retrieveDemandElement().
Referenced by buildContainer(), buildContainerFlow(), buildFlow(), buildFlowEmbeddedRoute(), buildFlowJunctions(), buildFlowOverRoute(), buildFlowTAZs(), buildPerson(), buildPersonFlow(), buildRoute(), buildRouteDistribution(), buildTrip(), buildTripJunctions(), buildTripTAZs(), buildVehicleEmbeddedRoute(), buildVehicleOverRoute(), buildVType(), and buildVTypeDistribution().
|
static |
reverse given demand element
Definition at line 2363 of file GNERouteHandler.cpp.
References GNEDemandElement::getAttribute(), GNEHierarchicalElement::getChildDemandElements(), GNEAttributeCarrier::getNet(), GNEHierarchicalElement::getParentDemandElements(), GNEHierarchicalElement::getParentEdges(), GNEAttributeCarrier::getTagProperty(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEPathElement::isRoute(), GNEAttributeCarrier::parseIDs(), reverse(), GNEDemandElement::setAttribute(), SUMO_ATTR_EDGES, SUMO_ATTR_FROM, SUMO_ATTR_FROM_JUNCTION, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_TO, SUMO_ATTR_TO_JUNCTION, SUMO_ATTR_TO_TAZ, SUMO_ATTR_VIA, GNETagProperties::vehicleJunctions(), GNETagProperties::vehicleRoute(), GNETagProperties::vehicleRouteEmbedded(), and GNETagProperties::vehicleTAZs().
Referenced by addReverse(), GNEViewNet::onCmdReverse(), and reverse().
|
static |
transform container functions
transform to vehicle over an existent route
Definition at line 2236 of file GNERouteHandler.cpp.
References GNEUndoList::begin(), buildContainer(), GNENet::deleteDemandElement(), GNEUndoList::end(), GNEContainer::getAttribute(), GNENet::getAttributeCarriers(), GNEHierarchicalElement::getChildDemandElements(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getInspectedElements(), GNEViewParent::getInspectorFrame(), GNEAttributeCarrier::getNet(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEViewNet::getViewParent(), GNE_ATTR_DEMAND_FILE, GNE_ATTR_PARENT, SUMOVehicleParameter::id, GNEInspectorFrame::inspectElement(), GNEViewNetHelper::InspectedElements::isACInspected(), GNEApplicationWindow::isUndoRedoAllowed(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), GNEDemandElement::setAttribute(), SUMO_ATTR_ID, SUMO_TAG_CONTAINER, and toString().
Referenced by GNEContainer::GNEContainerPopupMenu::onCmdTransform(), and GNEContainer::GNESelectedContainersPopupMenu::onCmdTransform().
|
static |
transform routeFlow over an existent route
Definition at line 2275 of file GNERouteHandler.cpp.
References GNEUndoList::begin(), buildContainerFlow(), GNENet::deleteDemandElement(), GNEUndoList::end(), GNEContainer::getAttribute(), GNENet::getAttributeCarriers(), GNEHierarchicalElement::getChildDemandElements(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getInspectedElements(), GNEViewParent::getInspectorFrame(), GNEAttributeCarrier::getNet(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEViewNet::getViewParent(), GNE_ATTR_DEMAND_FILE, GNE_ATTR_PARENT, SUMOVehicleParameter::id, GNEInspectorFrame::inspectElement(), GNEViewNetHelper::InspectedElements::isACInspected(), GNEApplicationWindow::isUndoRedoAllowed(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), GNEDemandElement::setAttribute(), SUMO_ATTR_CONTAINERSPERHOUR, SUMO_ATTR_END, SUMO_ATTR_ID, SUMO_TAG_CONTAINERFLOW, and toString().
Referenced by GNEContainer::GNEContainerPopupMenu::onCmdTransform().
|
static |
transform to flow
Definition at line 1889 of file GNERouteHandler.cpp.
References GNEUndoList::begin(), buildFlow(), GNENet::deleteDemandElement(), SUMOVehicleParameter::depart, GNEUndoList::end(), GNENet::getACTemplates(), GNEVehicle::getAttribute(), GNENet::getAttributeCarriers(), GNEHierarchicalElement::getChildDemandElements(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getInspectedElements(), GNEViewParent::getInspectorFrame(), GNEAttributeCarrier::getNet(), GNEViewNet::getNet(), GNEHierarchicalElement::getParentDemandElements(), GNEHierarchicalElement::getParentEdges(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNENetHelper::ACTemplate::getTemplateAC(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEViewNet::getViewParent(), GNE_ATTR_DEMAND_FILE, GNE_ATTR_FLOWPARAMETERS, GNE_TAG_FLOW_ROUTE, SUMOVehicleParameter::id, GNEInspectorFrame::inspectElement(), GNEViewNetHelper::InspectedElements::isACInspected(), GNETagProperties::isFlow(), GNEApplicationWindow::isUndoRedoAllowed(), SUMOVehicleParameter::parametersSet, SUMOVehicleParameter::repetitionEnd, SUMOVehicleParameter::repetitionNumber, SUMOVehicleParameter::repetitionOffset, SUMOVehicleParameter::repetitionProbability, GNENetHelper::AttributeCarriers::retrieveDemandElement(), string2time(), SUMO_ATTR_NUMBER, SUMO_ATTR_PERIOD, SUMO_ATTR_PROB, SUMO_TAG_FLOW, SUMO_TAG_VEHICLE, SUMOVehicleParameter::tag, toString(), GNETagProperties::vehicleEdges(), GNETagProperties::vehicleRoute(), and GNETagProperties::vehicleRouteEmbedded().
Referenced by GNEVehicle::GNESingleVehiclePopupMenu::onCmdTransform(), and GNEVehicle::GNESelectedVehiclesPopupMenu::onCmdTransform().
|
static |
transform to flow over junctions
Definition at line 2007 of file GNERouteHandler.cpp.
References GNEUndoList::begin(), buildFlowJunctions(), GNENet::deleteDemandElement(), SUMOVehicleParameter::depart, GNEUndoList::end(), GNENet::getACTemplates(), GNEVehicle::getAttribute(), GNENet::getAttributeCarriers(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getInspectedElements(), GNEViewParent::getInspectorFrame(), GNEAttributeCarrier::getNet(), GNEViewNet::getNet(), GNEHierarchicalElement::getParentJunctions(), GNEAttributeCarrier::getTagStr(), GNENetHelper::ACTemplate::getTemplateAC(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEViewNet::getViewParent(), GNE_ATTR_DEMAND_FILE, GNE_ATTR_FLOWPARAMETERS, GNE_TAG_FLOW_JUNCTIONS, SUMOVehicleParameter::id, GNEInspectorFrame::inspectElement(), GNEViewNetHelper::InspectedElements::isACInspected(), GNEApplicationWindow::isUndoRedoAllowed(), SUMOVehicleParameter::parametersSet, SUMOVehicleParameter::repetitionEnd, SUMOVehicleParameter::repetitionNumber, SUMOVehicleParameter::repetitionOffset, SUMOVehicleParameter::repetitionProbability, GNENetHelper::AttributeCarriers::retrieveDemandElement(), string2time(), SUMO_ATTR_NUMBER, SUMO_ATTR_PERIOD, SUMO_ATTR_PROB, SUMOVehicleParameter::tag, and toString().
Referenced by GNEVehicle::GNESingleVehiclePopupMenu::onCmdTransform(), and GNEVehicle::GNESelectedVehiclesPopupMenu::onCmdTransform().
|
static |
transform to flow over TAZs
Definition at line 2104 of file GNERouteHandler.cpp.
References GNEUndoList::begin(), buildFlowTAZs(), GNENet::deleteDemandElement(), SUMOVehicleParameter::depart, GNEUndoList::end(), GNENet::getACTemplates(), GNEVehicle::getAttribute(), GNENet::getAttributeCarriers(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getInspectedElements(), GNEViewParent::getInspectorFrame(), GNEAttributeCarrier::getNet(), GNEViewNet::getNet(), GNEHierarchicalElement::getParentAdditionals(), GNEAttributeCarrier::getTagStr(), GNENetHelper::ACTemplate::getTemplateAC(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEViewNet::getViewParent(), GNE_ATTR_DEMAND_FILE, GNE_ATTR_FLOWPARAMETERS, GNE_TAG_FLOW_TAZS, SUMOVehicleParameter::id, GNEInspectorFrame::inspectElement(), GNEViewNetHelper::InspectedElements::isACInspected(), GNEApplicationWindow::isUndoRedoAllowed(), SUMOVehicleParameter::parametersSet, SUMOVehicleParameter::repetitionEnd, SUMOVehicleParameter::repetitionNumber, SUMOVehicleParameter::repetitionOffset, SUMOVehicleParameter::repetitionProbability, GNENetHelper::AttributeCarriers::retrieveDemandElement(), string2time(), SUMO_ATTR_NUMBER, SUMO_ATTR_PERIOD, SUMO_ATTR_PROB, SUMOVehicleParameter::tag, and toString().
Referenced by GNEVehicle::GNESingleVehiclePopupMenu::onCmdTransform(), and GNEVehicle::GNESelectedVehiclesPopupMenu::onCmdTransform().
|
static |
transform person functions
transform to vehicle over an existent route
Definition at line 2157 of file GNERouteHandler.cpp.
References GNEUndoList::begin(), buildPerson(), GNENet::deleteDemandElement(), duplicatePlan(), GNEUndoList::end(), GNEPerson::getAttribute(), GNENet::getAttributeCarriers(), GNEHierarchicalElement::getChildDemandElements(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getInspectedElements(), GNEViewParent::getInspectorFrame(), GNEAttributeCarrier::getNet(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEViewNet::getViewParent(), GNE_ATTR_DEMAND_FILE, SUMOVehicleParameter::id, GNEInspectorFrame::inspectElement(), GNEViewNetHelper::InspectedElements::isACInspected(), GNEApplicationWindow::isUndoRedoAllowed(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMO_ATTR_ID, SUMO_TAG_PERSON, and toString().
Referenced by GNEPerson::GNEPersonPopupMenu::onCmdTransform(), and GNEPerson::GNESelectedPersonsPopupMenu::onCmdTransform().
|
static |
transform routeFlow over an existent route
Definition at line 2194 of file GNERouteHandler.cpp.
References GNEUndoList::begin(), buildPersonFlow(), GNENet::deleteDemandElement(), duplicatePlan(), GNEUndoList::end(), GNEPerson::getAttribute(), GNENet::getAttributeCarriers(), GNEHierarchicalElement::getChildDemandElements(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getInspectedElements(), GNEViewParent::getInspectorFrame(), GNEAttributeCarrier::getNet(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEViewNet::getViewParent(), GNE_ATTR_DEMAND_FILE, SUMOVehicleParameter::id, GNEInspectorFrame::inspectElement(), GNEViewNetHelper::InspectedElements::isACInspected(), GNEApplicationWindow::isUndoRedoAllowed(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMO_ATTR_END, SUMO_ATTR_ID, SUMO_ATTR_PERSONSPERHOUR, SUMO_TAG_PERSONFLOW, and toString().
Referenced by GNEPerson::GNEPersonPopupMenu::onCmdTransform().
|
static |
transform routeFlow over an existent route
Definition at line 1736 of file GNERouteHandler.cpp.
References GNEUndoList::begin(), buildFlowEmbeddedRoute(), buildFlowOverRoute(), buildRoute(), GNEPathManager::PathCalculator::calculateDijkstraPath(), GNENet::deleteDemandElement(), SUMOVehicleParameter::depart, GNEUndoList::end(), GNENetHelper::AttributeCarriers::generateDemandElementID(), GNENet::getACTemplates(), GNEVehicle::getAttribute(), GNENet::getAttributeCarriers(), GNEHierarchicalElement::getChildDemandElements(), GNENet::getDemandPathManager(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getInspectedElements(), GNEViewParent::getInspectorFrame(), GNEAttributeCarrier::getNet(), GNEViewNet::getNet(), GNEHierarchicalElement::getParentDemandElements(), GNEHierarchicalElement::getParentEdges(), GNEPathManager::getPathCalculator(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNENetHelper::ACTemplate::getTemplateAC(), GNEViewNet::getUndoList(), GNEVehicle::getVClass(), GNENet::getViewNet(), GNEViewNet::getViewParent(), GNE_ATTR_DEMAND_FILE, GNE_ATTR_FLOWPARAMETERS, GNE_TAG_FLOW_ROUTE, GNE_TAG_FLOW_WITHROUTE, SUMOVehicleParameter::id, GNEInspectorFrame::inspectElement(), RGBColor::INVISIBLE, GNEViewNetHelper::InspectedElements::isACInspected(), GNETagProperties::isFlow(), GNEApplicationWindow::isUndoRedoAllowed(), SUMOVehicleParameter::parametersSet, SUMOVehicleParameter::repetitionEnd, SUMOVehicleParameter::repetitionNumber, SUMOVehicleParameter::repetitionOffset, SUMOVehicleParameter::repetitionProbability, GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMOVehicleParameter::routeid, string2time(), SUMO_ATTR_NUMBER, SUMO_ATTR_PERIOD, SUMO_ATTR_PROB, SUMO_TAG_ROUTE, SUMOVehicleParameter::tag, toString(), GNETagProperties::vehicleEdges(), GNETagProperties::vehicleRoute(), GNETagProperties::vehicleRouteEmbedded(), and RGBColor::YELLOW.
Referenced by GNEVehicle::GNESingleVehiclePopupMenu::onCmdTransform(), and GNEVehicle::GNESelectedVehiclesPopupMenu::onCmdTransform().
|
static |
transform to trip
Definition at line 1827 of file GNERouteHandler.cpp.
References GNEUndoList::begin(), buildTrip(), GNENet::deleteDemandElement(), GNEUndoList::end(), GNEVehicle::getAttribute(), GNENet::getAttributeCarriers(), GNEHierarchicalElement::getChildDemandElements(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getInspectedElements(), GNEViewParent::getInspectorFrame(), GNEAttributeCarrier::getNet(), GNEHierarchicalElement::getParentDemandElements(), GNEHierarchicalElement::getParentEdges(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEViewNet::getViewParent(), GNE_ATTR_DEMAND_FILE, SUMOVehicleParameter::id, GNEInspectorFrame::inspectElement(), GNEViewNetHelper::InspectedElements::isACInspected(), GNEApplicationWindow::isUndoRedoAllowed(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMO_TAG_TRIP, SUMOVehicleParameter::tag, toString(), GNETagProperties::vehicleEdges(), GNETagProperties::vehicleRoute(), and GNETagProperties::vehicleRouteEmbedded().
Referenced by GNEVehicle::GNESingleVehiclePopupMenu::onCmdTransform(), and GNEVehicle::GNESelectedVehiclesPopupMenu::onCmdTransform().
|
static |
transform to trip over junctions
Definition at line 1963 of file GNERouteHandler.cpp.
References GNEUndoList::begin(), buildTripJunctions(), GNENet::deleteDemandElement(), GNEUndoList::end(), GNEVehicle::getAttribute(), GNENet::getAttributeCarriers(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getInspectedElements(), GNEViewParent::getInspectorFrame(), GNEAttributeCarrier::getNet(), GNEHierarchicalElement::getParentJunctions(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEViewNet::getViewParent(), GNE_ATTR_DEMAND_FILE, GNE_TAG_TRIP_JUNCTIONS, SUMOVehicleParameter::id, GNEInspectorFrame::inspectElement(), GNEViewNetHelper::InspectedElements::isACInspected(), GNEApplicationWindow::isUndoRedoAllowed(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMOVehicleParameter::tag, and toString().
Referenced by GNEVehicle::GNESingleVehiclePopupMenu::onCmdTransform(), and GNEVehicle::GNESelectedVehiclesPopupMenu::onCmdTransform().
|
static |
transform to trip over TAZs
Definition at line 2060 of file GNERouteHandler.cpp.
References GNEUndoList::begin(), buildTripTAZs(), GNENet::deleteDemandElement(), GNEUndoList::end(), GNEVehicle::getAttribute(), GNENet::getAttributeCarriers(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getInspectedElements(), GNEViewParent::getInspectorFrame(), GNEAttributeCarrier::getNet(), GNEHierarchicalElement::getParentAdditionals(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEViewNet::getViewParent(), GNE_ATTR_DEMAND_FILE, GNE_TAG_TRIP_TAZS, SUMOVehicleParameter::id, GNEInspectorFrame::inspectElement(), GNEViewNetHelper::InspectedElements::isACInspected(), GNEApplicationWindow::isUndoRedoAllowed(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMOVehicleParameter::tag, and toString().
Referenced by GNEVehicle::GNESingleVehiclePopupMenu::onCmdTransform(), and GNEVehicle::GNESelectedVehiclesPopupMenu::onCmdTransform().
|
static |
transform vehicle functions
transform to vehicle over an existent route
Definition at line 1657 of file GNERouteHandler.cpp.
References GNEUndoList::begin(), buildRoute(), buildVehicleEmbeddedRoute(), buildVehicleOverRoute(), GNEPathManager::PathCalculator::calculateDijkstraPath(), GNENet::deleteDemandElement(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::generateDemandElementID(), GNEVehicle::getAttribute(), GNENet::getAttributeCarriers(), GNEHierarchicalElement::getChildDemandElements(), GNENet::getDemandPathManager(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getInspectedElements(), GNEViewParent::getInspectorFrame(), GNEAttributeCarrier::getNet(), GNEHierarchicalElement::getParentDemandElements(), GNEHierarchicalElement::getParentEdges(), GNEPathManager::getPathCalculator(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNEVehicle::getVClass(), GNENet::getViewNet(), GNEViewNet::getViewParent(), GNE_ATTR_DEMAND_FILE, GNE_TAG_VEHICLE_WITHROUTE, SUMOVehicleParameter::id, GNEInspectorFrame::inspectElement(), RGBColor::INVISIBLE, GNEViewNetHelper::InspectedElements::isACInspected(), GNEApplicationWindow::isUndoRedoAllowed(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMOVehicleParameter::routeid, SUMO_TAG_ROUTE, SUMO_TAG_VEHICLE, SUMOVehicleParameter::tag, toString(), GNETagProperties::vehicleEdges(), GNETagProperties::vehicleRoute(), GNETagProperties::vehicleRouteEmbedded(), and RGBColor::YELLOW.
Referenced by GNEVehicle::GNESingleVehiclePopupMenu::onCmdTransform(), and GNEVehicle::GNESelectedVehiclesPopupMenu::onCmdTransform().
|
protectedinherited |
write error and enable error creating element
Definition at line 338 of file CommonHandler.cpp.
References CommonHandler::myErrorCreatingElement, and WRITE_ERROR.
Referenced by AdditionalHandler::beginParseAttributes(), MeanDataHandler::beginParseAttributes(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildChargingStation(), buildContainer(), buildContainerFlow(), buildContainerStop(), GNEDataHandler::buildEdgeRelationData(), buildFlow(), buildFlowEmbeddedRoute(), buildFlowJunctions(), buildFlowOverRoute(), buildFlowTAZs(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), buildPersonStop(), buildPersonTrip(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildRerouterInterval(), buildRide(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), buildStop(), GNEAdditionalHandler::buildTAZ(), GNEDataHandler::buildTAZRelationData(), buildTranship(), buildTransport(), buildTrip(), buildTripJunctions(), buildTripTAZs(), GNEAdditionalHandler::buildVaporizer(), buildVehicleEmbeddedRoute(), buildVehicleOverRoute(), buildWalk(), AdditionalHandler::checkCalibratorFlowParents(), AdditionalHandler::checkDetectPersons(), GNEMeanDataHandler::checkExcludeEmpty(), CommonHandler::checkFileName(), CommonHandler::checkListOfVehicleTypes(), CommonHandler::checkNegative(), CommonHandler::checkNegative(), CommonHandler::checkNegative(), DataHandler::checkParent(), CommonHandler::checkParsedParent(), CommonHandler::checkValidAdditionalID(), CommonHandler::checkValidDemandElementID(), CommonHandler::checkValidDetectorID(), CommonHandler::checkVehicleParents(), checkViaAttribute(), getDistributionElements(), DataHandler::myStartElement(), GNEMeanDataHandler::parseAttributes(), AdditionalHandler::parseCalibratorAttributes(), AdditionalHandler::parseCalibratorFlowAttributes(), AdditionalHandler::parseChargingStationAttributes(), AdditionalHandler::parseE2Attributes(), GNEAdditionalHandler::parseEdges(), parseEdges(), GNEMeanDataHandler::parseEdges(), RouteHandler::parseFlow(), GNEAdditionalHandler::parseLanes(), RouteHandler::parseNestedCFM(), CommonHandler::parseParameters(), AdditionalHandler::parsePOIAttributes(), RouteHandler::parseRouteEmbedded(), RouteHandler::parseStopParameters(), RouteHandler::parseTranship(), RouteHandler::parseTrip(), RouteHandler::parseWalk(), CommonHandler::writeErrorEmptyEdges(), CommonHandler::writeErrorInvalidLanes(), CommonHandler::writeErrorInvalidParent(), CommonHandler::writeErrorInvalidParent(), CommonHandler::writeErrorInvalidParent(), CommonHandler::writeErrorInvalidPosition(), and CommonHandler::writeWarningDuplicated().
|
protectedinherited |
write error "empty edges"
Definition at line 352 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
Referenced by buildFlowEmbeddedRoute(), buildRoute(), and buildVehicleEmbeddedRoute().
|
protectedinherited |
write error "invalid list of lanes"
Definition at line 358 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
|
protectedinherited |
write error "invalid parent element" giving ids of current and parent element
Definition at line 364 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
Referenced by GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), buildContainerStop(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDestProbReroute(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEDataHandler::buildEdgeData(), GNEDataHandler::buildEdgeRelationData(), buildFlow(), buildFlowEmbeddedRoute(), buildFlowJunctions(), buildFlowOverRoute(), buildFlowTAZs(), GNEAdditionalHandler::buildLaneCalibrator(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingAreaReroute(), GNEAdditionalHandler::buildParkingSpace(), buildPerson(), buildPersonFlow(), buildPersonStop(), buildPersonTrip(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildRerouterInterval(), buildRide(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), buildRouteRef(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), buildStop(), GNEDataHandler::buildTAZRelationData(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNEAdditionalHandler::buildTrainStop(), buildTranship(), buildTransport(), buildTrip(), buildTripJunctions(), buildTripTAZs(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSignStep(), buildVehicleEmbeddedRoute(), buildVehicleOverRoute(), buildVTypeRef(), buildWalk(), parseEdge(), parseJunction(), and parseTAZ().
|
protectedinherited |
write error "invalid parent element" without giving IDs
Definition at line 376 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
|
protectedinherited |
write error "invalid parent element" giving only the id of parent element
Definition at line 370 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
|
protectedinherited |
write error "invalid position"
Definition at line 346 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
Referenced by GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEAdditionalHandler::buildLaneCalibrator(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), and GNEAdditionalHandler::buildTrainStop().
|
protectedinherited |
write warning duplicated element
Definition at line 332 of file CommonHandler.cpp.
References TLF, toString(), and CommonHandler::writeError().
Referenced by GNEDataHandler::checkDuplicatedDataSet(), GNEMeanDataHandler::checkDuplicatedMeanDataElement(), GNEAdditionalHandler::checkElement(), and checkElement().
|
protectedinherited |
write warning overwritting element
Definition at line 326 of file CommonHandler.cpp.
References TLF, toString(), and WRITE_WARNING.
Referenced by GNEAdditionalHandler::checkElement(), and checkElement().
|
private |
allow undo/redo
Definition at line 309 of file GNERouteHandler.h.
Referenced by buildContainer(), buildContainerFlow(), buildContainerStop(), buildFlow(), buildFlowEmbeddedRoute(), buildFlowJunctions(), buildFlowOverRoute(), buildFlowTAZs(), buildPerson(), buildPersonFlow(), buildPersonStop(), buildPersonTrip(), buildRide(), buildRoute(), buildRouteDistribution(), buildRouteRef(), buildStop(), buildTranship(), buildTransport(), buildTrip(), buildTripJunctions(), buildTripTAZs(), buildVehicleEmbeddedRoute(), buildVehicleOverRoute(), buildVType(), buildVTypeDistribution(), buildVTypeRef(), buildWalk(), checkElement(), and postParserTasks().
|
protectedinherited |
common XML Structure
Definition at line 56 of file CommonHandler.h.
Referenced by AdditionalHandler::beginParseAttributes(), MeanDataHandler::beginParseAttributes(), RouteHandler::beginParseAttributes(), AdditionalHandler::checkCalibratorFlowParents(), DataHandler::checkParent(), CommonHandler::checkParsedParent(), AdditionalHandler::endParseAttributes(), MeanDataHandler::endParseAttributes(), RouteHandler::endParseAttributes(), DataHandler::getAttributes(), DataHandler::myEndElement(), DataHandler::myStartElement(), AdditionalHandler::parseAccessAttributes(), AdditionalHandler::parseBusStopAttributes(), AdditionalHandler::parseCalibratorAttributes(), AdditionalHandler::parseCalibratorFlowAttributes(), AdditionalHandler::parseChargingStationAttributes(), AdditionalHandler::parseClosingLaneRerouteAttributes(), AdditionalHandler::parseClosingRerouteAttributes(), RouteHandler::parseContainer(), RouteHandler::parseContainerFlow(), AdditionalHandler::parseContainerStopAttributes(), AdditionalHandler::parseDestProbRerouteAttributes(), AdditionalHandler::parseE1Attributes(), AdditionalHandler::parseE1InstantAttributes(), AdditionalHandler::parseE2Attributes(), AdditionalHandler::parseE3Attributes(), DataHandler::parseEdgeData(), MeanDataHandler::parseEdgeMeanData(), DataHandler::parseEdgeRelationData(), AdditionalHandler::parseEntryAttributes(), AdditionalHandler::parseExitAttributes(), RouteHandler::parseFlow(), DataHandler::parseInterval(), AdditionalHandler::parseJpsObstacleAttributes(), AdditionalHandler::parseJpsWalkableAreaAttributes(), MeanDataHandler::parseLaneMeanData(), AdditionalHandler::parseOverheadWire(), AdditionalHandler::parseOverheadWireClamp(), CommonHandler::parseParameters(), AdditionalHandler::parseParkingAreaAttributes(), AdditionalHandler::parseParkingAreaRerouteAttributes(), AdditionalHandler::parseParkingSpaceAttributes(), RouteHandler::parsePerson(), RouteHandler::parsePersonFlow(), RouteHandler::parsePersonTrip(), AdditionalHandler::parsePOIAttributes(), AdditionalHandler::parsePolyAttributes(), AdditionalHandler::parseRerouterAttributes(), AdditionalHandler::parseRerouterIntervalAttributes(), RouteHandler::parseRide(), RouteHandler::parseRoute(), RouteHandler::parseRouteDistribution(), RouteHandler::parseRouteEmbedded(), AdditionalHandler::parseRouteProbeAttributes(), AdditionalHandler::parseRouteProbRerouteAttributes(), RouteHandler::parseRouteRef(), RouteHandler::parseStop(), AdditionalHandler::parseTAZAttributes(), DataHandler::parseTAZRelationData(), AdditionalHandler::parseTAZSinkAttributes(), AdditionalHandler::parseTAZSourceAttributes(), AdditionalHandler::parseTractionSubstation(), AdditionalHandler::parseTrainStopAttributes(), RouteHandler::parseTranship(), RouteHandler::parseTransport(), RouteHandler::parseTrip(), AdditionalHandler::parseVaporizerAttributes(), AdditionalHandler::parseVariableSpeedSignAttributes(), AdditionalHandler::parseVariableSpeedSignStepAttributes(), RouteHandler::parseVehicle(), RouteHandler::parseVType(), RouteHandler::parseVTypeDistribution(), RouteHandler::parseVTypeRef(), and RouteHandler::parseWalk().
|
protectedinherited |
flag for mark if a element wasn't created
Definition at line 59 of file CommonHandler.h.
Referenced by CommonHandler::isErrorCreatingElement(), and CommonHandler::writeError().
|
protectedinherited |
filename
Definition at line 53 of file CommonHandler.h.
Referenced by GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildChargingStation(), buildContainer(), buildContainerFlow(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEMeanDataHandler::buildEdgeMeanData(), buildFlow(), buildFlowEmbeddedRoute(), buildFlowJunctions(), buildFlowOverRoute(), buildFlowTAZs(), GNEAdditionalHandler::buildJpsObstacle(), GNEAdditionalHandler::buildJpsWalkableArea(), GNEAdditionalHandler::buildLaneCalibrator(), GNEMeanDataHandler::buildLaneMeanData(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), buildPerson(), buildPersonFlow(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), buildRoute(), buildRouteDistribution(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), buildTrip(), buildTripJunctions(), buildTripTAZs(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), buildVehicleEmbeddedRoute(), buildVehicleOverRoute(), buildVType(), buildVTypeDistribution(), and RouteHandler::parseVType().
|
privateinherited |
The default value for flow begins.
Definition at line 160 of file RouteHandler.h.
Referenced by RouteHandler::parseContainerFlow(), RouteHandler::parseFlow(), RouteHandler::parseInterval(), and RouteHandler::parsePersonFlow().
|
privateinherited |
The default value for flow ends.
Definition at line 163 of file RouteHandler.h.
Referenced by RouteHandler::parseContainerFlow(), RouteHandler::parseFlow(), RouteHandler::parseInterval(), and RouteHandler::parsePersonFlow().
|
privateinherited |
enable or disable hardFail (stop parsing if parameter aren't correct)
Definition at line 157 of file RouteHandler.h.
Referenced by RouteHandler::parseContainer(), RouteHandler::parseContainerFlow(), RouteHandler::parseFlow(), RouteHandler::parseNestedCFM(), RouteHandler::parsePerson(), RouteHandler::parsePersonFlow(), RouteHandler::parseTrip(), RouteHandler::parseVehicle(), and RouteHandler::parseVType().
|
private |
pointer to GNENet
Definition at line 300 of file GNERouteHandler.h.
Referenced by buildContainer(), buildContainerFlow(), buildContainerPlan(), buildContainerStop(), buildFlow(), buildFlowEmbeddedRoute(), buildFlowJunctions(), buildFlowOverRoute(), buildFlowTAZs(), buildPerson(), buildPersonFlow(), buildPersonPlan(), buildPersonStop(), buildPersonTrip(), buildRide(), buildRoute(), buildRouteDistribution(), buildRouteRef(), buildStop(), buildTranship(), buildTransport(), buildTrip(), buildTripJunctions(), buildTripTAZs(), buildVehicleEmbeddedRoute(), buildVehicleOverRoute(), buildVType(), buildVTypeDistribution(), buildVTypeRef(), buildWalk(), checkElement(), checkViaAttribute(), getContainerParent(), getDistributionElements(), getPersonParent(), getRouteDistributionParent(), getType(), getVTypeDistributionParent(), parseEdge(), parseEdgeFromLaneID(), parseEdges(), parseJunction(), parseStopEdge(), parseTAZ(), postParserTasks(), and retrieveDemandElement().
|
private |
flag to check if overwrite elements
Definition at line 312 of file GNERouteHandler.h.
Referenced by checkElement().
|
private |
demand element parentplans (person and containers, used in postParserTasks)
Definition at line 306 of file GNERouteHandler.h.
Referenced by buildContainer(), buildContainerFlow(), buildPerson(), buildPersonFlow(), and postParserTasks().
|
private |
pointer for person and container plans
Definition at line 303 of file GNERouteHandler.h.
Referenced by buildContainerPlan(), buildPersonPlan(), duplicatePlan(), and ~GNERouteHandler().