![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Builds additional objects for GNENet (busStops, chargingStations, detectors, etc..) More...
#include <GNEAdditionalHandler.h>
Data Structures | |
struct | NeteditParameters |
struct for Netedit parameters More... | |
Public Member Functions | |
bool | beginParseAttributes (SumoXMLTag tag, const SUMOSAXAttributes &attrs) |
begin parse attributes More... | |
void | endParseAttributes () |
end parse attributes More... | |
GNEAdditionalHandler (GNENet *net, const bool allowUndoRedo) | |
Constructor. More... | |
void | parseSumoBaseObject (CommonXMLStructure::SumoBaseObject *obj) |
parse SumoBaseObject (it's called recursivelly) More... | |
~GNEAdditionalHandler () | |
Destructor. More... | |
build functions | |
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 std::map< std::string, std::string > ¶meters) |
Builds a bus stop. More... | |
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 std::map< std::string, std::string > ¶meters) |
Builds a train stop. More... | |
void | buildAccess (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &laneID, const double pos, const double length, const bool friendlyPos, const std::map< std::string, std::string > ¶meters) |
Builds an Access. More... | |
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 std::map< std::string, std::string > ¶meters) |
Builds a container stop. More... | |
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 bool friendlyPosition, const std::map< std::string, std::string > ¶meters) |
Builds a charging Station. More... | |
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 bool friendlyPosition, const int roadSideCapacity, const bool onRoad, const double width, const double length, const double angle, const std::map< std::string, std::string > ¶meters) |
Builds a Parking Area. More... | |
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 std::map< std::string, std::string > ¶meters) |
Builds a Parking Space. More... | |
void | buildE1Detector (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &laneID, const double position, const SUMOTime frequency, const std::string &file, const std::vector< std::string > &vehicleTypes, const std::string &name, const bool friendlyPos, const std::map< std::string, std::string > ¶meters) |
Builds a induction loop detector (E1) More... | |
void | buildSingleLaneDetectorE2 (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &laneID, const double pos, const double length, const SUMOTime freq, const std::string &trafficLight, const std::string &filename, const std::vector< std::string > &vehicleTypes, const std::string &name, const SUMOTime timeThreshold, const double speedThreshold, const double jamThreshold, const bool friendlyPos, const std::map< std::string, std::string > ¶meters) |
Builds a single-lane Area Detector (E2) More... | |
void | buildMultiLaneDetectorE2 (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::vector< std::string > &lanes, const double pos, const double endPos, const SUMOTime freq, const std::string &trafficLight, const std::string &filename, const std::vector< std::string > &vehicleTypes, const std::string &name, const SUMOTime timeThreshold, const double speedThreshold, const double jamThreshold, const bool friendlyPos, const std::map< std::string, std::string > ¶meters) |
Builds a multi-lane Area Detector (E2) More... | |
void | buildDetectorE3 (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const Position &pos, const SUMOTime freq, const std::string &filename, const std::vector< std::string > &vehicleTypes, const std::string &name, const SUMOTime timeThreshold, const double speedThreshold, const std::map< std::string, std::string > ¶meters) |
Builds a multi entry exit detector (E3) More... | |
void | buildDetectorEntry (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &laneID, const double pos, const bool friendlyPos, const std::map< std::string, std::string > ¶meters) |
Builds a entry detector (E3) More... | |
void | buildDetectorExit (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &laneID, const double pos, const bool friendlyPos, const std::map< std::string, std::string > ¶meters) |
Builds a exit detector (E3) More... | |
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::string &name, const bool friendlyPos, const std::map< std::string, std::string > ¶meters) |
Builds a Instant Induction Loop Detector (E1Instant) More... | |
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 freq, const std::string &routeprobe, const double jamThreshold, const std::vector< std::string > &vTypes, const std::map< std::string, std::string > ¶meters) |
builds a microscopic calibrator over a lane More... | |
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 freq, const std::string &routeprobe, const double jamThreshold, const std::vector< std::string > &vTypes, const std::map< std::string, std::string > ¶meters) |
builds a microscopic calibrator over an edge More... | |
void | buildCalibratorFlow (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOVehicleParameter &vehicleParameter) |
builds a calibrator flow More... | |
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 std::string &file, const bool off, const SUMOTime timeThreshold, const std::vector< std::string > &vTypes, const std::map< std::string, std::string > ¶meters) |
builds a rerouter More... | |
void | buildRerouterInterval (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOTime begin, const SUMOTime end) |
builds a rerouter interval More... | |
void | buildClosingLaneReroute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &closedLane, SVCPermissions permissions) |
builds a closing lane reroute More... | |
void | buildClosingReroute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &closedEdgeID, SVCPermissions permissions) |
builds a closing edge reroute More... | |
void | buildDestProbReroute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &newEdgeDestinationID, const double probability) |
builds a dest prob reroute More... | |
void | buildParkingAreaReroute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &newParkignAreaID, const double probability, const bool visible) |
builds a parking area reroute More... | |
void | buildRouteProbReroute (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &newRouteID, const double probability) |
builds a route prob reroute More... | |
void | buildRouteProbe (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &edgeID, const SUMOTime freq, const std::string &name, const std::string &file, const SUMOTime begin, const std::map< std::string, std::string > ¶meters) |
builds a Route probe More... | |
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 std::map< std::string, std::string > ¶meters) |
Builds a VariableSpeedSign (lane speed additional) More... | |
void | buildVariableSpeedSignStep (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const SUMOTime time, const std::string &speed) |
Builds a VariableSpeedSign Step. More... | |
void | buildVaporizer (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &edgeID, const SUMOTime from, const SUMOTime endTime, const std::string &name, const std::map< std::string, std::string > ¶meters) |
Builds a vaporizer (lane speed additional) More... | |
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 std::map< std::string, std::string > ¶meters) |
Builds a TAZ (Traffic Assignment Zone) More... | |
void | buildTAZSource (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &edgeID, const double departWeight) |
Builds a TAZSource (Traffic Assignment Zone) More... | |
void | buildTAZSink (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &edgeID, const double arrivalWeight) |
Builds a TAZSink (Traffic Assignment Zone) More... | |
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 std::map< std::string, std::string > ¶meters) |
Builds a polygon using the given values. More... | |
void | buildPOI (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &type, const RGBColor &color, const double x, const double y, const double layer, const double angle, const std::string &imgFile, bool relativePath, const double width, const double height, const std::string &name, const std::map< std::string, std::string > ¶meters) |
Builds a POI using the given values. More... | |
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 friendlyPos, const double posLat, const double layer, const double angle, const std::string &imgFile, const bool relativePath, const double width, const double height, const std::string &name, const std::map< std::string, std::string > ¶meters) |
Builds a POI over lane using the given values. More... | |
void | buildPOIGeo (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, const std::string &id, const std::string &type, const RGBColor &color, const double lon, const double lat, const double layer, const double angle, const std::string &imgFile, bool relativePath, const double width, const double height, const std::string &name, const std::map< std::string, std::string > ¶meters) |
Builds a POI in GEO coordinaten using the given values. More... | |
Static Public Member Functions | |
static bool | accessCanBeCreated (GNEAdditional *busStopParent, GNEEdge *edge) |
check if a GNEAccess can be created in a certain Edge More... | |
static bool | checkDoublePositionOverLane (double from, const double to, const double laneLength, const bool friendlyPos) |
check if the given positions over a lane is valid More... | |
static bool | checkE2MultiLanePosition (double pos, const double fromLaneLength, const double to, const double TolaneLength, const bool friendlyPos) |
check if the given positions over a lane is valid More... | |
static bool | checkE2SingleLanePosition (double pos, const double length, const double laneLength, const bool friendlyPos) |
check if the given positions over a lane is valid More... | |
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 More... | |
static bool | checkSinglePositionOverLane (double pos, const double laneLength, const bool friendlyPos) |
check if the given position over a lane is valid More... | |
static void | fixDoublePositionOverLane (double &from, double &to, const double laneLengt) |
fix the given positions over lane More... | |
static void | fixE2MultiLanePosition (double &pos, const double fromLaneLength, double &to, const double TolaneLength) |
fix the given positions over lane More... | |
static void | fixE2SingleLanePosition (double &pos, double &length, const double laneLength) |
fix the given positions over lane More... | |
static void | fixSinglePositionOverLane (double &pos, const double laneLength) |
fix given position over lane More... | |
Protected Member Functions | |
bool | checkListOfVehicleTypes (const std::vector< std::string > &vTypeIDs) const |
check list of IDs More... | |
GNEAdditional * | getAdditionalParent (const CommonXMLStructure::SumoBaseObject *sumoBaseObject, SumoXMLTag tag) const |
get additional parent More... | |
GNEAdditional * | getRerouterIntervalParent (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const |
get rerouter interval parent More... | |
GNETAZElement * | getTAZParent (const CommonXMLStructure::SumoBaseObject *sumoBaseObject) const |
get TAZ parent More... | |
std::vector< GNEEdge * > | parseEdges (const SumoXMLTag tag, const std::vector< std::string > &edgeIDs) const |
parse edges More... | |
std::vector< GNELane * > | parseLanes (const SumoXMLTag tag, const std::vector< std::string > &laneIDs) const |
parse lanes More... | |
void | writeErrorDuplicated (const SumoXMLTag tag, const std::string &id) const |
write error "duplicated additional" More... | |
void | writeErrorInvalidFilename (const SumoXMLTag tag, const std::string &id) const |
write error "invalid filename" More... | |
void | writeErrorInvalidNegativeValue (const SumoXMLTag tag, const std::string &id, const SumoXMLAttr attribute) const |
write error "invalid negative element" More... | |
void | writeErrorInvalidParent (const SumoXMLTag tag, const SumoXMLTag parent) const |
write error "invalid parent element" More... | |
void | writeErrorInvalidPosition (const SumoXMLTag tag, const std::string &id) const |
write error "invalid position" More... | |
void | writeErrorInvalidVTypes (const SumoXMLTag tag, const std::string &id) const |
write error "invalid list of vehicle types" More... | |
void | writeInvalidID (const SumoXMLTag tag, const std::string &id) const |
write invalid id More... | |
Protected Attributes | |
const bool | myAllowUndoRedo |
allow undo/redo More... | |
GNENet * | myNet |
pointer to GNENet More... | |
Private Member Functions | |
void | checkParent (const SumoXMLTag currentTag, const std::vector< SumoXMLTag > &parentTags, bool &ok) const |
check parents More... | |
GNEAdditionalHandler () | |
invalidate default constructo More... | |
GNEAdditionalHandler (const GNEAdditionalHandler &s)=delete | |
invalidate copy constructor More... | |
GNEAdditionalHandler & | operator= (const GNEAdditionalHandler &s)=delete |
invalidate assignment operator More... | |
parse additional attributes | |
parse busStop attributes | |
void | parseBusStopAttributes (const SUMOSAXAttributes &attrs) |
void | parseTrainStopAttributes (const SUMOSAXAttributes &attrs) |
parse trainStop attributes More... | |
void | parseAccessAttributes (const SUMOSAXAttributes &attrs) |
parse access attributes More... | |
void | parseContainerStopAttributes (const SUMOSAXAttributes &attrs) |
parse containerStop attributes More... | |
void | parseChargingStationAttributes (const SUMOSAXAttributes &attrs) |
parse chargingStation attributes More... | |
void | parseParkingAreaAttributes (const SUMOSAXAttributes &attrs) |
parse parking area attributes More... | |
void | parseParkingSpaceAttributes (const SUMOSAXAttributes &attrs) |
parse parking space attributes More... | |
void | parseE1Attributes (const SUMOSAXAttributes &attrs) |
parse E1 attributes More... | |
void | parseE2Attributes (const SUMOSAXAttributes &attrs) |
parse E2 attributes More... | |
void | parseE3Attributes (const SUMOSAXAttributes &attrs) |
parse E3 attributes More... | |
void | parseEntryAttributes (const SUMOSAXAttributes &attrs) |
parse entry attributes More... | |
void | parseExitAttributes (const SUMOSAXAttributes &attrs) |
parse exist attributes More... | |
void | parseE1InstantAttributes (const SUMOSAXAttributes &attrs) |
parse E1 instant attributes More... | |
void | parseTAZAttributes (const SUMOSAXAttributes &attrs) |
parse TAZ attributes More... | |
void | parseTAZSourceAttributes (const SUMOSAXAttributes &attrs) |
parse TAZ source attributes More... | |
void | parseTAZSinkAttributes (const SUMOSAXAttributes &attrs) |
parse TAZ sink attributes More... | |
void | parseVariableSpeedSignAttributes (const SUMOSAXAttributes &attrs) |
parse variable speed sign attributes More... | |
void | parseVariableSpeedSignStepAttributes (const SUMOSAXAttributes &attrs) |
parse variable speed sign step attributes More... | |
void | parseCalibratorAttributes (const SUMOSAXAttributes &attrs) |
parse calibrator attributes More... | |
void | parseCalibratorFlowAttributes (const SUMOSAXAttributes &attrs) |
parse calibrator flow attributes More... | |
void | parseRerouterAttributes (const SUMOSAXAttributes &attrs) |
parse rerouter attributes More... | |
void | parseRerouterIntervalAttributes (const SUMOSAXAttributes &attrs) |
parse rerouter interval attributes More... | |
void | parseClosingLaneRerouteAttributes (const SUMOSAXAttributes &attrs) |
parse closing lane reroute attributes More... | |
void | parseClosingRerouteAttributes (const SUMOSAXAttributes &attrs) |
parse closing reroute attributes More... | |
void | parseDestProbRerouteAttributes (const SUMOSAXAttributes &attrs) |
parse dest prob reroute attributes More... | |
void | parseParkingAreaRerouteAttributes (const SUMOSAXAttributes &attrs) |
parse parking area reroute attributes More... | |
void | parseRouteProbRerouteAttributes (const SUMOSAXAttributes &attrs) |
parse route prob reroute attributes More... | |
void | parseRouteProbeAttributes (const SUMOSAXAttributes &attrs) |
parse route probe attributes More... | |
void | parseVaporizerAttributes (const SUMOSAXAttributes &attrs) |
parse vaporizer attributes More... | |
void | parsePolyAttributes (const SUMOSAXAttributes &attrs) |
void | parsePOIAttributes (const SUMOSAXAttributes &attrs) |
parse POI attributes More... | |
void | parseParameters (const SUMOSAXAttributes &attrs) |
parse generic parameters More... | |
Private Attributes | |
CommonXMLStructure | myCommonXMLStructure |
common XML Structure More... | |
Builds additional objects for GNENet (busStops, chargingStations, detectors, etc..)
Definition at line 42 of file GNEAdditionalHandler.h.
GNEAdditionalHandler::GNEAdditionalHandler | ( | GNENet * | net, |
const bool | allowUndoRedo | ||
) |
Constructor.
Definition at line 70 of file GNEAdditionalHandler.cpp.
GNEAdditionalHandler::~GNEAdditionalHandler | ( | ) |
Destructor.
Definition at line 76 of file GNEAdditionalHandler.cpp.
|
private |
invalidate default constructo
Definition at line 1951 of file GNEAdditionalHandler.cpp.
|
privatedelete |
invalidate copy constructor
|
static |
check if a GNEAccess can be created in a certain Edge
Definition at line 1619 of file GNEAdditionalHandler.cpp.
References GNEHierarchicalElement::getChildAdditionals(), GNEEdge::getLanes(), and SUMO_ATTR_LANE.
Referenced by buildAccess(), and GNEAccess::isValid().
|
inherited |
begin parse attributes
Definition at line 42 of file AdditionalHandler.cpp.
References AdditionalHandler::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::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::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_LANECALIBRATOR, 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_TRAIN_STOP, SUMO_TAG_VAPORIZER, SUMO_TAG_VSS, and WRITE_ERROR.
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 167 of file GNEAdditionalHandler.cpp.
References ACCESS, accessCanBeCreated(), GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNELane::allowPedestrians(), GNEUndoList::begin(), checkSinglePositionOverLane(), GNEUndoList::end(), getAdditionalParent(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEAdditional::getID(), GNENetworkElement::getID(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_LENGTH, SUMO_TAG_ACCESS, SUMO_TAG_BUS_STOP, SUMO_TAG_LANE, SUMO_TAG_TRAIN_STOP, toString(), WRITE_WARNING, writeErrorInvalidNegativeValue(), writeErrorInvalidParent(), and 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 81 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), BUSSTOP, checkDoublePositionOverLane(), GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidAdditionalID(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_PARKING_LENGTH, SUMO_ATTR_PERSON_CAPACITY, SUMO_TAG_BUS_STOP, SUMO_TAG_LANE, toString(), writeErrorDuplicated(), writeErrorInvalidNegativeValue(), writeErrorInvalidParent(), writeErrorInvalidPosition(), and writeInvalidID().
|
virtual |
builds a calibrator flow
[in] | sumoBaseObject | sumo base object used for build |
[in] | vehicleParameter | calibratorFlow parameter |
Implements AdditionalHandler.
Definition at line 807 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEUndoList::end(), FLOW, GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTag(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), 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, SUMOVehicleParameter::vtypeid, and 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] | friendlyPos | enable or disable friendly position |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 252 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), CHARGINGSTATION, checkDoublePositionOverLane(), GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidAdditionalID(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGINGPOWER, SUMO_TAG_CHARGING_STATION, SUMO_TAG_LANE, toString(), writeErrorDuplicated(), writeErrorInvalidNegativeValue(), writeErrorInvalidParent(), writeErrorInvalidPosition(), and writeInvalidID().
|
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 958 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), CLOSINGLANEREROUTE, GNEUndoList::end(), GNENet::getAttributeCarriers(), getRerouterIntervalParent(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_INTERVAL, SUMO_TAG_LANE, and 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 985 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), CLOSINGREROUTE, GNEUndoList::end(), GNENet::getAttributeCarriers(), getRerouterIntervalParent(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_EDGE, SUMO_TAG_INTERVAL, and 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 210 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkDoublePositionOverLane(), CONTAINERSTOP, GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidAdditionalID(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_PARKING_LENGTH, SUMO_ATTR_PERSON_CAPACITY, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_LANE, toString(), writeErrorDuplicated(), writeErrorInvalidNegativeValue(), writeErrorInvalidParent(), writeErrorInvalidPosition(), and writeInvalidID().
|
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 1011 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), DESTPROBREROUTE, GNEUndoList::end(), GNENet::getAttributeCarriers(), getRerouterIntervalParent(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_EDGE, SUMO_TAG_INTERVAL, and 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] | friendlyPos | enable or disable friendly position |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 660 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkSinglePositionOverLane(), E1INSTANT, GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidDetectorID(), SUMOXMLDefinitions::isValidFilename(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_TAG_INDUCTION_LOOP, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_LANE, toString(), writeErrorDuplicated(), writeErrorInvalidFilename(), writeErrorInvalidParent(), writeErrorInvalidPosition(), and writeInvalidID().
|
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] | freq | 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] | 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] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 555 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), E3, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidDetectorID(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidListOfTypeID(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), SUMO_ATTR_FREQUENCY, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_TAG_E3DETECTOR, toString(), writeErrorDuplicated(), writeErrorInvalidFilename(), writeErrorInvalidNegativeValue(), writeErrorInvalidVTypes(), and writeInvalidID().
|
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 592 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkSinglePositionOverLane(), E3, E3ENTRY, GNEUndoList::end(), getAdditionalParent(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_TAG_DET_ENTRY, SUMO_TAG_E3DETECTOR, SUMO_TAG_ENTRY, SUMO_TAG_LANE, toString(), writeErrorInvalidParent(), and 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 626 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkSinglePositionOverLane(), E3, E3EXIT, GNEUndoList::end(), getAdditionalParent(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_TAG_DET_EXIT, SUMO_TAG_E3DETECTOR, SUMO_TAG_ENTRY, SUMO_TAG_LANE, toString(), writeErrorInvalidParent(), and 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] | freq | 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] | name | E1 detector name |
[in] | friendlyPos | enable or disable friendly position |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 390 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkSinglePositionOverLane(), E1, GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidDetectorID(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidListOfTypeID(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_FREQUENCY, SUMO_TAG_E1DETECTOR, SUMO_TAG_LANE, toString(), writeErrorDuplicated(), writeErrorInvalidFilename(), writeErrorInvalidNegativeValue(), writeErrorInvalidParent(), writeErrorInvalidPosition(), writeErrorInvalidVTypes(), and writeInvalidID().
|
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 753 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), CALIBRATOR, GNEAdditionalHandler::NeteditParameters::centerAfterCreation, GUISUMOAbstractView::centerTo(), checkSinglePositionOverLane(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEEdge::getLanes(), GNEAdditional::getPositionInView(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidAdditionalID(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_ATTR_FREQUENCY, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_TAG_CALIBRATOR, SUMO_TAG_EDGE, SUMO_TAG_LANECALIBRATOR, SUMO_TAG_ROUTEPROBE, toString(), writeErrorDuplicated(), writeErrorInvalidNegativeValue(), writeErrorInvalidParent(), writeErrorInvalidPosition(), and writeInvalidID().
|
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 698 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), CALIBRATOR, GNEAdditionalHandler::NeteditParameters::centerAfterCreation, GUISUMOAbstractView::centerTo(), checkSinglePositionOverLane(), GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEAdditional::getPositionInView(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidAdditionalID(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_FREQUENCY, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_TAG_CALIBRATOR, SUMO_TAG_LANE, SUMO_TAG_LANECALIBRATOR, SUMO_TAG_ROUTEPROBE, toString(), writeErrorDuplicated(), writeErrorInvalidNegativeValue(), writeErrorInvalidParent(), writeErrorInvalidPosition(), and writeInvalidID().
|
virtual |
Builds a multi-lane Area Detector (E2)
[in] | sumoBaseObject | sumo base object used for build |
[in] | id | The id of the detector |
[in] | lanes | 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] | freq | 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] | 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] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 497 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), checkE2MultiLanePosition(), E2, GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNE_TAG_E2DETECTOR_MULTILANE, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidDetectorID(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidListOfTypeID(), myAllowUndoRedo, myNet, parseLanes(), GNENetHelper::AttributeCarriers::retrieveAdditional(), SUMO_ATTR_FREQUENCY, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_TAG_E2DETECTOR, toString(), writeErrorDuplicated(), writeErrorInvalidFilename(), writeErrorInvalidNegativeValue(), writeErrorInvalidPosition(), writeErrorInvalidVTypes(), and writeInvalidID().
|
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] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 296 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkDoublePositionOverLane(), GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidAdditionalID(), myAllowUndoRedo, myNet, PARKINGAREA, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_DEPARTPOS, SUMO_ATTR_LENGTH, SUMO_ATTR_ROADSIDE_CAPACITY, SUMO_ATTR_WIDTH, SUMO_const_laneWidth, SUMO_TAG_LANE, SUMO_TAG_PARKING_AREA, toString(), WRITE_ERROR, writeErrorDuplicated(), writeErrorInvalidNegativeValue(), writeErrorInvalidParent(), writeErrorInvalidPosition(), and writeInvalidID().
|
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 1038 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getRerouterIntervalParent(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), myAllowUndoRedo, myNet, PARKINGZONEREROUTE, GNENetHelper::AttributeCarriers::retrieveAdditional(), SUMO_TAG_INTERVAL, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_AREA_REROUTE, and 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 344 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEUndoList::end(), getAdditionalParent(), GNENet::getAttributeCarriers(), GNEAdditional::getID(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), myAllowUndoRedo, myNet, PARKINGSPACE, SUMO_ATTR_ANGLE, SUMO_ATTR_LENGTH, SUMO_ATTR_WIDTH, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_SPACE, toString(), GNEAdditional::updateGeometry(), WRITE_ERROR, writeErrorInvalidNegativeValue(), and 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] | 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 |
Implements AdditionalHandler.
Definition at line 1505 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNENetHelper::AttributeCarriers::insertShape(), SUMOXMLDefinitions::isValidAdditionalID(), SUMOXMLDefinitions::isValidFilename(), myAllowUndoRedo, myNet, POI, GNENetHelper::AttributeCarriers::retrieveShape(), SUMO_ATTR_HEIGHT, SUMO_ATTR_WIDTH, SUMO_TAG_POI, writeErrorDuplicated(), writeErrorInvalidFilename(), writeErrorInvalidNegativeValue(), and writeInvalidID().
|
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] | 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 |
Implements AdditionalHandler.
Definition at line 1583 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GeoConvHelper::getFinal(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNENetHelper::AttributeCarriers::insertShape(), SUMOXMLDefinitions::isValidAdditionalID(), SUMOXMLDefinitions::isValidFilename(), myAllowUndoRedo, myNet, POIGEO, GNENetHelper::AttributeCarriers::retrieveShape(), SUMO_ATTR_HEIGHT, SUMO_ATTR_WIDTH, SUMO_TAG_POI, toString(), WRITE_ERROR, writeErrorDuplicated(), writeErrorInvalidFilename(), writeErrorInvalidNegativeValue(), and writeInvalidID().
|
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] | 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 |
Implements AdditionalHandler.
Definition at line 1539 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkSinglePositionOverLane(), GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertShape(), SUMOXMLDefinitions::isValidAdditionalID(), SUMOXMLDefinitions::isValidFilename(), myAllowUndoRedo, myNet, POILANE, GNENetHelper::AttributeCarriers::retrieveLane(), GNENetHelper::AttributeCarriers::retrieveShape(), SUMO_ATTR_HEIGHT, SUMO_ATTR_WIDTH, SUMO_TAG_LANE, SUMO_TAG_POI, writeErrorDuplicated(), writeErrorInvalidFilename(), writeErrorInvalidNegativeValue(), writeErrorInvalidParent(), writeErrorInvalidPosition(), and writeInvalidID().
|
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 |
Implements AdditionalHandler.
Definition at line 1473 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertShape(), SUMOXMLDefinitions::isValidAdditionalID(), myAllowUndoRedo, myNet, POLY, GNENetHelper::AttributeCarriers::retrieveShape(), GNENetHelper::AttributeCarriers::retrieveTAZElement(), SUMO_ATTR_LINEWIDTH, SUMO_TAG_POLY, SUMO_TAG_TAZ, toString(), writeErrorDuplicated(), writeErrorInvalidNegativeValue(), and writeInvalidID().
|
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] | file | The file to read the reroute definitions from |
[in] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 840 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), Position::INVALID, SUMOXMLDefinitions::isValidAdditionalID(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidListOfTypeID(), PositionVector::length2D(), PositionVector::move2side(), myAllowUndoRedo, myNet, parseEdges(), PositionVector::positionAtOffset2D(), REROUTER, GNENetHelper::AttributeCarriers::retrieveAdditional(), SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_PROB, SUMO_TAG_REROUTER, toString(), writeErrorDuplicated(), writeErrorInvalidFilename(), writeErrorInvalidNegativeValue(), writeErrorInvalidVTypes(), and writeInvalidID().
|
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 924 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkOverlappingRerouterIntervals(), GNEUndoList::end(), getAdditionalParent(), GNEAdditional::getID(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), myAllowUndoRedo, myNet, REROUTERINTERVAL, SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_TAG_INTERVAL, SUMO_TAG_REROUTER, toString(), WRITE_ERROR, writeErrorInvalidNegativeValue(), and 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] | freq | 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] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 1092 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEAdditionalHandler::NeteditParameters::centerAfterCreation, GUISUMOAbstractView::centerTo(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEAdditional::getPositionInView(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidAdditionalID(), SUMOXMLDefinitions::isValidFilename(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveEdge(), ROUTEPROBE, SUMO_ATTR_BEGIN, SUMO_ATTR_FREQUENCY, SUMO_TAG_EDGE, SUMO_TAG_ROUTEPROBE, toString(), writeErrorDuplicated(), writeErrorInvalidFilename(), writeErrorInvalidNegativeValue(), writeErrorInvalidParent(), and writeInvalidID().
|
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 1065 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), getRerouterIntervalParent(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveDemandElement(), ROUTEPROBREROUTE, SUMO_TAG_INTERVAL, SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_PROB_REROUTE, and 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] | freq | 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] | 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] | parameters | generic parameters |
Implements AdditionalHandler.
Definition at line 433 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkE2SingleLanePosition(), E2, GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNE_TAG_E2DETECTOR_MULTILANE, GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidDetectorID(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidListOfTypeID(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_FREQUENCY, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_LENGTH, SUMO_TAG_E2DETECTOR, SUMO_TAG_LANE, toString(), writeErrorDuplicated(), writeErrorInvalidFilename(), writeErrorInvalidNegativeValue(), writeErrorInvalidParent(), writeErrorInvalidPosition(), writeErrorInvalidVTypes(), and writeInvalidID().
|
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 1258 of file GNEAdditionalHandler.cpp.
References Boundary::add(), GNEUndoList::add(), GNEUndoList::begin(), GNENet::disableUpdateGeometry(), GNENet::enableUpdateGeometry(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNENetworkElement::getCenteringBoundary(), Boundary::getShape(), CommonXMLStructure::SumoBaseObject::getSumoBaseObjectChildren(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertTAZElement(), SUMOXMLDefinitions::isValidAdditionalID(), myAllowUndoRedo, myNet, parseEdges(), GNENetHelper::AttributeCarriers::retrieveEdge(), GNENetHelper::AttributeCarriers::retrieveShape(), GNENetHelper::AttributeCarriers::retrieveTAZElement(), SUMO_ATTR_ID, SUMO_TAG_POLY, SUMO_TAG_TAZ, SUMO_TAG_TAZSINK, SUMO_TAG_TAZSOURCE, TAZ, toString(), WRITE_ERROR, writeErrorDuplicated(), and writeInvalidID().
|
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 1404 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNENetworkElement::getID(), getTAZParent(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertTAZElement(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveEdge(), GNETAZElement::setAttribute(), SUMO_ATTR_EDGE, SUMO_ATTR_WEIGHT, SUMO_TAG_EDGE, SUMO_TAG_SINK, SUMO_TAG_TAZ, SUMO_TAG_TAZSINK, SUMO_TAG_TAZSOURCE, TAZ, toString(), and 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 1334 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNENetworkElement::getID(), getTAZParent(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertTAZElement(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveEdge(), GNETAZElement::setAttribute(), SUMO_ATTR_EDGE, SUMO_ATTR_WEIGHT, SUMO_TAG_EDGE, SUMO_TAG_SOURCE, SUMO_TAG_TAZ, SUMO_TAG_TAZSINK, SUMO_TAG_TAZSOURCE, TAZ, toString(), and writeErrorInvalidParent().
|
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 124 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), checkDoublePositionOverLane(), GNEUndoList::end(), GNENet::getAttributeCarriers(), NBEdge::getFinalLength(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidAdditionalID(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_ATTR_PARKING_LENGTH, SUMO_ATTR_PERSON_CAPACITY, SUMO_TAG_LANE, SUMO_TAG_TRAIN_STOP, toString(), TRAINSTOP, writeErrorDuplicated(), writeErrorInvalidNegativeValue(), writeErrorInvalidParent(), writeErrorInvalidPosition(), and writeInvalidID().
|
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 1214 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEAdditionalHandler::NeteditParameters::centerAfterCreation, GUISUMOAbstractView::centerTo(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNENetworkElement::getID(), GNEAdditional::getPositionInView(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidAdditionalID(), myAllowUndoRedo, myNet, GNENetHelper::AttributeCarriers::retrieveAdditional(), GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_TAG_EDGE, SUMO_TAG_VAPORIZER, toString(), VAPORIZER, WRITE_ERROR, writeErrorDuplicated(), writeErrorInvalidNegativeValue(), writeErrorInvalidParent(), and writeInvalidID().
|
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 |
check conditions
Implements AdditionalHandler.
Definition at line 1136 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEUndoList::begin(), checkListOfVehicleTypes(), GNEUndoList::end(), GNENet::getAttributeCarriers(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), GNENetHelper::AttributeCarriers::insertAdditional(), SUMOXMLDefinitions::isValidAdditionalID(), myAllowUndoRedo, myNet, parseLanes(), GNENetHelper::AttributeCarriers::retrieveAdditional(), SUMO_TAG_VSS, toString(), VARIABLESPEEDSIGN, writeErrorDuplicated(), writeErrorInvalidVTypes(), and writeInvalidID().
|
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 1185 of file GNEAdditionalHandler.cpp.
References GNEUndoList::add(), GNEHierarchicalElement::addChildElement(), GNEUndoList::begin(), GNEUndoList::end(), getAdditionalParent(), GNEAdditional::getID(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEReferenceCounter::incRef(), myAllowUndoRedo, myNet, SUMO_ATTR_BEGIN, SUMO_TAG_STEP, SUMO_TAG_VSS, VSSSTEP, writeErrorInvalidNegativeValue(), and writeErrorInvalidParent().
|
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 1691 of file GNEAdditionalHandler.cpp.
References INVALID_DOUBLE.
Referenced by buildBusStop(), buildChargingStation(), buildContainerStop(), buildParkingArea(), buildTrainStop(), and GNEStoppingPlace::isAdditionalValid().
|
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 1801 of file GNEAdditionalHandler.cpp.
References checkSinglePositionOverLane().
Referenced by buildMultiLaneDetectorE2().
|
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 1760 of file GNEAdditionalHandler.cpp.
Referenced by buildSingleLaneDetectorE2().
|
protected |
check list of IDs
Definition at line 1860 of file GNEAdditionalHandler.cpp.
References SUMOXMLDefinitions::isValidTypeID().
Referenced by buildVariableSpeedSign().
|
static |
check if an overlapping is produced in rerouter if a interval with certain begin and end is inserted
Definition at line 1633 of file GNEAdditionalHandler.cpp.
References GNEHierarchicalElement::getChildAdditionals(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, and TIME2STEPS.
Referenced by buildRerouterInterval().
|
privateinherited |
check parents
Definition at line 1628 of file AdditionalHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getTag(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), AdditionalHandler::myCommonXMLStructure, SUMO_ATTR_ID, toString(), and WRITE_ERROR.
Referenced by AdditionalHandler::parseAccessAttributes(), AdditionalHandler::parseClosingLaneRerouteAttributes(), AdditionalHandler::parseClosingRerouteAttributes(), AdditionalHandler::parseDestProbRerouteAttributes(), AdditionalHandler::parseEntryAttributes(), AdditionalHandler::parseExitAttributes(), AdditionalHandler::parseParkingAreaRerouteAttributes(), AdditionalHandler::parseParkingSpaceAttributes(), AdditionalHandler::parseRerouterIntervalAttributes(), AdditionalHandler::parseRouteProbRerouteAttributes(), AdditionalHandler::parseTAZSinkAttributes(), AdditionalHandler::parseTAZSourceAttributes(), and AdditionalHandler::parseVariableSpeedSignStepAttributes().
|
static |
check if the given position over a lane is valid
[in] | pos | pos position of element over lane |
[in] | laneLength | Length of the lane |
[in] | friendlyPos | Attribute of element |
Definition at line 1660 of file GNEAdditionalHandler.cpp.
Referenced by buildAccess(), buildDetectorE1Instant(), buildDetectorEntry(), buildDetectorExit(), buildE1Detector(), buildEdgeCalibrator(), buildLaneCalibrator(), buildPOILane(), checkE2MultiLanePosition(), GNEDetectorE1::getAdditionalProblem(), GNEDetectorE1Instant::getAdditionalProblem(), and GNEDetectorEntryExit::getAdditionalProblem().
|
inherited |
end parse attributes
Definition at line 172 of file AdditionalHandler.cpp.
References CommonXMLStructure::closeSUMOBaseOBject(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getTag(), AdditionalHandler::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_LANECALIBRATOR, SUMO_TAG_PARKING_AREA, SUMO_TAG_POI, SUMO_TAG_POLY, SUMO_TAG_REROUTER, SUMO_TAG_ROUTEPROBE, SUMO_TAG_TAZ, 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 1722 of file GNEAdditionalHandler.cpp.
References INVALID_DOUBLE.
Referenced by GNEStoppingPlace::fixAdditionalProblem().
|
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 1811 of file GNEAdditionalHandler.cpp.
References fixSinglePositionOverLane().
Referenced by GNEDetectorE2::fixAdditionalProblem().
|
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 1780 of file GNEAdditionalHandler.cpp.
Referenced by GNEDetectorE2::fixAdditionalProblem().
|
static |
fix given position over lane
[in] | pos | pos position of element over lane |
[in] | laneLength | Length of the lane |
fix single position over lane
Definition at line 1677 of file GNEAdditionalHandler.cpp.
Referenced by GNEDetectorE1::fixAdditionalProblem(), GNEDetectorE1Instant::fixAdditionalProblem(), GNEDetectorEntryExit::fixAdditionalProblem(), fixE2MultiLanePosition(), and GNEDetector::getGeometryPositionOverLane().
|
protected |
get additional parent
Definition at line 1871 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(), and buildVariableSpeedSignStep().
|
protected |
get rerouter interval parent
Definition at line 1883 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().
|
protected |
get TAZ parent
Definition at line 1904 of file GNEAdditionalHandler.cpp.
References GNENet::getAttributeCarriers(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), myNet, GNENetHelper::AttributeCarriers::retrieveTAZElement(), SUMO_ATTR_ID, and SUMO_TAG_TAZ.
Referenced by buildTAZSink(), and buildTAZSource().
|
privatedelete |
invalidate assignment operator
|
privateinherited |
parse access attributes
Definition at line 700 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), AdditionalHandler::checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), AdditionalHandler::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 AdditionalHandler::beginParseAttributes().
|
privateinherited |
Definition at line 630 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, AdditionalHandler::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 AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse calibrator attributes
Definition at line 1186 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::getOptSUMOTimeReporting(), SUMOSAXAttributes::hasAttribute(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_EDGE, SUMO_ATTR_FREQUENCY, SUMO_ATTR_ID, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_LANE, SUMO_ATTR_NAME, SUMO_ATTR_OUTPUT, SUMO_ATTR_POSITION, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_VTYPES, SUMO_TAG_CALIBRATOR, SUMO_TAG_LANECALIBRATOR, and WRITE_ERROR.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse calibrator flow attributes
Definition at line 1231 of file AdditionalHandler.cpp.
References CommonXMLStructure::getCurrentSumoBaseObject(), OptionsCont::getOptions(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getTag(), SUMOSAXAttributes::hasAttribute(), AdditionalHandler::myCommonXMLStructure, SUMOVehicleParserHelper::parseFlowAttributes(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), string2time(), SUMO_ATTR_SPEED, SUMO_ATTR_TYPE, SUMO_ATTR_VEHSPERHOUR, SUMO_TAG_FLOW, SUMO_TAG_ROOTFILE, and WRITE_ERROR.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse chargingStation attributes
Definition at line 760 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, AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGEINTRANSIT, 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_STARTPOS, and SUMO_TAG_CHARGING_STATION.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse closing lane reroute attributes
Definition at line 1309 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), AdditionalHandler::checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_ID, SUMO_TAG_CLOSING_LANE_REROUTE, and SUMO_TAG_INTERVAL.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse closing reroute attributes
Definition at line 1332 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), AdditionalHandler::checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_ID, SUMO_TAG_CLOSING_REROUTE, and SUMO_TAG_INTERVAL.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse containerStop attributes
Definition at line 725 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, AdditionalHandler::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 AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse dest prob reroute attributes
Definition at line 1355 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), AdditionalHandler::checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_INTERVAL, toString(), and WRITE_ERROR.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse E1 attributes
Definition at line 869 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::getSUMOTimeReporting(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_FILE, SUMO_ATTR_FREQUENCY, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_NAME, SUMO_ATTR_POSITION, SUMO_ATTR_VTYPES, and SUMO_TAG_E1DETECTOR.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse E1 instant attributes
Definition at line 1042 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_FILE, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_NAME, SUMO_ATTR_POSITION, SUMO_ATTR_VTYPES, and SUMO_TAG_INSTANT_INDUCTION_LOOP.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse E2 attributes
Definition at line 900 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(), SUMOSAXAttributes::hasAttribute(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ENDPOS, SUMO_ATTR_FILE, SUMO_ATTR_FREQUENCY, 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_POSITION, SUMO_ATTR_TLID, SUMO_ATTR_VTYPES, SUMO_TAG_E2DETECTOR, TIME2STEPS, toString(), and WRITE_ERROR.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse E3 attributes
Definition at line 965 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::getSUMOTimeReporting(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_FILE, SUMO_ATTR_FREQUENCY, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_ID, SUMO_ATTR_NAME, SUMO_ATTR_POSITION, SUMO_ATTR_VTYPES, SUMO_TAG_E3DETECTOR, and TIME2STEPS.
Referenced by AdditionalHandler::beginParseAttributes().
|
protected |
parse edges
Definition at line 1916 of file GNEAdditionalHandler.cpp.
References GNENet::getAttributeCarriers(), myNet, GNENetHelper::AttributeCarriers::retrieveEdge(), SUMO_TAG_EDGE, toString(), and WRITE_ERROR.
Referenced by buildRerouter(), and buildTAZ().
|
privateinherited |
parse entry attributes
Definition at line 996 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), AdditionalHandler::checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LANE, SUMO_ATTR_POSITION, SUMO_TAG_DET_ENTRY, and SUMO_TAG_E3DETECTOR.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse exist attributes
Definition at line 1019 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), AdditionalHandler::checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LANE, SUMO_ATTR_POSITION, SUMO_TAG_DET_EXIT, and SUMO_TAG_E3DETECTOR.
Referenced by AdditionalHandler::beginParseAttributes().
|
protected |
parse lanes
Definition at line 1934 of file GNEAdditionalHandler.cpp.
References GNENet::getAttributeCarriers(), myNet, GNENetHelper::AttributeCarriers::retrieveLane(), SUMO_TAG_LANE, toString(), and WRITE_ERROR.
Referenced by buildMultiLaneDetectorE2(), and buildVariableSpeedSign().
|
privateinherited |
parse generic parameters
Definition at line 1594 of file AdditionalHandler.cpp.
References SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), CommonXMLStructure::SumoBaseObject::getParentSumoBaseObject(), SUMOSAXAttributes::getString(), SUMOSAXAttributes::hasAttribute(), SUMOXMLDefinitions::isValidParameterKey(), AdditionalHandler::myCommonXMLStructure, SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, SUMO_TAG_ROOTFILE, toString(), WRITE_DEBUG, WRITE_ERROR, and WRITE_WARNING.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse parking area attributes
Definition at line 797 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addIntAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), INVALID_DOUBLE, AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ANGLE, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_ID, SUMO_ATTR_LANE, 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 AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse parking area reroute attributes
Definition at line 1379 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addBoolAttribute(), CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), AdditionalHandler::checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_ATTR_VISIBLE, SUMO_TAG_INTERVAL, SUMO_TAG_PARKING_AREA_REROUTE, toString(), and WRITE_ERROR.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse parking space attributes
Definition at line 836 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), AdditionalHandler::checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), AdditionalHandler::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 AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse POI attributes
Definition at line 1519 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(), SUMOSAXAttributes::hasAttribute(), AdditionalHandler::myCommonXMLStructure, RGBColor::RED, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ANGLE, SUMO_ATTR_COLOR, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_HEIGHT, 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, and WRITE_ERROR.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
Definition at line 1480 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(), AdditionalHandler::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 AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse rerouter attributes
Definition at line 1256 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, AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_EDGES, SUMO_ATTR_FILE, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_ID, SUMO_ATTR_NAME, SUMO_ATTR_OFF, SUMO_ATTR_POSITION, SUMO_ATTR_PROB, SUMO_ATTR_VTYPES, and SUMO_TAG_REROUTER.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse rerouter interval attributes
Definition at line 1289 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addTimeAttribute(), AdditionalHandler::checkParent(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getSUMOTimeReporting(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_TAG_INTERVAL, and SUMO_TAG_REROUTER.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse route probe attributes
Definition at line 1430 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptSUMOTimeReporting(), SUMOSAXAttributes::getSUMOTimeReporting(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_BEGIN, SUMO_ATTR_EDGE, SUMO_ATTR_FILE, SUMO_ATTR_FREQUENCY, SUMO_ATTR_ID, SUMO_ATTR_NAME, and SUMO_TAG_ROUTEPROBE.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse route prob reroute attributes
Definition at line 1406 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), AdditionalHandler::checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_PROB, SUMO_TAG_INTERVAL, SUMO_TAG_ROUTE_PROB_REROUTE, toString(), and WRITE_ERROR.
Referenced by AdditionalHandler::beginParseAttributes().
|
inherited |
parse SumoBaseObject (it's called recursivelly)
Definition at line 221 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::buildLaneCalibrator(), AdditionalHandler::buildMultiLaneDetectorE2(), 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::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::getPositionAttribute(), CommonXMLStructure::SumoBaseObject::getPositionVectorAttribute(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getStringListAttribute(), CommonXMLStructure::SumoBaseObject::getSumoBaseObjectChildren(), CommonXMLStructure::SumoBaseObject::getTag(), CommonXMLStructure::SumoBaseObject::getTimeAttribute(), CommonXMLStructure::SumoBaseObject::getVehicleParameter(), CommonXMLStructure::SumoBaseObject::hasDoubleAttribute(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), parseVehicleClasses(), SUMO_ATTR_ALLOW, SUMO_ATTR_ANGLE, SUMO_ATTR_BEGIN, SUMO_ATTR_CENTER, SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGEINTRANSIT, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_COLOR, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DISALLOW, SUMO_ATTR_EDGE, SUMO_ATTR_EDGES, SUMO_ATTR_EFFICIENCY, SUMO_ATTR_END, SUMO_ATTR_ENDPOS, SUMO_ATTR_FILE, SUMO_ATTR_FILL, SUMO_ATTR_FREQUENCY, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_GEO, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_HEIGHT, 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_LENGTH, SUMO_ATTR_LINES, SUMO_ATTR_LINEWIDTH, SUMO_ATTR_LON, SUMO_ATTR_NAME, SUMO_ATTR_OFF, SUMO_ATTR_ONROAD, SUMO_ATTR_OUTPUT, 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_SLOPE, SUMO_ATTR_SPEED, SUMO_ATTR_STARTPOS, SUMO_ATTR_TIME, SUMO_ATTR_TLID, SUMO_ATTR_TYPE, SUMO_ATTR_VISIBLE, SUMO_ATTR_VTYPES, 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_LANECALIBRATOR, 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_TRAIN_STOP, SUMO_TAG_VAPORIZER, and SUMO_TAG_VSS.
Referenced by GNEPolygonFrame::addShape(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEAdditionalFrame::E2MultilaneLaneSelector::createPath(), AdditionalHandler::endParseAttributes(), GNEViewNet::onCmdTransformPOI(), GNETAZFrame::shapeDrawed(), and GNEAdditionalFrame::SelectorParentLanes::stopConsecutiveLaneSelector().
|
privateinherited |
parse TAZ attributes
Definition at line 1071 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(), AdditionalHandler::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 AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse TAZ sink attributes
Definition at line 1120 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), AdditionalHandler::checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_WEIGHT, SUMO_TAG_TAZ, and SUMO_TAG_TAZSINK.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse TAZ source attributes
Definition at line 1100 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addDoubleAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), AdditionalHandler::checkParent(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_ID, SUMO_ATTR_WEIGHT, SUMO_TAG_TAZ, and SUMO_TAG_TAZSOURCE.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse trainStop attributes
Definition at line 665 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, AdditionalHandler::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 AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse vaporizer attributes
Definition at line 1457 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getSUMOTimeReporting(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_ATTR_ID, SUMO_ATTR_NAME, and SUMO_TAG_VAPORIZER.
Referenced by AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse variable speed sign attributes
Definition at line 1140 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addPositionAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), SUMOSAXAttributes::get(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), AdditionalHandler::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 AdditionalHandler::beginParseAttributes().
|
privateinherited |
parse variable speed sign step attributes
Definition at line 1165 of file AdditionalHandler.cpp.
References CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), AdditionalHandler::checkParent(), CommonXMLStructure::getCurrentSumoBaseObject(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getSUMOTimeReporting(), AdditionalHandler::myCommonXMLStructure, CommonXMLStructure::SumoBaseObject::setTag(), SUMO_ATTR_SPEED, SUMO_ATTR_TIME, SUMO_TAG_STEP, and SUMO_TAG_VSS.
Referenced by AdditionalHandler::beginParseAttributes().
|
protected |
write error "duplicated additional"
Definition at line 1830 of file GNEAdditionalHandler.cpp.
References toString(), and WRITE_ERROR.
Referenced by buildBusStop(), buildChargingStation(), buildContainerStop(), buildDetectorE1Instant(), buildDetectorE3(), buildE1Detector(), buildEdgeCalibrator(), buildLaneCalibrator(), buildMultiLaneDetectorE2(), buildParkingArea(), buildPOI(), buildPOIGeo(), buildPOILane(), buildPolygon(), buildRerouter(), buildRouteProbe(), buildSingleLaneDetectorE2(), buildTAZ(), buildTrainStop(), buildVaporizer(), and buildVariableSpeedSign().
|
protected |
write error "invalid filename"
Definition at line 1854 of file GNEAdditionalHandler.cpp.
References toString(), and WRITE_ERROR.
Referenced by buildDetectorE1Instant(), buildDetectorE3(), buildE1Detector(), buildMultiLaneDetectorE2(), buildPOI(), buildPOIGeo(), buildPOILane(), buildRerouter(), buildRouteProbe(), and buildSingleLaneDetectorE2().
|
protected |
write error "invalid negative element"
Definition at line 1842 of file GNEAdditionalHandler.cpp.
References toString(), and WRITE_ERROR.
Referenced by buildAccess(), buildBusStop(), buildChargingStation(), buildContainerStop(), buildDetectorE3(), buildE1Detector(), buildEdgeCalibrator(), buildLaneCalibrator(), buildMultiLaneDetectorE2(), buildParkingArea(), buildParkingSpace(), buildPOI(), buildPOIGeo(), buildPOILane(), buildPolygon(), buildRerouter(), buildRerouterInterval(), buildRouteProbe(), buildSingleLaneDetectorE2(), buildTrainStop(), buildVaporizer(), and buildVariableSpeedSignStep().
|
protected |
write error "invalid parent element"
Definition at line 1836 of file GNEAdditionalHandler.cpp.
References toString(), and WRITE_ERROR.
Referenced by buildAccess(), buildBusStop(), buildCalibratorFlow(), buildChargingStation(), buildClosingLaneReroute(), buildClosingReroute(), buildContainerStop(), buildDestProbReroute(), buildDetectorE1Instant(), buildDetectorEntry(), buildDetectorExit(), buildE1Detector(), buildEdgeCalibrator(), buildLaneCalibrator(), buildParkingArea(), buildParkingAreaReroute(), buildParkingSpace(), buildPOILane(), buildRerouterInterval(), buildRouteProbe(), buildRouteProbReroute(), buildSingleLaneDetectorE2(), buildTAZSink(), buildTAZSource(), buildTrainStop(), buildVaporizer(), and buildVariableSpeedSignStep().
|
protected |
write error "invalid position"
Definition at line 1824 of file GNEAdditionalHandler.cpp.
References toString(), and WRITE_ERROR.
Referenced by buildAccess(), buildBusStop(), buildChargingStation(), buildContainerStop(), buildDetectorE1Instant(), buildDetectorEntry(), buildDetectorExit(), buildE1Detector(), buildEdgeCalibrator(), buildLaneCalibrator(), buildMultiLaneDetectorE2(), buildParkingArea(), buildPOILane(), buildSingleLaneDetectorE2(), and buildTrainStop().
|
protected |
write error "invalid list of vehicle types"
Definition at line 1848 of file GNEAdditionalHandler.cpp.
References toString(), and WRITE_ERROR.
Referenced by buildDetectorE3(), buildE1Detector(), buildMultiLaneDetectorE2(), buildRerouter(), buildSingleLaneDetectorE2(), and buildVariableSpeedSign().
|
protected |
write invalid id
Definition at line 1818 of file GNEAdditionalHandler.cpp.
References toString(), and WRITE_ERROR.
Referenced by buildBusStop(), buildChargingStation(), buildContainerStop(), buildDetectorE1Instant(), buildDetectorE3(), buildE1Detector(), buildEdgeCalibrator(), buildLaneCalibrator(), buildMultiLaneDetectorE2(), buildParkingArea(), buildPOI(), buildPOIGeo(), buildPOILane(), buildPolygon(), buildRerouter(), buildRouteProbe(), buildSingleLaneDetectorE2(), buildTAZ(), buildTrainStop(), buildVaporizer(), and buildVariableSpeedSign().
|
protected |
allow undo/redo
Definition at line 678 of file GNEAdditionalHandler.h.
Referenced by buildAccess(), buildBusStop(), buildCalibratorFlow(), buildChargingStation(), buildClosingLaneReroute(), buildClosingReroute(), buildContainerStop(), buildDestProbReroute(), buildDetectorE1Instant(), buildDetectorE3(), buildDetectorEntry(), buildDetectorExit(), buildE1Detector(), buildEdgeCalibrator(), buildLaneCalibrator(), buildMultiLaneDetectorE2(), buildParkingArea(), buildParkingAreaReroute(), buildParkingSpace(), buildPOI(), buildPOIGeo(), buildPOILane(), buildPolygon(), buildRerouter(), buildRerouterInterval(), buildRouteProbe(), buildRouteProbReroute(), buildSingleLaneDetectorE2(), buildTAZ(), buildTAZSink(), buildTAZSource(), buildTrainStop(), buildVaporizer(), buildVariableSpeedSign(), and buildVariableSpeedSignStep().
|
privateinherited |
common XML Structure
Definition at line 541 of file AdditionalHandler.h.
Referenced by AdditionalHandler::beginParseAttributes(), AdditionalHandler::checkParent(), AdditionalHandler::endParseAttributes(), 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::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::parseTrainStopAttributes(), AdditionalHandler::parseVaporizerAttributes(), AdditionalHandler::parseVariableSpeedSignAttributes(), and AdditionalHandler::parseVariableSpeedSignStepAttributes().
|
protected |
pointer to GNENet
Definition at line 675 of file GNEAdditionalHandler.h.
Referenced by buildAccess(), buildBusStop(), buildCalibratorFlow(), buildChargingStation(), buildClosingLaneReroute(), buildClosingReroute(), buildContainerStop(), buildDestProbReroute(), buildDetectorE1Instant(), buildDetectorE3(), buildDetectorEntry(), buildDetectorExit(), buildE1Detector(), buildEdgeCalibrator(), buildLaneCalibrator(), buildMultiLaneDetectorE2(), buildParkingArea(), buildParkingAreaReroute(), buildParkingSpace(), buildPOI(), buildPOIGeo(), buildPOILane(), buildPolygon(), buildRerouter(), buildRerouterInterval(), buildRouteProbe(), buildRouteProbReroute(), buildSingleLaneDetectorE2(), buildTAZ(), buildTAZSink(), buildTAZSource(), buildTrainStop(), buildVaporizer(), buildVariableSpeedSign(), buildVariableSpeedSignStep(), getAdditionalParent(), getRerouterIntervalParent(), getTAZParent(), parseEdges(), and parseLanes().