Eclipse SUMO - Simulation of Urban MObility
|
#include <AdditionalHandler.h>
Public Member Functions | |
AdditionalHandler () | |
Constructor. | |
bool | beginParseAttributes (SumoXMLTag tag, const SUMOSAXAttributes &attrs) |
begin parse attributes | |
void | endParseAttributes () |
end parse attributes | |
bool | isErrorCreatingElement () const |
get flag for check if a element wasn't created | |
void | parseSumoBaseObject (CommonXMLStructure::SumoBaseObject *obj) |
parse SumoBaseObject (it's called recursivelly) | |
virtual | ~AdditionalHandler () |
Destructor. | |
build functions | |
virtual void | 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)=0 |
Builds a bus stop. | |
virtual void | 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)=0 |
Builds a train stop. | |
virtual void | buildAccess (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &laneID, const std::string &pos, const double length, const bool friendlyPos, const Parameterised::Map ¶meters)=0 |
Builds an Access. | |
virtual void | 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)=0 |
Builds a container stop. | |
virtual void | 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)=0 |
Builds a charging Station. | |
virtual void | 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 > &lines, 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)=0 |
Builds a Parking Area. | |
virtual void | 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)=0 |
Builds a Parking Space. | |
virtual void | 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)=0 |
Builds a induction loop detector (E1) | |
virtual void | 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)=0 |
Builds a single-lane Area Detector (E2) | |
virtual void | 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)=0 |
Builds a multi-lane Area Detector (E2) | |
virtual void | 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)=0 |
Builds a multi entry exit detector (E3) | |
virtual void | buildDetectorEntry (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &laneID, const double pos, const bool friendlyPos, const Parameterised::Map ¶meters)=0 |
Builds a entry detector (E3) | |
virtual void | buildDetectorExit (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &laneID, const double pos, const bool friendlyPos, const Parameterised::Map ¶meters)=0 |
Builds a exit detector (E3) | |
virtual void | 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)=0 |
Builds a Instant Induction Loop Detector (E1Instant) | |
virtual void | 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)=0 |
builds a microscopic calibrator over a lane | |
virtual void | 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)=0 |
builds a microscopic calibrator over an edge | |
virtual void | buildCalibratorFlow (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameter)=0 |
builds a calibrator flow | |
virtual void | 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)=0 |
builds a rerouter | |
virtual void | buildRerouterInterval (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOTime begin, const SUMOTime end)=0 |
builds a rerouter interval | |
virtual void | buildClosingLaneReroute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &closedLane, SVCPermissions permissions)=0 |
builds a closing lane reroute | |
virtual void | buildClosingReroute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &closedEdgeID, SVCPermissions permissions)=0 |
builds a closing edge reroute | |
virtual void | buildDestProbReroute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &newEdgeDestinationID, const double probability)=0 |
builds a dest prob reroute | |
virtual void | buildParkingAreaReroute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &newParkignAreaID, const double probability, const bool visible)=0 |
builds a parking area reroute | |
virtual void | buildRouteProbReroute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &newRouteID, const double probability)=0 |
builds a route prob reroute | |
virtual void | 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)=0 |
builds a Route probe | |
virtual void | 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)=0 |
Builds a VariableSpeedSign (lane speed additional) | |
virtual void | buildVariableSpeedSignStep (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOTime time, const std::string &speed)=0 |
Builds a VariableSpeedSign Step. | |
virtual void | buildVaporizer (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &edgeID, const SUMOTime from, const SUMOTime endTime, const std::string &name, const Parameterised::Map ¶meters)=0 |
Builds a vaporizer (lane speed additional) | |
virtual void | 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)=0 |
Builds a TAZ (Traffic Assignment Zone) | |
virtual void | buildTAZSource (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &edgeID, const double departWeight)=0 |
Builds a TAZSource (Traffic Assignment Zone) | |
virtual void | buildTAZSink (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &edgeID, const double arrivalWeight)=0 |
Builds a TAZSink (Traffic Assignment Zone) | |
virtual void | buildTractionSubstation (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const Position &pos, const double voltage, const double currentLimit, const Parameterised::Map ¶meters)=0 |
build traction substation | |
virtual void | 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)=0 |
build overhead wire | |
virtual void | 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)=0 |
build overhead wire clamp | |
virtual void | 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 bool relativePath, const PositionVector &shape, const bool geo, const bool fill, const double lineWidth, const std::string &name, const Parameterised::Map ¶meters)=0 |
Builds a polygon using the given values. | |
virtual void | 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, bool relativePath, const double width, const double height, const std::string &name, const Parameterised::Map ¶meters)=0 |
Builds a POI using the given values. | |
virtual void | 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 friendlyPosition, const double posLat, const std::string &icon, const double layer, const double angle, const std::string &imgFile, const bool relativePath, const double width, const double height, const std::string &name, const Parameterised::Map ¶meters)=0 |
Builds a POI over lane using the given values. | |
virtual void | 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, bool relativePath, const double width, const double height, const std::string &name, const Parameterised::Map ¶meters)=0 |
Builds a POI in GEO coordinaten using the given values. | |
virtual void | buildJpsWalkableArea (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const PositionVector &shape, bool geo, const std::string &name, const Parameterised::Map ¶meters)=0 |
Builds a JuPedSim walkable area using the given values. | |
virtual void | buildJpsObstacle (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const PositionVector &shape, bool geo, const std::string &name, const Parameterised::Map ¶meters)=0 |
Builds a JuPedSim obstacle using the given values. | |
Protected Member Functions | |
void | writeError (const std::string &error) |
write error and enable error creating element | |
Private Member Functions | |
AdditionalHandler (const AdditionalHandler &s)=delete | |
invalidate copy constructor | |
bool | checkDetectPersons (const SumoXMLTag currentTag, const std::string &id, const std::string &detectPersons) |
check detect persons | |
void | checkParent (const SumoXMLTag currentTag, const std::vector< SumoXMLTag > &parentTags, bool &ok) |
check parents | |
AdditionalHandler & | operator= (const AdditionalHandler &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 | |
void | parseParameters (const SUMOSAXAttributes &attrs) |
parse generic parameters | |
Private Attributes | |
CommonXMLStructure | myCommonXMLStructure |
common XML Structure | |
bool | myErrorCreatingElement = false |
flag for check if a element wasn't created | |
Definition at line 30 of file AdditionalHandler.h.
AdditionalHandler::AdditionalHandler | ( | ) |
Constructor.
Definition at line 37 of file AdditionalHandler.cpp.
|
virtual |
Destructor.
Definition at line 40 of file AdditionalHandler.cpp.
|
privatedelete |
invalidate copy constructor
bool AdditionalHandler::beginParseAttributes | ( | SumoXMLTag | tag, |
const SUMOSAXAttributes & | attrs | ||
) |
begin parse attributes
Definition at line 44 of file AdditionalHandler.cpp.
References CommonXMLStructure::abortSUMOBaseOBject(), GNE_TAG_CALIBRATOR_LANE, GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, myCommonXMLStructure, CommonXMLStructure::openSUMOBaseOBject(), parseAccessAttributes(), parseBusStopAttributes(), parseCalibratorAttributes(), parseCalibratorFlowAttributes(), parseChargingStationAttributes(), parseClosingLaneRerouteAttributes(), parseClosingRerouteAttributes(), parseContainerStopAttributes(), parseDestProbRerouteAttributes(), parseE1Attributes(), parseE1InstantAttributes(), parseE2Attributes(), parseE3Attributes(), parseEntryAttributes(), parseExitAttributes(), parseJpsObstacleAttributes(), parseJpsWalkableAreaAttributes(), parseOverheadWire(), parseOverheadWireClamp(), parseParameters(), parseParkingAreaAttributes(), parseParkingAreaRerouteAttributes(), parseParkingSpaceAttributes(), parsePOIAttributes(), parsePolyAttributes(), parseRerouterAttributes(), parseRerouterIntervalAttributes(), parseRouteProbeAttributes(), parseRouteProbRerouteAttributes(), parseTAZAttributes(), parseTAZSinkAttributes(), parseTAZSourceAttributes(), parseTractionSubstation(), parseTrainStopAttributes(), parseVaporizerAttributes(), parseVariableSpeedSignAttributes(), 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 writeError().
Referenced by GNEGeneralHandler::beginTag().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
builds a calibrator flow
[in] | sumoBaseObject | sumo base object used for build |
[in] | vehicleParameter | calibratorFlow parameter |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
builds a dest prob reroute
[in] | sumoBaseObject | sumo base object used for build |
[in] | newEdgeDestinationID | new edge destination ID |
[in] | probability | rerouting probability |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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] | centerAfterCreation | center camera after creation |
[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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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] | 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
builds a parking area reroute
[in] | sumoBaseObject | sumo base object used for build |
[in] | newParkignAreaID | new parkingArea ID |
[in] | probability | rerouting probability |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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] | relativePath | set image file as relative path |
[in] | width | The width of the POI image |
[in] | height | The height of the POI image |
[in] | name | POI name |
[in] | parameters | generic parameters |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 longitud |
[in] | lat | POI's latitud |
[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] | relativePath | set image file as relative path |
[in] | width | The width of the POI image |
[in] | height | The height of the POI image |
[in] | name | POI name |
[in] | parameters | generic parameters |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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] | relativePath | set image file as relative path |
[in] | width | The width of the POI image |
[in] | height | The height of the POI image |
[in] | name | POI name |
[in] | parameters | generic parameters |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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] | relativePath | set image file as relative path |
[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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 reoutes vehicles with |
[in] | name | Calibrator name |
[in] | parameters | generic parameters |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
builds a rerouter interval
[in] | sumoBaseObject | sumo base object used for build |
[in] | begin | begin of interval |
[in] | end | end of interval |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
builds a route prob reroute
[in] | sumoBaseObject | sumo base object used for build |
[in] | newRouteID | new route ID |
[in] | probability | rerouting probability |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure 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 |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
pure virtual |
Builds a VariableSpeedSign Step.
[in] | sumoBaseObject | sumo base object used for build |
[in] | time | step's time |
[in] | speed | new step's speed |
Implemented in GNEAdditionalHandler.
Referenced by parseSumoBaseObject().
|
private |
check detect persons
Definition at line 1943 of file AdditionalHandler.cpp.
References StringBijection< T >::hasString(), SUMOXMLDefinitions::PersonModeValues, SUMO_ATTR_DETECT_PERSONS, TLF, toString(), and writeError().
Referenced by parseE1Attributes(), parseE1InstantAttributes(), parseE2Attributes(), and parseE3Attributes().
|
private |
check parents
Definition at line 1925 of file AdditionalHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTag(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), myCommonXMLStructure, SUMO_ATTR_ID, TLF, toString(), and writeError().
Referenced by parseAccessAttributes(), parseClosingLaneRerouteAttributes(), parseClosingRerouteAttributes(), parseDestProbRerouteAttributes(), parseEntryAttributes(), parseExitAttributes(), parseParkingAreaRerouteAttributes(), parseParkingSpaceAttributes(), parseRerouterIntervalAttributes(), parseRouteProbRerouteAttributes(), parseTAZSinkAttributes(), parseTAZSourceAttributes(), and parseVariableSpeedSignStepAttributes().
void AdditionalHandler::endParseAttributes | ( | ) |
end parse attributes
Definition at line 191 of file AdditionalHandler.cpp.
References CommonXMLStructure::closeSUMOBaseOBject(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getTag(), GNE_TAG_CALIBRATOR_LANE, GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, myCommonXMLStructure, 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().
bool AdditionalHandler::isErrorCreatingElement | ( | ) | const |
get flag for check if a element wasn't created
Definition at line 728 of file AdditionalHandler.cpp.
References myErrorCreatingElement.
Referenced by GNEGeneralHandler::isErrorCreatingElement().
|
privatedelete |
invalidate assignment operator
|
private |
parse access attributes
Definition at line 811 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LANE, SUMO_ATTR_LENGTH, SUMO_ATTR_POSITION, SUMO_TAG_ACCESS, SUMO_TAG_BUS_STOP, and SUMO_TAG_TRAIN_STOP.
Referenced by beginParseAttributes().
|
private |
Definition at line 741 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, 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, and SUMO_TAG_BUS_STOP.
Referenced by beginParseAttributes().
|
private |
parse calibrator attributes
Definition at line 1340 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(), 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, TL, and writeError().
Referenced by beginParseAttributes().
|
private |
parse calibrator flow attributes
Definition at line 1385 of file AdditionalHandler.cpp.
References SUMOVehicleParameter::calibratorSpeed, SUMOVehicleParameter::depart, SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), SUMOSAXAttributes::getSUMOTimeReporting(), CommonXMLStructure::SumoBaseObject::getTag(), SUMOSAXAttributes::hasAttribute(), 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_FLOW, SUMO_TAG_ROOTFILE, TIME2STEPS, TL, VEHPARS_CALIBRATORSPEED_SET, VEHPARS_VPH_SET, and writeError().
Referenced by beginParseAttributes().
|
private |
parse chargingStation attributes
Definition at line 871 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), INVALID_DOUBLE, myCommonXMLStructure, 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, TIME2STEPS, TLF, and writeError().
Referenced by beginParseAttributes().
|
private |
parse closing lane reroute attributes
Definition at line 1477 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_ID, SUMO_TAG_CLOSING_LANE_REROUTE, and SUMO_TAG_INTERVAL.
Referenced by beginParseAttributes().
|
private |
parse closing reroute attributes
Definition at line 1500 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_ID, SUMO_TAG_CLOSING_REROUTE, and SUMO_TAG_INTERVAL.
Referenced by beginParseAttributes().
|
private |
parse containerStop attributes
Definition at line 836 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, 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, and SUMO_TAG_CONTAINER_STOP.
Referenced by beginParseAttributes().
|
private |
parse dest prob reroute attributes
Definition at line 1523 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_INTERVAL, TLF, toString(), and writeError().
Referenced by beginParseAttributes().
|
private |
parse E1 attributes
Definition at line 997 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), checkDetectPersons(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptPeriod(), 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, and SUMOTime_MAX_PERIOD.
Referenced by beginParseAttributes().
|
private |
parse E1 instant attributes
Definition at line 1192 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), checkDetectPersons(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), 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, and SUMO_TAG_INSTANT_INDUCTION_LOOP.
Referenced by beginParseAttributes().
|
private |
parse E2 attributes
Definition at line 1032 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), checkDetectPersons(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptPeriod(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::hasAttribute(), 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, SUMOTime_MAX_PERIOD, TIME2STEPS, TL, and writeError().
Referenced by beginParseAttributes().
|
private |
parse E3 attributes
Definition at line 1107 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), checkDetectPersons(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptPeriod(), SUMOSAXAttributes::getOptSUMOTimeReporting(), 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, SUMOTime_MAX_PERIOD, and TIME2STEPS.
Referenced by beginParseAttributes().
|
private |
parse entry attributes
Definition at line 1146 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LANE, SUMO_ATTR_POSITION, SUMO_TAG_DET_ENTRY, and SUMO_TAG_E3DETECTOR.
Referenced by beginParseAttributes().
|
private |
parse exist attributes
Definition at line 1169 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LANE, SUMO_ATTR_POSITION, SUMO_TAG_DET_EXIT, and SUMO_TAG_E3DETECTOR.
Referenced by beginParseAttributes().
|
private |
parse juPedSim obstacle attributes
Definition at line 1870 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addPositionVectorAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), GNE_TAG_JPS_OBSTACLE, myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_NAME, and SUMO_ATTR_SHAPE.
Referenced by beginParseAttributes().
|
private |
parse juPedSim walkable area attributes
Definition at line 1849 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addPositionVectorAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), GNE_TAG_JPS_WALKABLEAREA, myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_NAME, and SUMO_ATTR_SHAPE.
Referenced by beginParseAttributes().
|
private |
parse overhead wire segment
Definition at line 1673 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, 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, and SUMO_TAG_OVERHEAD_WIRE_SECTION.
Referenced by beginParseAttributes().
|
private |
parse overhead wire clamp
Definition at line 1702 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), 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, and SUMO_TAG_OVERHEAD_WIRE_CLAMP.
Referenced by beginParseAttributes().
|
private |
parse generic parameters
Definition at line 1891 of file AdditionalHandler.cpp.
References SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), SUMOSAXAttributes::getString(), SUMOSAXAttributes::hasAttribute(), SUMOXMLDefinitions::isValidParameterKey(), myCommonXMLStructure, SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, SUMO_TAG_ROOTFILE, TL, toString(), WRITE_DEBUG, WRITE_WARNINGF, and writeError().
Referenced by beginParseAttributes().
|
private |
parse parking area attributes
Definition at line 920 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, 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, and SUMO_TAG_PARKING_AREA.
Referenced by beginParseAttributes().
|
private |
parse parking area reroute attributes
Definition at line 1547 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_ATTR_VISIBLE, SUMO_TAG_INTERVAL, SUMO_TAG_PARKING_AREA_REROUTE, TLF, toString(), and writeError().
Referenced by beginParseAttributes().
|
private |
parse parking space attributes
Definition at line 964 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), 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_PARKING_AREA, and SUMO_TAG_PARKING_SPACE.
Referenced by beginParseAttributes().
|
private |
parse POI attributes
Definition at line 1767 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_RELATIVEPATH, Shape::DEFAULT_TYPE, SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), StringBijection< T >::getString(), SUMOSAXAttributes::hasAttribute(), 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_RELATIVEPATH, SUMO_ATTR_TYPE, SUMO_ATTR_WIDTH, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_TAG_POI, TL, TLF, WRITE_WARNING, and writeError().
Referenced by beginParseAttributes().
|
private |
Definition at line 1728 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_RELATIVEPATH, Shape::DEFAULT_TYPE, SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), 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_RELATIVEPATH, SUMO_ATTR_SHAPE, SUMO_ATTR_TYPE, and SUMO_TAG_POLY.
Referenced by beginParseAttributes().
|
private |
parse rerouter attributes
Definition at line 1424 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), Position::INVALID, 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, and SUMO_TAG_REROUTER.
Referenced by beginParseAttributes().
|
private |
parse rerouter interval attributes
Definition at line 1457 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addTimeAttribute(), checkParent(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getSUMOTimeReporting(), myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_TAG_INTERVAL, and SUMO_TAG_REROUTER.
Referenced by beginParseAttributes().
|
private |
parse route probe attributes
Definition at line 1598 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptPeriod(), SUMOSAXAttributes::getOptSUMOTimeReporting(), 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_ROUTEPROBE, and SUMOTime_MAX_PERIOD.
Referenced by beginParseAttributes().
|
private |
parse route prob reroute attributes
Definition at line 1574 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_TAG_INTERVAL, SUMO_TAG_ROUTE_PROB_REROUTE, TLF, toString(), and writeError().
Referenced by beginParseAttributes().
void AdditionalHandler::parseSumoBaseObject | ( | CommonXMLStructure::SumoBaseObject * | obj | ) |
parse SumoBaseObject (it's called recursivelly)
Definition at line 249 of file AdditionalHandler.cpp.
References buildAccess(), buildBusStop(), buildCalibratorFlow(), buildChargingStation(), buildClosingLaneReroute(), buildClosingReroute(), buildContainerStop(), buildDestProbReroute(), buildDetectorE1Instant(), buildDetectorE3(), buildDetectorEntry(), buildDetectorExit(), buildE1Detector(), buildEdgeCalibrator(), buildJpsObstacle(), buildJpsWalkableArea(), buildLaneCalibrator(), buildMultiLaneDetectorE2(), buildOverheadWire(), buildOverheadWireClamp(), buildParkingArea(), buildParkingAreaReroute(), buildParkingSpace(), buildPOI(), buildPOIGeo(), buildPOILane(), buildPolygon(), buildRerouter(), buildRerouterInterval(), buildRouteProbe(), buildRouteProbReroute(), buildSingleLaneDetectorE2(), buildTAZ(), buildTAZSink(), buildTAZSource(), buildTractionSubstation(), buildTrainStop(), buildVaporizer(), buildVariableSpeedSign(), 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(), 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_RELATIVEPATH, 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 GNEShapeFrame::addShape(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEWireFrame::buildWireOverView(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), endParseAttributes(), GNEViewNet::onCmdTransformPOI(), parseSumoBaseObject(), and GNETAZFrame::shapeDrawed().
|
private |
parse TAZ attributes
Definition at line 1225 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, 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, and SUMO_TAG_TAZ.
Referenced by beginParseAttributes().
|
private |
parse TAZ sink attributes
Definition at line 1274 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_WEIGHT, SUMO_TAG_TAZ, and SUMO_TAG_TAZSINK.
Referenced by beginParseAttributes().
|
private |
parse TAZ source attributes
Definition at line 1254 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_WEIGHT, SUMO_TAG_TAZ, and SUMO_TAG_TAZSOURCE.
Referenced by beginParseAttributes().
|
private |
parse traction substation
Definition at line 1650 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), Position::INVALID, myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_CURRENTLIMIT, SUMO_ATTR_ID, SUMO_ATTR_POSITION, SUMO_ATTR_VOLTAGE, and SUMO_TAG_TRACTION_SUBSTATION.
Referenced by beginParseAttributes().
|
private |
parse trainStop attributes
Definition at line 776 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, 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, and SUMO_TAG_TRAIN_STOP.
Referenced by beginParseAttributes().
|
private |
parse vaporizer attributes
Definition at line 1627 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getSUMOTimeReporting(), myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_ATTR_ID, SUMO_ATTR_NAME, and SUMO_TAG_VAPORIZER.
Referenced by beginParseAttributes().
|
private |
parse variable speed sign attributes
Definition at line 1294 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_NAME, SUMO_ATTR_POSITION, SUMO_ATTR_VTYPES, and SUMO_TAG_VSS.
Referenced by beginParseAttributes().
|
private |
parse variable speed sign step attributes
Definition at line 1319 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), checkParent(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getSUMOTimeReporting(), myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_SPEED, SUMO_ATTR_TIME, SUMO_TAG_STEP, and SUMO_TAG_VSS.
Referenced by beginParseAttributes().
|
protected |
write error and enable error creating element
Definition at line 734 of file AdditionalHandler.cpp.
References myErrorCreatingElement, and WRITE_ERROR.
Referenced by beginParseAttributes(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildVaporizer(), checkDetectPersons(), checkParent(), parseCalibratorAttributes(), parseCalibratorFlowAttributes(), parseChargingStationAttributes(), parseDestProbRerouteAttributes(), parseE2Attributes(), GNEAdditionalHandler::parseEdges(), GNEAdditionalHandler::parseLanes(), parseParameters(), parseParkingAreaRerouteAttributes(), parsePOIAttributes(), parseRouteProbRerouteAttributes(), GNEAdditionalHandler::writeErrorDuplicated(), GNEAdditionalHandler::writeErrorInvalidFilename(), GNEAdditionalHandler::writeErrorInvalidLanes(), GNEAdditionalHandler::writeErrorInvalidNegativeValue(), GNEAdditionalHandler::writeErrorInvalidParent(), GNEAdditionalHandler::writeErrorInvalidPosition(), GNEAdditionalHandler::writeErrorInvalidVTypes(), and GNEAdditionalHandler::writeInvalidID().
|
private |
common XML Structure
Definition at line 635 of file AdditionalHandler.h.
Referenced by beginParseAttributes(), checkParent(), endParseAttributes(), parseAccessAttributes(), parseBusStopAttributes(), parseCalibratorAttributes(), parseCalibratorFlowAttributes(), parseChargingStationAttributes(), parseClosingLaneRerouteAttributes(), parseClosingRerouteAttributes(), parseContainerStopAttributes(), parseDestProbRerouteAttributes(), parseE1Attributes(), parseE1InstantAttributes(), parseE2Attributes(), parseE3Attributes(), parseEntryAttributes(), parseExitAttributes(), parseJpsObstacleAttributes(), parseJpsWalkableAreaAttributes(), parseOverheadWire(), parseOverheadWireClamp(), parseParameters(), parseParkingAreaAttributes(), parseParkingAreaRerouteAttributes(), parseParkingSpaceAttributes(), parsePOIAttributes(), parsePolyAttributes(), parseRerouterAttributes(), parseRerouterIntervalAttributes(), parseRouteProbeAttributes(), parseRouteProbRerouteAttributes(), parseTAZAttributes(), parseTAZSinkAttributes(), parseTAZSourceAttributes(), parseTractionSubstation(), parseTrainStopAttributes(), parseVaporizerAttributes(), parseVariableSpeedSignAttributes(), and parseVariableSpeedSignStepAttributes().
|
private |
flag for check if a element wasn't created
Definition at line 638 of file AdditionalHandler.h.
Referenced by isErrorCreatingElement(), and writeError().