![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEAdditionalHandler.h>
Public Member Functions | |
bool | beginParseAttributes (SumoXMLTag tag, const SUMOSAXAttributes &attrs) |
begin parse attributes | |
void | endParseAttributes () |
end parse attributes | |
GNEAdditionalHandler (GNENet *net, const std::string &filename, 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 | |
~GNEAdditionalHandler () | |
Destructor. | |
build functions | |
bool | buildBusStop (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &laneID, const double startPos, const double endPos, const std::string &name, const std::vector< std::string > &lines, const int personCapacity, const double parkingLength, const RGBColor &color, const bool friendlyPosition, const Parameterised::Map ¶meters) |
Builds a bus stop. | |
bool | buildTrainStop (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &laneID, const double startPos, const double endPos, const std::string &name, const std::vector< std::string > &lines, const int personCapacity, const double parkingLength, const RGBColor &color, const bool friendlyPosition, const Parameterised::Map ¶meters) |
Builds a train stop. | |
bool | buildAccess (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &laneID, const std::string &pos, const double length, const bool friendlyPos, const Parameterised::Map ¶meters) |
Builds an Access. | |
bool | buildContainerStop (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &laneID, const double startPos, const double endPos, const std::string &name, const std::vector< std::string > &lines, const int containerCapacity, const double parkingLength, const RGBColor &color, const bool friendlyPosition, const Parameterised::Map ¶meters) |
Builds a container stop. | |
bool | buildChargingStation (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &laneID, const double startPos, const double endPos, const std::string &name, const double chargingPower, const double efficiency, const bool chargeInTransit, const SUMOTime chargeDelay, const std::string &chargeType, const SUMOTime waitingTime, const bool friendlyPosition, const std::string &parkingAreaID, const Parameterised::Map ¶meters) |
Builds a charging Station. | |
bool | buildParkingArea (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &laneID, const double startPos, const double endPos, const std::string &departPos, const std::string &name, const std::vector< std::string > &badges, const bool friendlyPosition, const int roadSideCapacity, const bool onRoad, const double width, const double length, const double angle, const bool lefthand, const Parameterised::Map ¶meters) |
Builds a Parking Area. | |
bool | buildParkingSpace (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const double x, const double y, const double z, const std::string &name, const std::string &width, const std::string &length, const std::string &angle, const double slope, const Parameterised::Map ¶meters) |
Builds a Parking Space. | |
bool | buildE1Detector (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &laneID, const double position, const SUMOTime period, const std::string &file, const std::vector< std::string > &vehicleTypes, const std::vector< std::string > &nextEdges, const std::string &detectPersons, const std::string &name, const bool friendlyPos, const Parameterised::Map ¶meters) |
Builds a induction loop detector (E1) | |
bool | buildSingleLaneDetectorE2 (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &laneID, const double pos, const double length, const SUMOTime period, const std::string &trafficLight, const std::string &filename, const std::vector< std::string > &vehicleTypes, const std::vector< std::string > &nextEdges, const std::string &detectPersons, const std::string &name, const SUMOTime timeThreshold, const double speedThreshold, const double jamThreshold, const bool friendlyPos, const bool show, const Parameterised::Map ¶meters) |
Builds a single-lane Area Detector (E2) | |
bool | buildMultiLaneDetectorE2 (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::vector< std::string > &laneIDs, const double pos, const double endPos, const SUMOTime period, const std::string &trafficLight, const std::string &filename, const std::vector< std::string > &vehicleTypes, const std::vector< std::string > &nextEdges, const std::string &detectPersons, const std::string &name, const SUMOTime timeThreshold, const double speedThreshold, const double jamThreshold, const bool friendlyPos, const bool show, const Parameterised::Map ¶meters) |
Builds a multi-lane Area Detector (E2) | |
bool | buildDetectorE3 (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const Position &pos, const SUMOTime period, const std::string &filename, const std::vector< std::string > &vehicleTypes, const std::vector< std::string > &nextEdges, const std::string &detectPersons, const std::string &name, const SUMOTime timeThreshold, const double speedThreshold, const bool openEntry, const bool expectedArrival, const Parameterised::Map ¶meters) |
Builds a multi entry exit detector (E3) | |
bool | buildDetectorEntry (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &laneID, const double pos, const bool friendlyPos, const Parameterised::Map ¶meters) |
Builds a entry detector (E3) | |
bool | buildDetectorExit (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &laneID, const double pos, const bool friendlyPos, const Parameterised::Map ¶meters) |
Builds a exit detector (E3) | |
bool | buildDetectorE1Instant (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &laneID, const double pos, const std::string &filename, const std::vector< std::string > &vehicleTypes, const std::vector< std::string > &nextEdges, const std::string &detectPersons, const std::string &name, const bool friendlyPos, const Parameterised::Map ¶meters) |
Builds a Instant Induction Loop Detector (E1Instant) | |
bool | buildLaneCalibrator (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &laneID, const double pos, const std::string &name, const std::string &outfile, const SUMOTime period, const std::string &routeprobe, const double jamThreshold, const std::vector< std::string > &vTypes, const Parameterised::Map ¶meters) |
builds a microscopic calibrator over a lane | |
bool | buildEdgeCalibrator (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &edgeID, const double pos, const std::string &name, const std::string &outfile, const SUMOTime period, const std::string &routeprobe, const double jamThreshold, const std::vector< std::string > &vTypes, const Parameterised::Map ¶meters) |
builds a microscopic calibrator over an edge | |
bool | buildCalibratorFlow (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameter) |
builds a calibrator flow | |
bool | buildRerouter (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const Position &pos, const std::vector< std::string > &edgeIDs, const double prob, const std::string &name, const bool off, const bool optional, const SUMOTime timeThreshold, const std::vector< std::string > &vTypes, const Parameterised::Map ¶meters) |
builds a rerouter | |
bool | buildRerouterInterval (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOTime begin, const SUMOTime end) |
builds a rerouter interval | |
bool | buildClosingLaneReroute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &closedLane, SVCPermissions permissions) |
builds a closing lane reroute | |
bool | buildClosingReroute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &closedEdgeID, SVCPermissions permissions) |
builds a closing edge reroute | |
bool | buildDestProbReroute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &newEdgeDestinationID, const double probability) |
builds a dest prob reroute | |
bool | buildParkingAreaReroute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &newParkignAreaID, const double probability, const bool visible) |
builds a parking area reroute | |
bool | buildRouteProbReroute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &newRouteID, const double probability) |
builds a route prob reroute | |
bool | buildRouteProbe (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &edgeID, const SUMOTime period, const std::string &name, const std::string &file, const SUMOTime begin, const std::vector< std::string > &vTypes, const Parameterised::Map ¶meters) |
builds a Route probe | |
bool | buildVariableSpeedSign (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const Position &pos, const std::vector< std::string > &laneIDs, const std::string &name, const std::vector< std::string > &vTypes, const Parameterised::Map ¶meters) |
Builds a VariableSpeedSign (lane speed additional) | |
bool | buildVariableSpeedSignStep (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOTime time, const std::string &speed) |
Builds a VariableSpeedSign Step. | |
bool | buildVaporizer (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &edgeID, const SUMOTime from, const SUMOTime endTime, const std::string &name, const Parameterised::Map ¶meters) |
Builds a vaporizer (lane speed additional) | |
bool | buildTAZ (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const PositionVector &shape, const Position ¢er, const bool fill, const RGBColor &color, const std::vector< std::string > &edgeIDs, const std::string &name, const Parameterised::Map ¶meters) |
Builds a TAZ (Traffic Assignment Zone) | |
bool | buildTAZSource (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &edgeID, const double departWeight) |
Builds a TAZSource (Traffic Assignment Zone) | |
bool | buildTAZSink (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &edgeID, const double arrivalWeight) |
Builds a TAZSink (Traffic Assignment Zone) | |
bool | buildTractionSubstation (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const Position &pos, const double voltage, const double currentLimit, const Parameterised::Map ¶meters) |
build traction substation | |
bool | buildOverheadWire (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &substationId, const std::vector< std::string > &laneIDs, const double startPos, const double endPos, const bool friendlyPos, const std::vector< std::string > &forbiddenInnerLanes, const Parameterised::Map ¶meters) |
build overhead wire | |
bool | buildOverheadWireClamp (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &overheadWireIDStartClamp, const std::string &laneIDStartClamp, const std::string &overheadWireIDEndClamp, const std::string &laneIDEndClamp, const Parameterised::Map ¶meters) |
build overhead wire clamp | |
bool | buildPolygon (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &type, const RGBColor &color, const double layer, const double angle, const std::string &imgFile, const PositionVector &shape, const bool geo, const bool fill, const double lineWidth, const std::string &name, const Parameterised::Map ¶meters) |
Builds a polygon using the given values. | |
bool | buildPOI (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &type, const RGBColor &color, const double x, const double y, const std::string &icon, const double layer, const double angle, const std::string &imgFile, const double width, const double height, const std::string &name, const Parameterised::Map ¶meters) |
Builds a POI using the given values. | |
bool | buildPOILane (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &type, const RGBColor &color, const std::string &laneID, const double posOverLane, const bool friendlyPos, const double posLat, const std::string &icon, const double layer, const double angle, const std::string &imgFile, const double width, const double height, const std::string &name, const Parameterised::Map ¶meters) |
Builds a POI over lane using the given values. | |
bool | buildPOIGeo (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &type, const RGBColor &color, const double lon, const double lat, const std::string &icon, const double layer, const double angle, const std::string &imgFile, const double width, const double height, const std::string &name, const Parameterised::Map ¶meters) |
Builds a POI in GEO coordinaten using the given values. | |
bool | buildJpsWalkableArea (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const PositionVector &shape, bool geo, const std::string &name, const Parameterised::Map ¶meters) |
Builds a JuPedSim walkable area using the given values. | |
bool | buildJpsObstacle (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const PositionVector &shape, bool geo, const std::string &name, const Parameterised::Map ¶meters) |
Builds a JuPedSim obstacle using the given values. | |
Static Public Member Functions | |
static bool | accessCanBeCreated (GNEAdditional *busStopParent, GNEEdge *edge) |
check if a GNEAccess can be created in a certain Edge | |
static bool | checkFriendlyPosSmallLanes (double pos, const double length, const double laneLength, const bool friendlyPos) |
check if enable friendly pos in small lanes | |
static bool | checkLaneDoublePosition (double from, const double to, const double laneLength, const bool friendlyPos) |
check if the given positions over a lane is valid | |
static bool | checkLanePosition (double pos, const double length, const double laneLength, const bool friendlyPos) |
check if the given position over a lane is valid | |
static bool | checkMultiLanePosition (double fromPos, const double fromLaneLength, const double toPos, const double tolaneLength, const bool friendlyPos) |
check if the given positions over two lanes are valid | |
static bool | checkOverlappingRerouterIntervals (GNEAdditional *rerouter, const SUMOTime newBegin, const SUMOTime newEnd) |
check if an overlapping is produced in rerouter if a interval with certain begin and end is inserted | |
static void | fixLaneDoublePosition (double &from, double &to, const double laneLengt) |
fix the given positions over lane | |
static void | fixLanePosition (double &pos, double &length, const double laneLength) |
fix given position over lane | |
static void | fixMultiLanePosition (double fromPos, const double fromLaneLength, double toPos, const double tolaneLength) |
fix the given positions over two lanes | |
Protected Member Functions | |
bool | checkElement (const SumoXMLTag tag, GNEAdditional *additional) |
check if element exist, and if overwritte | |
GNEAdditional * | getAdditionalParent (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, SumoXMLTag tag) const |
get additional parent | |
CommonXMLStructure::SumoBaseObject * | getEmbeddedRoute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const |
get embedded route from children | |
GNEAdditional * | getRerouterIntervalParent (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const |
get rerouter interval parent | |
std::vector< GNEEdge * > | parseEdges (const SumoXMLTag tag, const std::string &id, const std::vector< std::string > &edgeIDs) |
parse edges | |
std::vector< GNELane * > | parseLanes (const SumoXMLTag tag, const std::string &id, const std::vector< std::string > &laneIDs) |
parse lanes | |
void | parseParameters (const SUMOSAXAttributes &attrs) |
parse generic parameters | |
GNEAdditional * | retrieveAdditionalElement (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 | |
bool | checkCalibratorFlowParents () |
check calibrator flow parents | |
bool | checkDetectPersons (const SumoXMLTag currentTag, const std::string &id, const std::string &detectPersons) |
check detect persons | |
GNEAdditionalHandler ()=delete | |
invalidate default constructo | |
GNEAdditionalHandler (const GNEAdditionalHandler &s)=delete | |
invalidate copy constructor | |
GNEAdditionalHandler & | operator= (const GNEAdditionalHandler &s)=delete |
invalidate assignment operator | |
parse additional attributes | |
parse busStop attributes | |
void | parseBusStopAttributes (const SUMOSAXAttributes &attrs) |
void | parseTrainStopAttributes (const SUMOSAXAttributes &attrs) |
parse trainStop attributes | |
void | parseAccessAttributes (const SUMOSAXAttributes &attrs) |
parse access attributes | |
void | parseContainerStopAttributes (const SUMOSAXAttributes &attrs) |
parse containerStop attributes | |
void | parseChargingStationAttributes (const SUMOSAXAttributes &attrs) |
parse chargingStation attributes | |
void | parseParkingAreaAttributes (const SUMOSAXAttributes &attrs) |
parse parking area attributes | |
void | parseParkingSpaceAttributes (const SUMOSAXAttributes &attrs) |
parse parking space attributes | |
void | parseE1Attributes (const SUMOSAXAttributes &attrs) |
parse E1 attributes | |
void | parseE2Attributes (const SUMOSAXAttributes &attrs) |
parse E2 attributes | |
void | parseE3Attributes (const SUMOSAXAttributes &attrs) |
parse E3 attributes | |
void | parseEntryAttributes (const SUMOSAXAttributes &attrs) |
parse entry attributes | |
void | parseExitAttributes (const SUMOSAXAttributes &attrs) |
parse exist attributes | |
void | parseE1InstantAttributes (const SUMOSAXAttributes &attrs) |
parse E1 instant attributes | |
void | parseTAZAttributes (const SUMOSAXAttributes &attrs) |
parse TAZ attributes | |
void | parseTAZSourceAttributes (const SUMOSAXAttributes &attrs) |
parse TAZ source attributes | |
void | parseTAZSinkAttributes (const SUMOSAXAttributes &attrs) |
parse TAZ sink attributes | |
void | parseVariableSpeedSignAttributes (const SUMOSAXAttributes &attrs) |
parse variable speed sign attributes | |
void | parseVariableSpeedSignStepAttributes (const SUMOSAXAttributes &attrs) |
parse variable speed sign step attributes | |
void | parseCalibratorAttributes (const SUMOSAXAttributes &attrs) |
parse calibrator attributes | |
void | parseCalibratorFlowAttributes (const SUMOSAXAttributes &attrs) |
parse calibrator flow attributes | |
void | parseRerouterAttributes (const SUMOSAXAttributes &attrs) |
parse rerouter attributes | |
void | parseRerouterIntervalAttributes (const SUMOSAXAttributes &attrs) |
parse rerouter interval attributes | |
void | parseClosingLaneRerouteAttributes (const SUMOSAXAttributes &attrs) |
parse closing lane reroute attributes | |
void | parseClosingRerouteAttributes (const SUMOSAXAttributes &attrs) |
parse closing reroute attributes | |
void | parseDestProbRerouteAttributes (const SUMOSAXAttributes &attrs) |
parse dest prob reroute attributes | |
void | parseParkingAreaRerouteAttributes (const SUMOSAXAttributes &attrs) |
parse parking area reroute attributes | |
void | parseRouteProbRerouteAttributes (const SUMOSAXAttributes &attrs) |
parse route prob reroute attributes | |
void | parseRouteProbeAttributes (const SUMOSAXAttributes &attrs) |
parse route probe attributes | |
void | parseVaporizerAttributes (const SUMOSAXAttributes &attrs) |
parse vaporizer attributes | |
void | parseTractionSubstation (const SUMOSAXAttributes &attrs) |
parse traction substation | |
void | parseOverheadWire (const SUMOSAXAttributes &attrs) |
parse overhead wire segment | |
void | parseOverheadWireClamp (const SUMOSAXAttributes &attrs) |
parse overhead wire clamp | |
void | parsePolyAttributes (const SUMOSAXAttributes &attrs) |
void | parsePOIAttributes (const SUMOSAXAttributes &attrs) |
parse POI attributes | |
void | parseJpsWalkableAreaAttributes (const SUMOSAXAttributes &attrs) |
parse juPedSim walkable area attributes | |
void | parseJpsObstacleAttributes (const SUMOSAXAttributes &attrs) |
parse juPedSim obstacle attributes | |
Private Attributes | |
const bool | myAllowUndoRedo |
allow undo/redo | |
GNENet * | myNet |
pointer to GNENet | |
const bool | myOverwrite |
check if overwrite | |
Definition at line 39 of file GNEAdditionalHandler.h.
GNEAdditionalHandler::GNEAdditionalHandler | ( | GNENet * | net, |
const std::string & | filename, | ||
const bool | allowUndoRedo, | ||
const bool | overwrite | ||
) |
Constructor.
Definition at line 69 of file GNEAdditionalHandler.cpp.
GNEAdditionalHandler::~GNEAdditionalHandler | ( | ) |
Destructor.
Definition at line 77 of file GNEAdditionalHandler.cpp.
|
privatedelete |
invalidate default constructo
|
privatedelete |
invalidate copy constructor
|
static |
check if a GNEAccess can be created in a certain Edge
Definition at line 1774 of file GNEAdditionalHandler.cpp.
References GNEHierarchicalElement::getChildAdditionals(), GNEHierarchicalElement::getChildLanes(), and SUMO_ATTR_LANE.
Referenced by buildAccess(), and GNEAccess::isValid().
|
inherited |
begin parse attributes
Definition at line 46 of file AdditionalHandler.cpp.
References CommonXMLStructure::abortSUMOBaseOBject(), GNE_TAG_CALIBRATOR_LANE, GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, CommonHandler::myCommonXMLStructure, CommonXMLStructure::openSUMOBaseOBject(), AdditionalHandler::parseAccessAttributes(), AdditionalHandler::parseBusStopAttributes(), AdditionalHandler::parseCalibratorAttributes(), AdditionalHandler::parseCalibratorFlowAttributes(), AdditionalHandler::parseChargingStationAttributes(), AdditionalHandler::parseClosingLaneRerouteAttributes(), AdditionalHandler::parseClosingRerouteAttributes(), AdditionalHandler::parseContainerStopAttributes(), AdditionalHandler::parseDestProbRerouteAttributes(), AdditionalHandler::parseE1Attributes(), AdditionalHandler::parseE1InstantAttributes(), AdditionalHandler::parseE2Attributes(), AdditionalHandler::parseE3Attributes(), AdditionalHandler::parseEntryAttributes(), AdditionalHandler::parseExitAttributes(), AdditionalHandler::parseJpsObstacleAttributes(), AdditionalHandler::parseJpsWalkableAreaAttributes(), AdditionalHandler::parseOverheadWire(), AdditionalHandler::parseOverheadWireClamp(), CommonHandler::parseParameters(), AdditionalHandler::parseParkingAreaAttributes(), AdditionalHandler::parseParkingAreaRerouteAttributes(), AdditionalHandler::parseParkingSpaceAttributes(), AdditionalHandler::parsePOIAttributes(), AdditionalHandler::parsePolyAttributes(), AdditionalHandler::parseRerouterAttributes(), AdditionalHandler::parseRerouterIntervalAttributes(), AdditionalHandler::parseRouteProbeAttributes(), AdditionalHandler::parseRouteProbRerouteAttributes(), AdditionalHandler::parseTAZAttributes(), AdditionalHandler::parseTAZSinkAttributes(), AdditionalHandler::parseTAZSourceAttributes(), AdditionalHandler::parseTractionSubstation(), AdditionalHandler::parseTrainStopAttributes(), AdditionalHandler::parseVaporizerAttributes(), AdditionalHandler::parseVariableSpeedSignAttributes(), AdditionalHandler::parseVariableSpeedSignStepAttributes(), SUMO_TAG_ACCESS, SUMO_TAG_BUS_STOP, SUMO_TAG_CALIBRATOR, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, SUMO_TAG_E1DETECTOR, SUMO_TAG_E2DETECTOR, SUMO_TAG_E3DETECTOR, SUMO_TAG_ENTRY_EXIT_DETECTOR, SUMO_TAG_FLOW, SUMO_TAG_INDUCTION_LOOP, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_INTERVAL, SUMO_TAG_LANE_AREA_DETECTOR, SUMO_TAG_OVERHEAD_WIRE_CLAMP, SUMO_TAG_OVERHEAD_WIRE_SECTION, SUMO_TAG_PARAM, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_AREA_REROUTE, SUMO_TAG_PARKING_SPACE, SUMO_TAG_POI, SUMO_TAG_POLY, SUMO_TAG_REROUTER, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_ROUTEPROBE, SUMO_TAG_STEP, SUMO_TAG_TAZ, SUMO_TAG_TAZSINK, SUMO_TAG_TAZSOURCE, SUMO_TAG_TRACTION_SUBSTATION, SUMO_TAG_TRAIN_STOP, SUMO_TAG_VAPORIZER, SUMO_TAG_VSS, and CommonHandler::writeError().
Referenced by GNEGeneralHandler::beginTag().
|
virtual |
Builds an Access.
[in] | sumoBaseObject | sumo base object used for build |
[in] | busStop | GNEAdditional of this Access belongs |
[in] | laneID | The lane the Access is placed on |
[in] | pos | position of the Access on the lane |
[in[ | length length of the Access | |
[in] | friendlyPos | enable or disable friendly position |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 175 of file GNEAdditionalHandler.cpp.
References accessCanBeCreated(), GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNELane::allowPedestrians(), GNEUndoList::begin(), checkLanePosition(), CommonHandler::checkNegative(), GNEUndoList::end(), getAdditionalParent(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEAttributeCarrier::getID(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), INVALID_DOUBLE, myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_ID, SUMO_ATTR_LENGTH, SUMO_TAG_ACCESS, SUMO_TAG_BUS_STOP, SUMO_TAG_LANE, SUMO_TAG_TRAIN_STOP, TL, TLF, CommonHandler::writeError(), CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
Builds a bus stop.
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The id of the bus stop |
[in] | laneID | The lane the bus stop is placed on |
[in] | startPos | Begin position of the bus stop on the lane |
[in] | endPos | End position of the bus stop on the lane |
[in] | name | Name of busStop |
[in] | lines | Names of the bus lines that halt on this bus stop |
[in] | personCapacity | larger numbers of persons trying to enter will create an upstream jam on the sidewalk. |
[in] | parkingLength | parking length |
[in[ | color busStop color | |
[in] | friendlyPos | enable or disable friendly position |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 89 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEBusStop::buildBusStop(), NamespaceIDs::busStops, checkElement(), checkLaneDoublePosition(), CommonHandler::checkNegative(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveAdditionalElement(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_PARKING_LENGTH, SUMO_ATTR_PERSON_CAPACITY, SUMO_TAG_BUS_STOP, SUMO_TAG_LANE, TL, CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
builds a calibrator flow
[in] | sumoBaseObject | sumo base object used for build |
[in] | vehicleParameter | calibratorFlow parameter |
Implements AdditionalHandler.
Definition at line 840 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), DEFAULT_VTYPE_ID, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTag(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMOVehicleParameter::routeid, SUMO_ATTR_ID, SUMO_TAG_CALIBRATOR, SUMO_TAG_FLOW, SUMO_TAG_ROUTE, SUMO_TAG_VTYPE, TL, SUMOVehicleParameter::vtypeid, and CommonHandler::writeErrorInvalidParent().
|
virtual |
Builds a charging Station.
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The id of the charging Station |
[in] | laneID | The lane the charging Station is placed on |
[in] | startPos | Begin position of the charging Station on the lane |
[in] | endPos | End position of the charging Station on the lane |
[in] | name | Name of charging station |
[in] | chargingPower | power charged in every timeStep |
[in] | efficiency | efficiency of the charge |
[in] | chargeInTransit | enable or disable charge in transit |
[in] | chargeDelay | delay in the charge |
[in] | chargeType | charge type (normal, electric or fuel) |
[in] | waitingTime | waiting time until start charging |
[in] | friendlyPos | enable or disable friendly position |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 274 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), SUMOXMLDefinitions::ChargeTypes, checkElement(), checkLaneDoublePosition(), CommonHandler::checkNegative(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveAdditionalElement(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGINGPOWER, SUMO_TAG_CHARGING_STATION, SUMO_TAG_LANE, TL, TLF, toString(), CommonHandler::writeError(), CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
builds a closing lane reroute
[in] | sumoBaseObject | sumo base object used for build |
[in] | closedLane | closed lane |
[in] | permissions | vClasses disallowed for the lane |
Implements AdditionalHandler.
Definition at line 981 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), getRerouterIntervalParent(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_INTERVAL, SUMO_TAG_LANE, TL, and CommonHandler::writeErrorInvalidParent().
|
virtual |
builds a closing edge reroute
[in] | sumoBaseObject | sumo base object used for build |
[in] | closedEdgeID | closed edge |
[in] | permissions | vClasses disallowed for the lane |
Implements AdditionalHandler.
Definition at line 1009 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), getRerouterIntervalParent(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_EDGE, SUMO_TAG_INTERVAL, TL, and CommonHandler::writeErrorInvalidParent().
|
virtual |
Builds a container stop.
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The id of the container stop |
[in] | laneID | The lane the container stop is placed on |
[in] | startPos | Begin position of the container stop on the lane |
[in] | endPos | End position of the container stop on the lane |
[in] | name | Name of container stop |
[in] | lines | Names of the bus lines that halt on this container stop |
[in] | containerCapacity | larger numbers of containers |
[in] | parkingLength | parking length |
[in[ | color containerStop color | |
[in] | friendlyPos | enable or disable friendly position |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 232 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), checkLaneDoublePosition(), CommonHandler::checkNegative(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveAdditionalElement(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_PARKING_LENGTH, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_LANE, TL, CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
builds a dest prob reroute
[in] | sumoBaseObject | sumo base object used for build |
[in] | newEdgeDestinationID | new edge destination ID |
[in] | probability | rerouting probability |
Implements AdditionalHandler.
Definition at line 1036 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), getRerouterIntervalParent(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_EDGE, SUMO_TAG_INTERVAL, TL, and CommonHandler::writeErrorInvalidParent().
|
virtual |
Builds a Instant Induction Loop Detector (E1Instant)
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The id of the detector |
[in] | laneID | The lane the detector is placed on |
[in] | pos | position of the detector on the lane |
[in] | filename | The path to the output file. |
[in] | name | E2 detector name |
[in] | vtypes | list of vehicle types to be reported |
[in] | nextEdges | list of edge ids that must all be part of the future route of the vehicle to qualify for detection |
[in] | detectPersons | detect persons instead of vehicles (pedestrians or passengers) |
[in] | friendlyPos | enable or disable friendly position |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 691 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkFileName(), checkLanePosition(), CommonHandler::checkValidDetectorID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveAdditionalElement(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_FILE, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_LANE, TL, CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
Builds a multi entry exit detector (E3)
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The id of the detector |
[in] | pos | position of the detector in the map |
[in] | period | the aggregation period the values the detector collects shall be summed up. |
[in] | filename | The path to the output file. |
[in] | vtypes | list of vehicle types to be reported |
[in] | nextEdges | list of edge ids that must all be part of the future route of the vehicle to qualify for detection |
[in] | detectPersons | detect persons instead of vehicles (pedestrians or passengers) |
[in] | name | E2 detector name |
[in] | timeThreshold | The time-based threshold that describes how much time has to pass until a vehicle is recognized as halting |
[in] | speedThreshold | The speed-based threshold that describes how slow a vehicle has to be to be recognized as halting |
[in] | openEntry | enable or disable open Entry |
[in] | expectedArrival | Whether no warning should be issued when a vehicle arrives within the detector area |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 586 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), checkElement(), CommonHandler::checkFileName(), CommonHandler::checkListOfVehicleTypes(), CommonHandler::checkNegative(), CommonHandler::checkValidDetectorID(), E3, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveAdditionalElement(), SUMO_ATTR_FILE, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_PERIOD, SUMO_TAG_ENTRY_EXIT_DETECTOR, and TL.
|
virtual |
Builds a entry detector (E3)
[in] | sumoBaseObject | sumo base object used for build |
[in] | laneID | The lane in which the entry detector is placed on |
[in] | pos | position of the entry detector on the lane |
[in] | friendlyPos | enable or disable friendly position |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 625 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkLanePosition(), E3, GNEUndoList::end(), getAdditionalParent(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEAttributeCarrier::getID(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_ID, SUMO_TAG_DET_ENTRY, SUMO_TAG_ENTRY_EXIT_DETECTOR, SUMO_TAG_LANE, TL, CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
Builds a exit detector (E3)
[in] | sumoBaseObject | sumo base object used for build |
[in] | laneID | The lane in which the exit detector is placed on |
[in] | pos | position of the exit detector on the lane |
[in] | friendlyPos | enable or disable friendly position |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 658 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkLanePosition(), E3, GNEUndoList::end(), getAdditionalParent(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEAttributeCarrier::getID(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_ID, SUMO_TAG_DET_EXIT, SUMO_TAG_ENTRY_EXIT_DETECTOR, SUMO_TAG_LANE, TL, CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
Builds a induction loop detector (E1)
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The id of the detector |
[in] | laneID | The lane the detector is placed on |
[in] | pos | position of the detector on the lane |
[in] | period | the aggregation period the values the detector collects shall be summed up. |
[in] | filename | The path to the output file. |
[in] | vtypes | list of vehicle types to be reported |
[in] | nextEdges | list of edge ids that must all be part of the future route of the vehicle to qualify for detection |
[in] | detectPersons | detect persons instead of vehicles (pedestrians or passengers) |
[in] | name | E1 detector name |
[in] | friendlyPos | enable or disable friendly position |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 414 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkFileName(), checkLanePosition(), CommonHandler::checkListOfVehicleTypes(), CommonHandler::checkNegative(), CommonHandler::checkValidDetectorID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveAdditionalElement(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_FILE, SUMO_ATTR_PERIOD, SUMO_TAG_INDUCTION_LOOP, SUMO_TAG_LANE, TL, CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
builds a microscopic calibrator over an edge
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The id of the calibrator |
[in] | edgeID | The edge the calibrator is placed at |
[in] | pos | The position on the edge the calibrator lies at |
[in] | name | Calibrator name |
[in] | outfile | te file in which write results |
[in] | routeProbe | route probe vinculated with this calibrator |
[in] | jamThreshold | A threshold value to detect and clear unexpected jamming |
[in] | vTypes | space separated list of vehicle type ids to consider |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 786 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), NamespaceIDs::calibrators, GUISUMOAbstractView::centerTo(), checkElement(), checkLanePosition(), CommonHandler::checkNegative(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getBoolAttribute(), GNEHierarchicalElement::getChildLanes(), GNEAdditional::getPositionInView(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNE_ATTR_CENTER_AFTER_CREATION, CommonXMLStructure::SumoBaseObject::hasBoolAttribute(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), retrieveAdditionalElement(), GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_PERIOD, SUMO_TAG_CALIBRATOR, SUMO_TAG_EDGE, SUMO_TAG_ROUTEPROBE, TL, CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
Builds a JuPedSim obstacle using the given values.
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The name of the obstacle |
[in] | shape | The shape of the obstacle |
[in] | geo | specify if shape was loaded as GEO |
[in] | name | obstacle name |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 1747 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNE_TAG_JPS_OBSTACLE, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, NamespaceIDs::polygons, retrieveAdditionalElement(), and TL.
Referenced by buildPolygon().
|
virtual |
Builds a JuPedSim walkable area using the given values.
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The name of the walkable area |
[in] | shape | The shape of the walkable area |
[in] | geo | specify if shape was loaded as GEO |
[in] | name | walkable area name |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 1720 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNE_TAG_JPS_WALKABLEAREA, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, NamespaceIDs::polygons, retrieveAdditionalElement(), and TL.
Referenced by buildPolygon().
|
virtual |
builds a microscopic calibrator over a lane
[in] | id | The id of the calibrator |
[in] | laneID | The lane the calibrator is placed at |
[in] | pos | The position on the edge the calibrator lies at |
[in] | name | Calibrator name |
[in] | outfile | te file in which write results |
[in] | jamThreshold | A threshold value to detect and clear unexpected jamming |
[in] | vTypes | space separated list of vehicle type ids to consider |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 731 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), NamespaceIDs::calibrators, GUISUMOAbstractView::centerTo(), checkElement(), checkLanePosition(), CommonHandler::checkNegative(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getBoolAttribute(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEAdditional::getPositionInView(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNE_ATTR_CENTER_AFTER_CREATION, GNE_TAG_CALIBRATOR_LANE, CommonXMLStructure::SumoBaseObject::hasBoolAttribute(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), retrieveAdditionalElement(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_PERIOD, SUMO_TAG_LANE, SUMO_TAG_ROUTEPROBE, TL, CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
Builds a multi-lane Area Detector (E2)
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The id of the detector |
[in] | laneIDs | The lanes the detector is placed on |
[in] | pos | position of the detector on the first lane |
[in] | endPos | position of the detector on the last lane |
[in] | period | the aggregation period the values the detector collects shall be summed up. |
[in] | trafficLight | The traffic light that triggers aggregation when switching. |
[in] | filename | The path to the output file. |
[in] | vtypes | list of vehicle types to be reported |
[in] | nextEdges | list of edge ids that must all be part of the future route of the vehicle to qualify for detection |
[in] | detectPersons | detect persons instead of vehicles (pedestrians or passengers) |
[in] | name | E2 detector name |
[in] | timeThreshold | The time-based threshold that describes how much time has to pass until a vehicle is recognized as halting |
[in] | speedThreshold | The speed-based threshold that describes how slow a vehicle has to be to be recognized as halting |
[in] | jamThreshold | The minimum distance to the next standing vehicle in order to make this vehicle count as a participant to the jam |
[in] | friendlyPos | enable or disable friendly position |
[in] | show | detector in sumo-gui |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 521 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEAdditional::areLaneConsecutives(), GNEUndoList::begin(), checkElement(), CommonHandler::checkFileName(), CommonHandler::checkListOfVehicleTypes(), checkMultiLanePosition(), CommonHandler::checkNegative(), CommonHandler::checkValidDetectorID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNE_TAG_MULTI_LANE_AREA_DETECTOR, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidNetID(), NamespaceIDs::laneAreaDetectors, myAllowUndoRedo, CommonHandler::myFilename, myNet, parseLanes(), retrieveAdditionalElement(), SUMO_ATTR_FILE, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_PERIOD, TL, TLF, CommonHandler::writeError(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
build overhead wire
[in] | id | Overhead wire ID |
[in] | lane | Lane over which the segment is placed |
[in] | substationId | Substation to which the circuit is connected |
[in] | laneIDs | list of consecutive lanes of the circuit |
[in] | startPos | Starting position in the specified lane |
[in] | endPos | Ending position in the specified lane |
[in] | friendlyPos | enable or disable friendly position |
[in] | forbiddenInnerLanes | Inner lanes, where placing of overhead wire is restricted |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 1507 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEAdditional::areLaneConsecutives(), GNEUndoList::begin(), checkElement(), checkMultiLanePosition(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, parseLanes(), GNENetHelper::AttributeCarriers::retrieveAdditional(), retrieveAdditionalElement(), SUMO_TAG_OVERHEAD_WIRE_SECTION, SUMO_TAG_TRACTION_SUBSTATION, TL, TLF, CommonHandler::writeError(), CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
build overhead wire clamp
[in] | id | Overhead wire clamp ID |
[in] | overheadWireIDStartClamp | ID of the overhead wire segment, to the start of which the overhead wire clamp is connected |
[in] | laneIDStartClamp | ID of the overhead wire segment lane of overheadWireIDStartClamp |
[in] | overheadWireIDEndClamp | ID of the overhead wire segment, to the end of which the overhead wire clamp is connected |
[in] | laneIDEndClamp | ID of the overhead wire segment lane of overheadWireIDEndClamp |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 1557 of file GNEAdditionalHandler.cpp.
|
virtual |
Builds a Parking Area.
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The id of the Parking >Area |
[in] | laneID | The lane the Parking Area is placed on |
[in] | startPos | Begin position of the Parking Area on the lane |
[in] | endPos | End position of the Parking Area on the lane |
[in] | departPos | lane position in that vehicle must depart when leaves parkingArea |
[in] | name | Name of Parking Area |
[in] | badges | names which grant access to the parkingArea |
[in] | friendlyPos | enable or disable friendly position |
[in] | roadSideCapacity | road side capacity of ParkingArea |
[in] | width | ParkingArea's width |
[in] | length | ParkingArea's length |
[in] | angle | ParkingArea's angle |
[in] | lefthand | enable or disable lefthand |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 319 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), checkLaneDoublePosition(), CommonHandler::checkNegative(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveAdditionalElement(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_LENGTH, SUMO_ATTR_ROADSIDE_CAPACITY, SUMO_ATTR_WIDTH, SUMO_const_laneWidth, SUMO_TAG_LANE, SUMO_TAG_PARKING_AREA, TL, TLF, CommonHandler::writeError(), CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
builds a parking area reroute
[in] | sumoBaseObject | sumo base object used for build |
[in] | newParkignAreaID | new parkingArea ID |
[in] | probability | rerouting probability |
Implements AdditionalHandler.
Definition at line 1064 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), getRerouterIntervalParent(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), SUMO_TAG_INTERVAL, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_AREA_REROUTE, TL, and CommonHandler::writeErrorInvalidParent().
|
virtual |
Builds a Parking Space.
[in] | sumoBaseObject | sumo base object used for build |
[in] | x | Position X |
[in] | y | Position Y |
[in] | z | Position Z |
[in] | name | Name of Parking Area |
[in] | width | ParkingArea's width |
[in] | length | ParkingArea's length |
[in] | angle | ParkingArea's angle |
[in] | slope | ParkingArea's slope (of this space) |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 369 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), CommonHandler::checkNegative(), GNEUndoList::end(), getAdditionalParent(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, myNet, SUMO_ATTR_ID, SUMO_ATTR_LENGTH, SUMO_ATTR_WIDTH, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_SPACE, TL, GNEAdditional::updateGeometry(), CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
|
virtual |
Builds a POI using the given values.
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The name of the POI |
[in] | type | The (abstract) type of the POI |
[in] | color | The color of the POI |
[in] | x | POI's x position |
[in] | y | POI's y position |
[in] | icon | The icon of the POI |
[in] | layer | The layer of the POI |
[in] | angle | The rotation of the POI |
[in] | imgFile | The raster image of the POI |
[in] | width | The width of the POI image |
[in] | height | The height of the POI image |
[in] | name | POI name |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 1603 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), checkElement(), CommonHandler::checkFileName(), CommonHandler::checkNegative(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, NamespaceIDs::POIs, retrieveAdditionalElement(), SUMO_ATTR_HEIGHT, SUMO_ATTR_IMGFILE, SUMO_ATTR_WIDTH, SUMO_TAG_POI, and TL.
|
virtual |
Builds a POI in GEO coordinaten using the given values.
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The name of the POI |
[in] | type | The (abstract) type of the POI |
[in] | color | The color of the POI |
[in] | lon | POI's longitude |
[in] | lat | POI's latitude |
[in] | icon | The icon of the POI |
[in] | layer | The layer of the POI |
[in] | angle | The rotation of the POI |
[in] | imgFile | The raster image of the POI |
[in] | width | The width of the POI image |
[in] | height | The height of the POI image |
[in] | name | POI name |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 1683 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), checkElement(), CommonHandler::checkFileName(), CommonHandler::checkNegative(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GeoConvHelper::getFinal(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNE_TAG_POIGEO, GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, POIGEO, NamespaceIDs::POIs, retrieveAdditionalElement(), SUMO_ATTR_HEIGHT, SUMO_ATTR_IMGFILE, SUMO_ATTR_WIDTH, TL, TLF, and CommonHandler::writeError().
|
virtual |
Builds a POI over lane using the given values.
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The name of the POI |
[in] | type | The (abstract) type of the POI |
[in] | color | The color of the POI |
[in] | laneID | The Lane in which this POI is placed |
[in] | posOverLane | The position over Lane |
[in] | friendlyPos | enable or disable friendly position |
[in] | posLat | The position lateral over Lane |
[in] | icon | The icon of the POI |
[in] | layer | The layer of the POI |
[in] | angle | The rotation of the POI |
[in] | imgFile | The raster image of the POI |
[in] | width | The width of the POI image |
[in] | height | The height of the POI image |
[in] | name | POI name |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 1637 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkFileName(), checkLanePosition(), CommonHandler::checkNegative(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNE_TAG_POILANE, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, NamespaceIDs::POIs, retrieveAdditionalElement(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_HEIGHT, SUMO_ATTR_IMGFILE, SUMO_ATTR_WIDTH, SUMO_TAG_LANE, TL, CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
Builds a polygon using the given values.
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The name of the polygon |
[in] | type | The (abstract) type of the polygon |
[in] | color | The color of the polygon |
[in] | layer | The layer of the polygon |
[in] | angle | The rotation of the polygon |
[in] | imgFile | The raster image of the polygon |
[in] | shape | The shape of the polygon |
[in] | geo | specify if shape was loaded as GEO coordinate |
[in] | fill | Whether the polygon shall be filled |
[in] | lineWidth | Line width when drawing unfilled polygon |
[in] | name | polygon name |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 1566 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), buildJpsObstacle(), buildJpsWalkableArea(), checkElement(), CommonHandler::checkNegative(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, NamespaceIDs::polygons, retrieveAdditionalElement(), SUMO_ATTR_LINEWIDTH, SUMO_TAG_POLY, and TL.
|
virtual |
builds a rerouter
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The id of the rerouter |
[in] | pos | position of the rerouter in the map |
[in] | edgeIDs | The edges the rerouter is placed at |
[in] | prob | The probability the rerouter reroutes vehicles with |
[in] | name | Calibrator name |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 875 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkListOfVehicleTypes(), CommonHandler::checkNegative(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), Position::INVALID, PositionVector::length2D(), PositionVector::move2side(), myAllowUndoRedo, CommonHandler::myFilename, myNet, parseEdges(), PositionVector::positionAtOffset2D(), retrieveAdditionalElement(), SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_PROB, SUMO_TAG_REROUTER, and TL.
|
virtual |
builds a rerouter interval
[in] | sumoBaseObject | sumo base object used for build |
[in] | begin | begin of interval |
[in] | end | end of interval |
Implements AdditionalHandler.
Definition at line 946 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), CommonHandler::checkNegative(), checkOverlappingRerouterIntervals(), GNEUndoList::end(), getAdditionalParent(), GNEAttributeCarrier::getID(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), myAllowUndoRedo, myNet, SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_ATTR_ID, SUMO_TAG_INTERVAL, SUMO_TAG_REROUTER, TL, TLF, toString(), CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
|
virtual |
builds a Route probe
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The id of the routeprobe |
[in] | edgeID | The edges the routeprobe is placed at |
[in] | period | the aggregation period the values the routeprobe collects shall be summed up. |
[in] | name | Calibrator name |
[in] | file | The file to read the routeprobe definitions from |
[in] | begin | The time at which to start generating output |
[in] | vTypes | list of vehicle types to be affected |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 1120 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GUISUMOAbstractView::centerTo(), checkElement(), CommonHandler::checkFileName(), CommonHandler::checkNegative(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getBoolAttribute(), GNEAdditional::getPositionInView(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNE_ATTR_CENTER_AFTER_CREATION, CommonXMLStructure::SumoBaseObject::hasBoolAttribute(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveAdditionalElement(), GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_ATTR_BEGIN, SUMO_ATTR_FILE, SUMO_ATTR_PERIOD, SUMO_TAG_EDGE, SUMO_TAG_ROUTEPROBE, TL, and CommonHandler::writeErrorInvalidParent().
|
virtual |
builds a route prob reroute
[in] | sumoBaseObject | sumo base object used for build |
[in] | newRouteID | new route ID |
[in] | probability | rerouting probability |
Implements AdditionalHandler.
Definition at line 1092 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getID(), getRerouterIntervalParent(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMO_TAG_INTERVAL, SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_PROB_REROUTE, TL, and CommonHandler::writeErrorInvalidParent().
|
virtual |
Builds a single-lane Area Detector (E2)
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The id of the detector |
[in] | laneID | The lane the detector is placed on |
[in] | pos | position of the detector on the lane |
[in[ | length length of the detector | |
[in] | period | the aggregation period the values the detector collects shall be summed up. |
[in] | trafficLight | The traffic light that triggers aggregation when switching. |
[in] | filename | The path to the output file. |
[in] | vtypes | list of vehicle types to be reported |
[in] | nextEdges | list of edge ids that must all be part of the future route of the vehicle to qualify for detection |
[in] | detectPersons | detect persons instead of vehicles (pedestrians or passengers) |
[in] | name | E2 detector name |
[in] | timeThreshold | The time-based threshold that describes how much time has to pass until a vehicle is recognized as halting |
[in] | speedThreshold | The speed-based threshold that describes how slow a vehicle has to be to be recognized as halting |
[in] | jamThreshold | The minimum distance to the next standing vehicle in order to make this vehicle count as a participant to the jam |
[in] | friendlyPos | enable or disable friendly position |
[in] | show | detector in sumo-gui |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 459 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkFileName(), checkFriendlyPosSmallLanes(), checkLanePosition(), CommonHandler::checkListOfVehicleTypes(), CommonHandler::checkNegative(), CommonHandler::checkValidDetectorID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidNetID(), NamespaceIDs::laneAreaDetectors, myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveAdditionalElement(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_FILE, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_LENGTH, SUMO_ATTR_PERIOD, SUMO_TAG_LANE, SUMO_TAG_LANE_AREA_DETECTOR, TL, TLF, CommonHandler::writeError(), CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
Builds a TAZ (Traffic Assignment Zone)
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | TAZ ID |
[in] | shape | TAZ shape |
[in] | center | shape center |
[in] | fill | Whether the TAZ shall be filled |
[in] | edgeIDs | list of edges (note: This will create GNETAZSourceSinks/Sinks with default values) |
[in] | name | Vaporizer name |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 1291 of file GNEAdditionalHandler.cpp.
References Boundary::add(), GNEUndoList::add(), GNEUndoList::begin(), checkElement(), CommonHandler::checkValidAdditionalID(), GNENet::disableUpdateGeometry(), GNENet::enableUpdateGeometry(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEEdge::getCenteringBoundary(), PositionVector::getCentroid(), Boundary::getShape(), CommonXMLStructure::SumoBaseObject::getSumoBaseObjectChildren(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), GNENetHelper::AttributeCarriers::insertTAZSourceSink(), Position::INVALID, myAllowUndoRedo, CommonHandler::myFilename, myNet, parseEdges(), retrieveAdditionalElement(), GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_ATTR_ID, SUMO_TAG_TAZ, SUMO_TAG_TAZSINK, SUMO_TAG_TAZSOURCE, TAZ, TL, TLF, and CommonHandler::writeError().
|
virtual |
Builds a TAZSink (Traffic Assignment Zone)
[in] | net | net in which element will be inserted |
[in] | allowUndoRedo | enable or disable remove created additional with ctrl + Z / ctrl + Y |
[in] | TAZ | Traffic Assignment Zone in which this TAZSink is palced |
[in] | edgeID | edge in which TAZSink is placed |
[in] | arrivalWeight | arrival weight of TAZSink |
Implements AdditionalHandler.
Definition at line 1427 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEUndoList::end(), getAdditionalParent(), GNENet::getAttributeCarriers(), GNEHierarchicalElement::getChildTAZSourceSinks(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertTAZSourceSink(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveEdge(), GNETAZSourceSink::setAttribute(), SUMO_ATTR_ID, SUMO_ATTR_WEIGHT, SUMO_TAG_EDGE, SUMO_TAG_SOURCE, SUMO_TAG_TAZ, SUMO_TAG_TAZSINK, TAZ, TL, toString(), and CommonHandler::writeErrorInvalidParent().
|
virtual |
Builds a TAZSource (Traffic Assignment Zone)
[in] | sumoBaseObject | sumo base object used for build |
[in] | TAZ | Traffic Assignment Zone in which this TAZSource is palced |
[in] | edgeID | edge in which TAZSource is placed |
[in] | departWeight | depart weight of TAZSource |
Implements AdditionalHandler.
Definition at line 1377 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEUndoList::end(), getAdditionalParent(), GNENet::getAttributeCarriers(), GNEHierarchicalElement::getChildTAZSourceSinks(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertTAZSourceSink(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveEdge(), GNETAZSourceSink::setAttribute(), SUMO_ATTR_ID, SUMO_ATTR_WEIGHT, SUMO_TAG_EDGE, SUMO_TAG_SOURCE, SUMO_TAG_TAZ, SUMO_TAG_TAZSOURCE, TAZ, TL, toString(), and CommonHandler::writeErrorInvalidParent().
|
virtual |
build traction substation
[in] | id | Traction substation ID |
[in] | pos | Position of traction substation in view (optional) |
[in] | voltage | Voltage of at connection point for the overhead wire |
[in] | currentLimit | Current limit of the feeder line |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 1477 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), checkElement(), CommonHandler::checkNegative(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveAdditionalElement(), SUMO_ATTR_CURRENTLIMIT, SUMO_ATTR_VOLTAGE, SUMO_TAG_TRACTION_SUBSTATION, and TL.
|
virtual |
Builds a train stop.
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The id of the train stop |
[in] | laneID | The lane the train stop is placed on |
[in] | startPos | Begin position of the train stop on the lane |
[in] | endPos | End position of the train stop on the lane |
[in] | name | Name of trainStop |
[in] | lines | Names of the train lines that halt on this train stop |
[in] | personCapacity | larger numbers of persons trying to enter will create an upstream jam on the sidewalk. |
[in] | parkingLength | parking length |
[in[ | color trainStop color | |
[in] | friendlyPos | enable or disable friendly position |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 132 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEBusStop::buildTrainStop(), NamespaceIDs::busStops, checkElement(), checkLaneDoublePosition(), CommonHandler::checkNegative(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveAdditionalElement(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_PARKING_LENGTH, SUMO_ATTR_PERSON_CAPACITY, SUMO_TAG_LANE, SUMO_TAG_TRAIN_STOP, TL, CommonHandler::writeErrorInvalidParent(), and CommonHandler::writeErrorInvalidPosition().
|
virtual |
Builds a vaporizer (lane speed additional)
[in] | sumoBaseObject | sumo base object used for build |
[in] | edgeID | edge in which this vaporizer is placed |
[in] | from | time in which this vaporizer start |
[in] | endTime | time in which this vaporizer ends |
[in] | name | Vaporizer name |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 1246 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GUISUMOAbstractView::centerTo(), checkElement(), CommonHandler::checkNegative(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getBoolAttribute(), GNEAttributeCarrier::getID(), GNEAdditional::getPositionInView(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNE_ATTR_CENTER_AFTER_CREATION, CommonXMLStructure::SumoBaseObject::hasBoolAttribute(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, retrieveAdditionalElement(), GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_TAG_EDGE, SUMO_TAG_VAPORIZER, TL, TLF, CommonHandler::writeError(), and CommonHandler::writeErrorInvalidParent().
|
virtual |
Builds a VariableSpeedSign (lane speed additional)
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The id of the lane speed additional |
[in] | destLanes | List of lanes affected by this speed additional |
[in] | name | VSS name |
[in] | vTypes | list of vehicle types to be affected |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 1166 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkElement(), CommonHandler::checkListOfVehicleTypes(), CommonHandler::checkValidAdditionalID(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, CommonHandler::myFilename, myNet, parseLanes(), retrieveAdditionalElement(), SUMO_TAG_VSS, and TL.
|
virtual |
Builds a VariableSpeedSign Step.
[in] | sumoBaseObject | sumo base object used for build |
[in] | time | step's time |
[in] | speed | step's speed |
Implements AdditionalHandler.
Definition at line 1220 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), CommonHandler::checkNegative(), GNEUndoList::end(), getAdditionalParent(), GNEAttributeCarrier::getID(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), myAllowUndoRedo, myNet, SUMO_ATTR_ID, SUMO_ATTR_TIME, SUMO_TAG_STEP, SUMO_TAG_VSS, TL, and CommonHandler::writeErrorInvalidParent().
|
privateinherited |
check calibrator flow parents
Definition at line 2038 of file AdditionalHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), GNE_TAG_CALIBRATOR_LANE, CommonHandler::myCommonXMLStructure, SUMO_TAG_CALIBRATOR, TLF, toString(), and CommonHandler::writeError().
Referenced by AdditionalHandler::parseCalibratorFlowAttributes().
|
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().
|
privateinherited |
check detect persons
Definition at line 2056 of file AdditionalHandler.cpp.
References StringBijection< T >::hasString(), SUMOXMLDefinitions::PersonModeValues, SUMO_ATTR_DETECT_PERSONS, TLF, toString(), and CommonHandler::writeError().
Referenced by AdditionalHandler::parseE1Attributes(), AdditionalHandler::parseE1InstantAttributes(), AdditionalHandler::parseE2Attributes(), and AdditionalHandler::parseE3Attributes().
|
protected |
check if element exist, and if overwritte
Definition at line 2049 of file GNEAdditionalHandler.cpp.
References GNENet::deleteAdditional(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEViewNet::getUndoList(), GNENet::getViewNet(), myAllowUndoRedo, myNet, myOverwrite, CommonHandler::writeWarningDuplicated(), and CommonHandler::writeWarningOverwritting().
Referenced by buildBusStop(), buildChargingStation(), buildContainerStop(), buildDetectorE1Instant(), buildDetectorE3(), buildE1Detector(), buildEdgeCalibrator(), buildJpsObstacle(), buildJpsWalkableArea(), buildLaneCalibrator(), buildMultiLaneDetectorE2(), buildOverheadWire(), buildParkingArea(), buildPOI(), buildPOIGeo(), buildPOILane(), buildPolygon(), buildRerouter(), buildRouteProbe(), buildSingleLaneDetectorE2(), buildTAZ(), buildTractionSubstation(), buildTrainStop(), buildVaporizer(), and buildVariableSpeedSign().
|
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 buildDetectorE1Instant(), buildDetectorE3(), buildE1Detector(), buildMultiLaneDetectorE2(), buildPOI(), buildPOIGeo(), buildPOILane(), buildRouteProbe(), and buildSingleLaneDetectorE2().
|
static |
check if enable friendly pos in small lanes
[in] | pos | pos position of element over lane |
[in] | length | element's length |
[in] | laneLength | Length of the lane |
[in] | friendlyPos | Attribute of element |
Definition at line 1858 of file GNEAdditionalHandler.cpp.
References OptionsCont::getOptions().
Referenced by buildSingleLaneDetectorE2().
|
static |
check if the given positions over a lane is valid
[in] | from | begin position of element over lane |
[in] | to | end position of element over lane |
[in] | laneLength | Length of the lane |
[in] | friendlyPos | Attribute of element |
Definition at line 1880 of file GNEAdditionalHandler.cpp.
References INVALID_DOUBLE.
Referenced by buildBusStop(), buildChargingStation(), buildContainerStop(), buildParkingArea(), buildTrainStop(), and GNEStoppingPlace::isAdditionalValid().
|
static |
check if the given position over a lane is valid
[in] | pos | pos position of element over lane |
[in] | length | element's length |
[in] | laneLength | Length of the lane |
[in] | friendlyPos | Attribute of element |
Definition at line 1815 of file GNEAdditionalHandler.cpp.
Referenced by buildAccess(), buildDetectorE1Instant(), buildDetectorEntry(), buildDetectorExit(), buildE1Detector(), buildEdgeCalibrator(), buildLaneCalibrator(), buildPOILane(), buildSingleLaneDetectorE2(), checkMultiLanePosition(), GNEAccess::getAdditionalProblem(), GNEEntryExitDetector::getAdditionalProblem(), GNEInductionLoopDetector::getAdditionalProblem(), GNEInstantInductionLoopDetector::getAdditionalProblem(), and GNEPOI::getAdditionalProblem().
|
protectedinherited |
check list of IDs
Definition at line 122 of file CommonHandler.cpp.
References SUMOXMLDefinitions::isValidTypeID(), TLF, toString(), and CommonHandler::writeError().
Referenced by buildDetectorE3(), buildE1Detector(), buildMultiLaneDetectorE2(), buildRerouter(), buildSingleLaneDetectorE2(), and buildVariableSpeedSign().
|
static |
check if the given positions over two lanes are valid
[in] | fromPos | position of element over first lane |
[in] | fromLaneLength | length of the first lane |
[in] | toPos | position of element over second lane |
[in] | toLaneLength | length of the second lane |
[in] | friendlyPos | flag for friendlyPos |
Definition at line 1949 of file GNEAdditionalHandler.cpp.
References checkLanePosition().
Referenced by buildMultiLaneDetectorE2(), and buildOverheadWire().
|
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 buildAccess(), buildBusStop(), buildChargingStation(), buildContainerStop(), buildDetectorE3(), buildE1Detector(), buildEdgeCalibrator(), GNEMeanDataHandler::buildEdgeMeanData(), buildLaneCalibrator(), GNEMeanDataHandler::buildLaneMeanData(), buildMultiLaneDetectorE2(), buildParkingArea(), buildParkingSpace(), buildPOI(), buildPOIGeo(), buildPOILane(), buildPolygon(), buildRerouter(), buildRerouterInterval(), GNERouteHandler::buildRoute(), buildRouteProbe(), buildSingleLaneDetectorE2(), buildTractionSubstation(), buildTrainStop(), GNERouteHandler::buildTranship(), buildVaporizer(), buildVariableSpeedSignStep(), GNERouteHandler::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().
|
static |
check if an overlapping is produced in rerouter if a interval with certain begin and end is inserted
Definition at line 1788 of file GNEAdditionalHandler.cpp.
References GNEHierarchicalElement::getChildAdditionals(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, and TIME2STEPS.
Referenced by buildRerouterInterval().
|
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 buildBusStop(), buildChargingStation(), buildContainerStop(), GNEDataHandler::buildDataSet(), buildEdgeCalibrator(), GNEMeanDataHandler::buildEdgeMeanData(), buildJpsObstacle(), buildJpsWalkableArea(), buildLaneCalibrator(), GNEMeanDataHandler::buildLaneMeanData(), buildOverheadWire(), buildParkingArea(), buildPOI(), buildPOIGeo(), buildPOILane(), buildPolygon(), buildRerouter(), buildRouteProbe(), buildTAZ(), buildTractionSubstation(), buildTrainStop(), buildVaporizer(), and 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 GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildRoute(), GNERouteHandler::buildRouteDistribution(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVType(), and GNERouteHandler::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 buildDetectorE1Instant(), buildDetectorE3(), buildE1Detector(), buildMultiLaneDetectorE2(), and 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().
|
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.
|
inherited |
end parse attributes
Definition at line 193 of file AdditionalHandler.cpp.
References CommonXMLStructure::closeSUMOBaseOBject(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getTag(), GNE_TAG_CALIBRATOR_LANE, GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, CommonHandler::myCommonXMLStructure, AdditionalHandler::parseSumoBaseObject(), SUMO_TAG_BUS_STOP, SUMO_TAG_CALIBRATOR, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_E1DETECTOR, SUMO_TAG_E2DETECTOR, SUMO_TAG_E3DETECTOR, SUMO_TAG_ENTRY_EXIT_DETECTOR, SUMO_TAG_INDUCTION_LOOP, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_LANE_AREA_DETECTOR, SUMO_TAG_OVERHEAD_WIRE_CLAMP, SUMO_TAG_OVERHEAD_WIRE_SECTION, SUMO_TAG_PARKING_AREA, SUMO_TAG_POI, SUMO_TAG_POLY, SUMO_TAG_REROUTER, SUMO_TAG_ROUTEPROBE, SUMO_TAG_TAZ, SUMO_TAG_TRACTION_SUBSTATION, SUMO_TAG_TRAIN_STOP, SUMO_TAG_VAPORIZER, and SUMO_TAG_VSS.
Referenced by GNEGeneralHandler::endTag().
|
static |
fix the given positions over lane
[in] | from | begin position of element over lane |
[in] | to | end position of element over lane |
[in] | laneLength | Length of the lane |
Definition at line 1911 of file GNEAdditionalHandler.cpp.
References INVALID_DOUBLE.
Referenced by GNEStoppingPlace::fixAdditionalProblem().
|
static |
fix given position over lane
[in] | pos | pos position of element over lane |
[in] | laneLength | Length of the lane |
Definition at line 1837 of file GNEAdditionalHandler.cpp.
Referenced by GNEAccess::fixAdditionalProblem(), GNEEntryExitDetector::fixAdditionalProblem(), GNEInductionLoopDetector::fixAdditionalProblem(), GNEInstantInductionLoopDetector::fixAdditionalProblem(), GNELaneAreaDetector::fixAdditionalProblem(), GNEPOI::fixAdditionalProblem(), fixMultiLanePosition(), and GNEDetector::getGeometryPositionOverLane().
|
static |
fix the given positions over two lanes
[in] | fromPos | position of element over first lane |
[in] | fromLaneLength | length of the first lane |
[in] | toPos | position of element over second lane |
[in] | toLaneLength | length of the second lane |
Definition at line 1959 of file GNEAdditionalHandler.cpp.
References fixLanePosition().
Referenced by GNELaneAreaDetector::fixAdditionalProblem(), and GNEOverheadWire::fixAdditionalProblem().
|
protected |
get additional parent
Definition at line 1967 of file GNEAdditionalHandler.cpp.
References GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), and SUMO_ATTR_ID.
Referenced by buildAccess(), buildDetectorEntry(), buildDetectorExit(), buildParkingSpace(), buildRerouterInterval(), buildTAZSink(), buildTAZSource(), and buildVariableSpeedSignStep().
|
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 rerouter interval parent
Definition at line 1979 of file GNEAdditionalHandler.cpp.
References GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTimeAttribute(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), CommonXMLStructure::SumoBaseObject::hasTimeAttribute(), myNet, GNENetHelper::AttributeCarriers::retrieveRerouterInterval(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, and SUMO_ATTR_ID.
Referenced by buildClosingLaneReroute(), buildClosingReroute(), buildDestProbReroute(), buildParkingAreaReroute(), and buildRouteProbReroute().
|
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().
|
privatedelete |
invalidate assignment operator
|
privateinherited |
parse access attributes
Definition at line 884 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonHandler::checkParsedParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LANE, SUMO_ATTR_LENGTH, SUMO_ATTR_POSITION, SUMO_TAG_ACCESS, SUMO_TAG_BUS_STOP, SUMO_TAG_ERROR, and SUMO_TAG_TRAIN_STOP.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
Definition at line 810 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addColorAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addIntAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), INVALID_DOUBLE, RGBColor::INVISIBLE, CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_COLOR, SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_LINES, SUMO_ATTR_NAME, SUMO_ATTR_PARKING_LENGTH, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_STARTPOS, SUMO_TAG_BUS_STOP, and SUMO_TAG_ERROR.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse calibrator attributes
Definition at line 1447 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), DELTA_T, SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptPeriod(), GNE_TAG_CALIBRATOR_LANE, SUMOSAXAttributes::hasAttribute(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_EDGE, SUMO_ATTR_ID, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_LANE, SUMO_ATTR_NAME, SUMO_ATTR_OUTPUT, SUMO_ATTR_PERIOD, SUMO_ATTR_POSITION, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_VTYPES, SUMO_TAG_CALIBRATOR, SUMO_TAG_ERROR, TL, and CommonHandler::writeError().
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse calibrator flow attributes
Definition at line 1494 of file AdditionalHandler.cpp.
References SUMOVehicleParameter::calibratorSpeed, AdditionalHandler::checkCalibratorFlowParents(), SUMOVehicleParameter::depart, SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getSUMOTimeReporting(), SUMOSAXAttributes::hasAttribute(), CommonHandler::myCommonXMLStructure, SUMOVehicleParameter::parametersSet, SUMOVehicleParserHelper::parseVehicleAttributes(), SUMOVehicleParameter::repetitionEnd, SUMOVehicleParameter::repetitionOffset, CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_ATTR_SPEED, SUMO_ATTR_TYPE, SUMO_ATTR_VEHSPERHOUR, SUMO_TAG_ERROR, SUMO_TAG_FLOW, TIME2STEPS, TL, VEHPARS_CALIBRATORSPEED_SET, VEHPARS_VPH_SET, and CommonHandler::writeError().
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse chargingStation attributes
Definition at line 948 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), SUMOXMLDefinitions::ChargeTypes, SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), StringBijection< T >::getString(), INVALID_DOUBLE, CommonHandler::myCommonXMLStructure, NORMAL, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGEINTRANSIT, SUMO_ATTR_CHARGETYPE, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_EFFICIENCY, SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_LINES, SUMO_ATTR_NAME, SUMO_ATTR_PARKING_AREA, SUMO_ATTR_STARTPOS, SUMO_ATTR_WAITINGTIME, SUMO_TAG_CHARGING_STATION, SUMO_TAG_ERROR, TIME2STEPS, TLF, and CommonHandler::writeError().
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse closing lane reroute attributes
Definition at line 1600 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonHandler::checkParsedParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_ID, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_ERROR, and SUMO_TAG_INTERVAL.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse closing reroute attributes
Definition at line 1625 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonHandler::checkParsedParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_ID, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_ERROR, and SUMO_TAG_INTERVAL.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse containerStop attributes
Definition at line 911 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addColorAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addIntAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), INVALID_DOUBLE, RGBColor::INVISIBLE, CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_LINES, SUMO_ATTR_NAME, SUMO_ATTR_PARKING_LENGTH, SUMO_ATTR_STARTPOS, SUMO_TAG_CONTAINER_STOP, and SUMO_TAG_ERROR.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse dest prob reroute attributes
Definition at line 1650 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonHandler::checkNegative(), CommonHandler::checkParsedParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_ERROR, and SUMO_TAG_INTERVAL.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse E1 attributes
Definition at line 1080 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), AdditionalHandler::checkDetectPersons(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptPeriod(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_DETECT_PERSONS, SUMO_ATTR_FILE, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_NAME, SUMO_ATTR_NEXT_EDGES, SUMO_ATTR_PERIOD, SUMO_ATTR_POSITION, SUMO_ATTR_VTYPES, SUMO_TAG_E1DETECTOR, SUMO_TAG_ERROR, and SUMOTime_MAX_PERIOD.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse E1 instant attributes
Definition at line 1287 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), AdditionalHandler::checkDetectPersons(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_DETECT_PERSONS, SUMO_ATTR_FILE, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_NAME, SUMO_ATTR_NEXT_EDGES, SUMO_ATTR_POSITION, SUMO_ATTR_VTYPES, SUMO_TAG_ERROR, and SUMO_TAG_INSTANT_INDUCTION_LOOP.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse E2 attributes
Definition at line 1117 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), AdditionalHandler::checkDetectPersons(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptPeriod(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::hasAttribute(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_DETECT_PERSONS, SUMO_ATTR_ENDPOS, SUMO_ATTR_FILE, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_ID, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_LANE, SUMO_ATTR_LANES, SUMO_ATTR_LENGTH, SUMO_ATTR_NAME, SUMO_ATTR_NEXT_EDGES, SUMO_ATTR_PERIOD, SUMO_ATTR_POSITION, SUMO_ATTR_SHOW_DETECTOR, SUMO_ATTR_TLID, SUMO_ATTR_VTYPES, SUMO_TAG_E2DETECTOR, SUMO_TAG_ERROR, SUMOTime_MAX_PERIOD, TIME2STEPS, TL, and CommonHandler::writeError().
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse E3 attributes
Definition at line 1196 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), AdditionalHandler::checkDetectPersons(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptPeriod(), SUMOSAXAttributes::getOptSUMOTimeReporting(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_DETECT_PERSONS, SUMO_ATTR_EXPECT_ARRIVAL, SUMO_ATTR_FILE, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_ID, SUMO_ATTR_NAME, SUMO_ATTR_NEXT_EDGES, SUMO_ATTR_OPEN_ENTRY, SUMO_ATTR_PERIOD, SUMO_ATTR_POSITION, SUMO_ATTR_VTYPES, SUMO_TAG_E3DETECTOR, SUMO_TAG_ERROR, SUMOTime_MAX_PERIOD, and TIME2STEPS.
Referenced by AdditionalHandler::beginParseAttributes().
|
protected |
parse edges
Definition at line 2000 of file GNEAdditionalHandler.cpp.
References GNENet::getAttributeCarriers(), myNet, GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_TAG_EDGE, TLF, toString(), and CommonHandler::writeError().
Referenced by buildRerouter(), and buildTAZ().
|
privateinherited |
parse entry attributes
Definition at line 1237 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonHandler::checkParsedParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LANE, SUMO_ATTR_POSITION, SUMO_TAG_DET_ENTRY, SUMO_TAG_E3DETECTOR, and SUMO_TAG_ERROR.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse exist attributes
Definition at line 1262 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonHandler::checkParsedParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LANE, SUMO_ATTR_POSITION, SUMO_TAG_DET_EXIT, SUMO_TAG_E3DETECTOR, and SUMO_TAG_ERROR.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse juPedSim obstacle attributes
Definition at line 2015 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addPositionVectorAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), GNE_TAG_JPS_OBSTACLE, CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_NAME, SUMO_ATTR_SHAPE, and SUMO_TAG_ERROR.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse juPedSim walkable area attributes
Definition at line 1992 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addPositionVectorAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), GNE_TAG_JPS_WALKABLEAREA, CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_NAME, SUMO_ATTR_SHAPE, and SUMO_TAG_ERROR.
Referenced by AdditionalHandler::beginParseAttributes().
|
protected |
parse lanes
Definition at line 2018 of file GNEAdditionalHandler.cpp.
References GNENet::getAttributeCarriers(), myNet, GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_TAG_LANE, TLF, toString(), and CommonHandler::writeError().
Referenced by buildMultiLaneDetectorE2(), buildOverheadWire(), and buildVariableSpeedSign().
|
privateinherited |
parse overhead wire segment
Definition at line 1812 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), INVALID_DOUBLE, CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_OVERHEAD_WIRE_FORBIDDEN, SUMO_ATTR_STARTPOS, SUMO_ATTR_SUBSTATIONID, SUMO_TAG_ERROR, and SUMO_TAG_OVERHEAD_WIRE_SECTION.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse overhead wire clamp
Definition at line 1843 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_OVERHEAD_WIRECLAMP_END, SUMO_ATTR_OVERHEAD_WIRECLAMP_LANEEND, SUMO_ATTR_OVERHEAD_WIRECLAMP_LANESTART, SUMO_ATTR_OVERHEAD_WIRECLAMP_START, SUMO_ATTR_SUBSTATIONID, SUMO_TAG_ERROR, and SUMO_TAG_OVERHEAD_WIRE_CLAMP.
Referenced by AdditionalHandler::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 parking area attributes
Definition at line 999 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addIntAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), INVALID_DOUBLE, CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ACCEPTED_BADGES, SUMO_ATTR_ANGLE, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_LEFTHAND, SUMO_ATTR_LENGTH, SUMO_ATTR_NAME, SUMO_ATTR_ONROAD, SUMO_ATTR_ROADSIDE_CAPACITY, SUMO_ATTR_STARTPOS, SUMO_ATTR_WIDTH, SUMO_TAG_ERROR, and SUMO_TAG_PARKING_AREA.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse parking area reroute attributes
Definition at line 1676 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonHandler::checkNegative(), CommonHandler::checkParsedParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_ATTR_VISIBLE, SUMO_TAG_ERROR, SUMO_TAG_INTERVAL, and SUMO_TAG_PARKING_AREA_REROUTE.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse parking space attributes
Definition at line 1045 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonHandler::checkParsedParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ANGLE, SUMO_ATTR_LENGTH, SUMO_ATTR_NAME, SUMO_ATTR_SLOPE, SUMO_ATTR_WIDTH, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, SUMO_TAG_ERROR, SUMO_TAG_PARKING_AREA, and SUMO_TAG_PARKING_SPACE.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse POI attributes
Definition at line 1910 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addColorAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), Shape::DEFAULT_ANGLE, Shape::DEFAULT_IMG_FILE, Shape::DEFAULT_IMG_HEIGHT, Shape::DEFAULT_IMG_WIDTH, Shape::DEFAULT_LAYER_POI, Shape::DEFAULT_TYPE, SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), StringBijection< T >::getString(), SUMOSAXAttributes::hasAttribute(), CommonHandler::myCommonXMLStructure, NONE, SUMOXMLDefinitions::POIIcons, RGBColor::RED, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ANGLE, SUMO_ATTR_COLOR, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_HEIGHT, SUMO_ATTR_ICON, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_LANE, SUMO_ATTR_LAT, SUMO_ATTR_LAYER, SUMO_ATTR_LON, SUMO_ATTR_NAME, SUMO_ATTR_POSITION, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_TYPE, SUMO_ATTR_WIDTH, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_TAG_ERROR, SUMO_TAG_POI, TL, TLF, WRITE_WARNING, and CommonHandler::writeError().
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
Definition at line 1871 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addColorAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addPositionVectorAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), Shape::DEFAULT_ANGLE, Shape::DEFAULT_IMG_FILE, Shape::DEFAULT_LAYER, Shape::DEFAULT_LINEWIDTH, Shape::DEFAULT_TYPE, SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, RGBColor::RED, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ANGLE, SUMO_ATTR_COLOR, SUMO_ATTR_FILL, SUMO_ATTR_GEO, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_LAYER, SUMO_ATTR_LINEWIDTH, SUMO_ATTR_NAME, SUMO_ATTR_SHAPE, SUMO_ATTR_TYPE, SUMO_TAG_ERROR, and SUMO_TAG_POLY.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse rerouter attributes
Definition at line 1539 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), CommonHandler::checkNegative(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), Position::INVALID, CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_EDGES, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_ID, SUMO_ATTR_NAME, SUMO_ATTR_OFF, SUMO_ATTR_OPTIONAL, SUMO_ATTR_POSITION, SUMO_ATTR_PROB, SUMO_ATTR_VTYPES, SUMO_TAG_ERROR, and SUMO_TAG_REROUTER.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse rerouter interval attributes
Definition at line 1578 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addTimeAttribute(), CommonHandler::checkParsedParent(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getSUMOTimeReporting(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_TAG_ERROR, SUMO_TAG_INTERVAL, and SUMO_TAG_REROUTER.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse route probe attributes
Definition at line 1731 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptPeriod(), SUMOSAXAttributes::getOptSUMOTimeReporting(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_BEGIN, SUMO_ATTR_EDGE, SUMO_ATTR_FILE, SUMO_ATTR_ID, SUMO_ATTR_NAME, SUMO_ATTR_PERIOD, SUMO_ATTR_VTYPES, SUMO_TAG_ERROR, SUMO_TAG_ROUTEPROBE, and SUMOTime_MAX_PERIOD.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse route prob reroute attributes
Definition at line 1705 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonHandler::checkNegative(), CommonHandler::checkParsedParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_TAG_ERROR, SUMO_TAG_INTERVAL, and SUMO_TAG_ROUTE_PROB_REROUTE.
Referenced by AdditionalHandler::beginParseAttributes().
|
inherited |
parse SumoBaseObject (it's called recursivelly)
Definition at line 251 of file AdditionalHandler.cpp.
References AdditionalHandler::buildAccess(), AdditionalHandler::buildBusStop(), AdditionalHandler::buildCalibratorFlow(), AdditionalHandler::buildChargingStation(), AdditionalHandler::buildClosingLaneReroute(), AdditionalHandler::buildClosingReroute(), AdditionalHandler::buildContainerStop(), AdditionalHandler::buildDestProbReroute(), AdditionalHandler::buildDetectorE1Instant(), AdditionalHandler::buildDetectorE3(), AdditionalHandler::buildDetectorEntry(), AdditionalHandler::buildDetectorExit(), AdditionalHandler::buildE1Detector(), AdditionalHandler::buildEdgeCalibrator(), AdditionalHandler::buildJpsObstacle(), AdditionalHandler::buildJpsWalkableArea(), AdditionalHandler::buildLaneCalibrator(), AdditionalHandler::buildMultiLaneDetectorE2(), AdditionalHandler::buildOverheadWire(), AdditionalHandler::buildOverheadWireClamp(), AdditionalHandler::buildParkingArea(), AdditionalHandler::buildParkingAreaReroute(), AdditionalHandler::buildParkingSpace(), AdditionalHandler::buildPOI(), AdditionalHandler::buildPOIGeo(), AdditionalHandler::buildPOILane(), AdditionalHandler::buildPolygon(), AdditionalHandler::buildRerouter(), AdditionalHandler::buildRerouterInterval(), AdditionalHandler::buildRouteProbe(), AdditionalHandler::buildRouteProbReroute(), AdditionalHandler::buildSingleLaneDetectorE2(), AdditionalHandler::buildTAZ(), AdditionalHandler::buildTAZSink(), AdditionalHandler::buildTAZSource(), AdditionalHandler::buildTractionSubstation(), AdditionalHandler::buildTrainStop(), AdditionalHandler::buildVaporizer(), AdditionalHandler::buildVariableSpeedSign(), AdditionalHandler::buildVariableSpeedSignStep(), CommonXMLStructure::SumoBaseObject::getBoolAttribute(), CommonXMLStructure::SumoBaseObject::getColorAttribute(), CommonXMLStructure::SumoBaseObject::getDoubleAttribute(), CommonXMLStructure::SumoBaseObject::getIntAttribute(), CommonXMLStructure::SumoBaseObject::getParameters(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getPeriodAttribute(), CommonXMLStructure::SumoBaseObject::getPositionAttribute(), CommonXMLStructure::SumoBaseObject::getPositionVectorAttribute(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getStringListAttribute(), CommonXMLStructure::SumoBaseObject::getSumoBaseObjectChildren(), CommonXMLStructure::SumoBaseObject::getTag(), CommonXMLStructure::SumoBaseObject::getTimeAttribute(), CommonXMLStructure::SumoBaseObject::getVehicleParameter(), GNE_TAG_CALIBRATOR_LANE, GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, CommonXMLStructure::SumoBaseObject::hasDoubleAttribute(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), CommonXMLStructure::SumoBaseObject::markAsCreated(), AdditionalHandler::parseSumoBaseObject(), parseVehicleClasses(), SUMO_ATTR_ACCEPTED_BADGES, SUMO_ATTR_ALLOW, SUMO_ATTR_ANGLE, SUMO_ATTR_BEGIN, SUMO_ATTR_CENTER, SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGEINTRANSIT, SUMO_ATTR_CHARGETYPE, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_CURRENTLIMIT, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DETECT_PERSONS, SUMO_ATTR_DISALLOW, SUMO_ATTR_EDGE, SUMO_ATTR_EDGES, SUMO_ATTR_EFFICIENCY, SUMO_ATTR_END, SUMO_ATTR_ENDPOS, SUMO_ATTR_EXPECT_ARRIVAL, SUMO_ATTR_FILE, SUMO_ATTR_FILL, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_GEO, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_HEIGHT, SUMO_ATTR_ICON, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_LANE, SUMO_ATTR_LANES, SUMO_ATTR_LAT, SUMO_ATTR_LAYER, SUMO_ATTR_LEFTHAND, SUMO_ATTR_LENGTH, SUMO_ATTR_LINES, SUMO_ATTR_LINEWIDTH, SUMO_ATTR_LON, SUMO_ATTR_NAME, SUMO_ATTR_NEXT_EDGES, SUMO_ATTR_OFF, SUMO_ATTR_ONROAD, SUMO_ATTR_OPEN_ENTRY, SUMO_ATTR_OPTIONAL, SUMO_ATTR_OUTPUT, SUMO_ATTR_OVERHEAD_WIRE_FORBIDDEN, SUMO_ATTR_OVERHEAD_WIRECLAMP_END, SUMO_ATTR_OVERHEAD_WIRECLAMP_LANEEND, SUMO_ATTR_OVERHEAD_WIRECLAMP_LANESTART, SUMO_ATTR_OVERHEAD_WIRECLAMP_START, SUMO_ATTR_PARKING_AREA, SUMO_ATTR_PARKING_LENGTH, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_POSITION, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_PROB, SUMO_ATTR_ROADSIDE_CAPACITY, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_SHAPE, SUMO_ATTR_SHOW_DETECTOR, SUMO_ATTR_SLOPE, SUMO_ATTR_SPEED, SUMO_ATTR_STARTPOS, SUMO_ATTR_SUBSTATIONID, SUMO_ATTR_TIME, SUMO_ATTR_TLID, SUMO_ATTR_TYPE, SUMO_ATTR_VISIBLE, SUMO_ATTR_VOLTAGE, SUMO_ATTR_VTYPES, SUMO_ATTR_WAITINGTIME, SUMO_ATTR_WEIGHT, SUMO_ATTR_WIDTH, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, SUMO_TAG_ACCESS, SUMO_TAG_BUS_STOP, SUMO_TAG_CALIBRATOR, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, SUMO_TAG_E1DETECTOR, SUMO_TAG_E2DETECTOR, SUMO_TAG_E3DETECTOR, SUMO_TAG_ENTRY_EXIT_DETECTOR, SUMO_TAG_FLOW, SUMO_TAG_INDUCTION_LOOP, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_INTERVAL, SUMO_TAG_LANE_AREA_DETECTOR, SUMO_TAG_OVERHEAD_WIRE_CLAMP, SUMO_TAG_OVERHEAD_WIRE_SECTION, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_AREA_REROUTE, SUMO_TAG_PARKING_SPACE, SUMO_TAG_POI, SUMO_TAG_POLY, SUMO_TAG_REROUTER, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_ROUTEPROBE, SUMO_TAG_STEP, SUMO_TAG_TAZ, SUMO_TAG_TAZSINK, SUMO_TAG_TAZSOURCE, SUMO_TAG_TRACTION_SUBSTATION, SUMO_TAG_TRAIN_STOP, SUMO_TAG_VAPORIZER, and SUMO_TAG_VSS.
Referenced by GNEAdditionalFrame::addAdditional(), GNEWireFrame::buildWireOverView(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), AdditionalHandler::endParseAttributes(), GNEShapeFrame::GEOPOICreator::onCmdCreateGEOPOI(), GNEViewNet::onCmdTransformPOI(), GNEViewNet::onCmdTriangulatePolygon(), AdditionalHandler::parseSumoBaseObject(), GNEShapeFrame::processClickPOI(), GNEShapeFrame::processClickPOIGeo(), GNEShapeFrame::processClickPOILanes(), GNEShapeFrame::shapeDrawed(), and GNETAZFrame::shapeDrawed().
|
privateinherited |
parse TAZ attributes
Definition at line 1322 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addColorAttribute(), CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addPositionVectorAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), Position::INVALID, CommonHandler::myCommonXMLStructure, RGBColor::RED, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_CENTER, SUMO_ATTR_COLOR, SUMO_ATTR_EDGES, SUMO_ATTR_FILL, SUMO_ATTR_ID, SUMO_ATTR_NAME, SUMO_ATTR_SHAPE, SUMO_TAG_ERROR, and SUMO_TAG_TAZ.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse TAZ sink attributes
Definition at line 1375 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonHandler::checkParsedParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_WEIGHT, SUMO_TAG_ERROR, SUMO_TAG_TAZ, and SUMO_TAG_TAZSINK.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse TAZ source attributes
Definition at line 1353 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonHandler::checkParsedParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_WEIGHT, SUMO_TAG_ERROR, SUMO_TAG_TAZ, and SUMO_TAG_TAZSOURCE.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse traction substation
Definition at line 1787 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), Position::INVALID, CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_CURRENTLIMIT, SUMO_ATTR_ID, SUMO_ATTR_POSITION, SUMO_ATTR_VOLTAGE, SUMO_TAG_ERROR, and SUMO_TAG_TRACTION_SUBSTATION.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse trainStop attributes
Definition at line 847 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addColorAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addIntAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), INVALID_DOUBLE, RGBColor::INVISIBLE, CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_COLOR, SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_LINES, SUMO_ATTR_NAME, SUMO_ATTR_PARKING_LENGTH, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_STARTPOS, SUMO_TAG_ERROR, and SUMO_TAG_TRAIN_STOP.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse vaporizer attributes
Definition at line 1762 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getSUMOTimeReporting(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_BEGIN, SUMO_ATTR_EDGE, SUMO_ATTR_END, SUMO_ATTR_ID, SUMO_ATTR_NAME, SUMO_TAG_ERROR, and SUMO_TAG_VAPORIZER.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse variable speed sign attributes
Definition at line 1397 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_NAME, SUMO_ATTR_POSITION, SUMO_ATTR_VTYPES, SUMO_TAG_ERROR, and SUMO_TAG_VSS.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse variable speed sign step attributes
Definition at line 1424 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), CommonHandler::checkParsedParent(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getSUMOTimeReporting(), CommonHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_SPEED, SUMO_ATTR_TIME, SUMO_TAG_ERROR, SUMO_TAG_STEP, and SUMO_TAG_VSS.
Referenced by AdditionalHandler::beginParseAttributes().
|
virtual |
run post parser tasks
Implements AdditionalHandler.
Definition at line 82 of file GNEAdditionalHandler.cpp.
Referenced by GNEGeneralHandler::postParserTasks().
|
protected |
get element by ID
Definition at line 2036 of file GNEAdditionalHandler.cpp.
References GNENet::getAttributeCarriers(), myNet, and GNENetHelper::AttributeCarriers::retrieveAdditional().
Referenced by buildBusStop(), buildChargingStation(), buildContainerStop(), buildDetectorE1Instant(), buildDetectorE3(), buildE1Detector(), buildEdgeCalibrator(), buildJpsObstacle(), buildJpsWalkableArea(), buildLaneCalibrator(), buildMultiLaneDetectorE2(), buildOverheadWire(), buildParkingArea(), buildPOI(), buildPOIGeo(), buildPOILane(), buildPolygon(), buildRerouter(), buildRouteProbe(), buildSingleLaneDetectorE2(), buildTAZ(), buildTractionSubstation(), buildTrainStop(), buildVaporizer(), and buildVariableSpeedSign().
|
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(), buildAccess(), buildChargingStation(), GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildContainerStop(), GNEDataHandler::buildEdgeRelationData(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), buildMultiLaneDetectorE2(), buildOverheadWire(), buildParkingArea(), buildParkingSpace(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), buildPOIGeo(), buildRerouterInterval(), GNERouteHandler::buildRide(), buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), buildTAZ(), GNEDataHandler::buildTAZRelationData(), GNERouteHandler::buildTranship(), GNERouteHandler::buildTransport(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), buildVaporizer(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::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(), GNERouteHandler::checkViaAttribute(), GNERouteHandler::getDistributionElements(), DataHandler::myStartElement(), GNEMeanDataHandler::parseAttributes(), AdditionalHandler::parseCalibratorAttributes(), AdditionalHandler::parseCalibratorFlowAttributes(), AdditionalHandler::parseChargingStationAttributes(), AdditionalHandler::parseE2Attributes(), parseEdges(), GNERouteHandler::parseEdges(), GNEMeanDataHandler::parseEdges(), RouteHandler::parseFlow(), 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 GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildRoute(), and GNERouteHandler::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 buildAccess(), buildBusStop(), buildCalibratorFlow(), buildChargingStation(), buildClosingLaneReroute(), buildClosingReroute(), GNERouteHandler::buildContainerStop(), buildContainerStop(), buildDestProbReroute(), buildDetectorE1Instant(), buildDetectorEntry(), buildDetectorExit(), buildE1Detector(), buildEdgeCalibrator(), GNEDataHandler::buildEdgeData(), GNEDataHandler::buildEdgeRelationData(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), buildLaneCalibrator(), buildOverheadWire(), buildParkingArea(), buildParkingAreaReroute(), buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), buildPOILane(), buildRerouterInterval(), GNERouteHandler::buildRide(), buildRouteProbe(), buildRouteProbReroute(), GNERouteHandler::buildRouteRef(), buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEDataHandler::buildTAZRelationData(), buildTAZSink(), buildTAZSource(), buildTrainStop(), GNERouteHandler::buildTranship(), GNERouteHandler::buildTransport(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), buildVaporizer(), buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVTypeRef(), GNERouteHandler::buildWalk(), GNERouteHandler::parseEdge(), GNERouteHandler::parseJunction(), and GNERouteHandler::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 buildAccess(), buildBusStop(), buildChargingStation(), buildContainerStop(), buildDetectorE1Instant(), buildDetectorEntry(), buildDetectorExit(), buildE1Detector(), buildEdgeCalibrator(), buildLaneCalibrator(), buildMultiLaneDetectorE2(), buildOverheadWire(), buildParkingArea(), buildPOILane(), buildSingleLaneDetectorE2(), and 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(), checkElement(), and GNERouteHandler::checkElement().
|
protectedinherited |
write warning overwritting element
Definition at line 326 of file CommonHandler.cpp.
References TLF, toString(), and WRITE_WARNING.
Referenced by checkElement(), and GNERouteHandler::checkElement().
|
private |
allow undo/redo
Definition at line 711 of file GNEAdditionalHandler.h.
Referenced by buildAccess(), buildBusStop(), buildCalibratorFlow(), buildChargingStation(), buildClosingLaneReroute(), buildClosingReroute(), buildContainerStop(), buildDestProbReroute(), buildDetectorE1Instant(), buildDetectorE3(), buildDetectorEntry(), buildDetectorExit(), buildE1Detector(), buildEdgeCalibrator(), buildJpsObstacle(), buildJpsWalkableArea(), buildLaneCalibrator(), buildMultiLaneDetectorE2(), buildOverheadWire(), buildParkingArea(), buildParkingAreaReroute(), buildParkingSpace(), buildPOI(), buildPOIGeo(), buildPOILane(), buildPolygon(), buildRerouter(), buildRerouterInterval(), buildRouteProbe(), buildRouteProbReroute(), buildSingleLaneDetectorE2(), buildTAZ(), buildTAZSink(), buildTAZSource(), buildTractionSubstation(), buildTrainStop(), buildVaporizer(), buildVariableSpeedSign(), buildVariableSpeedSignStep(), and checkElement().
|
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 buildBusStop(), buildChargingStation(), GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), buildContainerStop(), GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), buildDetectorE1Instant(), buildDetectorE3(), buildE1Detector(), buildEdgeCalibrator(), GNEMeanDataHandler::buildEdgeMeanData(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), buildJpsObstacle(), buildJpsWalkableArea(), buildLaneCalibrator(), GNEMeanDataHandler::buildLaneMeanData(), buildMultiLaneDetectorE2(), buildOverheadWire(), buildParkingArea(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), buildPOI(), buildPOIGeo(), buildPOILane(), buildPolygon(), buildRerouter(), GNERouteHandler::buildRoute(), GNERouteHandler::buildRouteDistribution(), buildRouteProbe(), buildSingleLaneDetectorE2(), buildTAZ(), buildTractionSubstation(), buildTrainStop(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), buildVaporizer(), buildVariableSpeedSign(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVType(), GNERouteHandler::buildVTypeDistribution(), and RouteHandler::parseVType().
|
private |
pointer to GNENet
Definition at line 708 of file GNEAdditionalHandler.h.
Referenced by buildAccess(), buildBusStop(), buildCalibratorFlow(), buildChargingStation(), buildClosingLaneReroute(), buildClosingReroute(), buildContainerStop(), buildDestProbReroute(), buildDetectorE1Instant(), buildDetectorE3(), buildDetectorEntry(), buildDetectorExit(), buildE1Detector(), buildEdgeCalibrator(), buildJpsObstacle(), buildJpsWalkableArea(), buildLaneCalibrator(), buildMultiLaneDetectorE2(), buildOverheadWire(), buildParkingArea(), buildParkingAreaReroute(), buildParkingSpace(), buildPOI(), buildPOIGeo(), buildPOILane(), buildPolygon(), buildRerouter(), buildRerouterInterval(), buildRouteProbe(), buildRouteProbReroute(), buildSingleLaneDetectorE2(), buildTAZ(), buildTAZSink(), buildTAZSource(), buildTractionSubstation(), buildTrainStop(), buildVaporizer(), buildVariableSpeedSign(), buildVariableSpeedSignStep(), checkElement(), getAdditionalParent(), getRerouterIntervalParent(), parseEdges(), parseLanes(), and retrieveAdditionalElement().
|
private |
check if overwrite
Definition at line 714 of file GNEAdditionalHandler.h.
Referenced by checkElement().