SUMO - Simulation of Urban MObility
GNEAdditionalHandler Class Reference

Builds trigger objects for GNENet (busStops, chargingStations, detectors, etc..) More...

#include <GNEAdditionalHandler.h>

Inheritance diagram for GNEAdditionalHandler:
Inheritance graph
Collaboration diagram for GNEAdditionalHandler:
Collaboration graph

Public Member Functions

void characters (const XMLCh *const chars, const XERCES3_SIZE_t length)
 The inherited method called when characters occured. More...
 
void endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
 The inherited method called when a tag is being closed. More...
 
const std::string & getFileName () const
 returns the current file name More...
 
 GNEAdditionalHandler (const std::string &file, GNEViewNet *viewNet, bool undoAdditionals=true)
 Constructor. More...
 
void registerParent (const int tag, GenericSAXHandler *handler)
 Assigning a parent handler which is enabled when the specified tag is closed. More...
 
void setFileName (const std::string &name)
 Sets the current file name. More...
 
void startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const XERCES_CPP_NAMESPACE::Attributes &attrs)
 The inherited method called when a new tag opens. More...
 
 ~GNEAdditionalHandler ()
 Destructor. More...
 
inherited from GenericSAXHandler
void myStartElement (int element, const SUMOSAXAttributes &attrs)
 Called on the opening of a tag;. More...
 
parsing methods

These methods parse the attributes for each of the described trigger and call the according methods to build the trigger

void parseAndBuildVaporizer (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Builds a vaporization. More...
 
void parseAndBuildVariableSpeedSign (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses his values and builds a Variable Speed Signal (lane speed trigger) More...
 
void parseAndBuildRerouter (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses his values and builds a rerouter. More...
 
void parseAndBuildBusStop (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses his values and builds a bus stop. More...
 
void parseAndBuildContainerStop (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses his values and builds a container stop. More...
 
void parseAndBuildChargingStation (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses his values and builds a charging station. More...
 
void parseAndBuildCalibrator (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses his values and builds a mesoscopic or microscopic calibrator. More...
 
void parseAndBuildDetectorE1 (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses his values and builds a induction loop detector (E1) More...
 
void parseAndBuildDetectorE2 (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses his values and builds a lane area detector (E2) More...
 
void parseAndBuildDetectorE3 (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses his values and builds a multi entry exit detector (E3) More...
 
void parseAndBuildDetectorEntry (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses his values and builds a Entry detector. More...
 
void parseAndBuildDetectorExit (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses his values and builds a Exit detector. More...
 
void parseAndBuildRouteProbe (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses his values and builds routeProbe. More...
 
void parseCalibratorRoute (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses route values of Calibrators. More...
 
void parseCalibratorVehicleType (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses vehicle type values of Calibrators. More...
 
void parseCalibratorFlow (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses flow values of Calibrators. More...
 
void parseVariableSpeedSignStep (const SUMOSAXAttributes &attrs, const SumoXMLTag &tag)
 Parses step values of VariableSpeedSigns. More...
 
SAX ErrorHandler callbacks
void warning (const XERCES_CPP_NAMESPACE::SAXParseException &exception)
 Handler for XML-warnings. More...
 
void error (const XERCES_CPP_NAMESPACE::SAXParseException &exception)
 Handler for XML-errors. More...
 
void fatalError (const XERCES_CPP_NAMESPACE::SAXParseException &exception)
 Handler for XML-errors. More...
 

Protected Member Functions

std::string buildErrorMessage (const XERCES_CPP_NAMESPACE::SAXParseException &exception)
 Builds an error message. More...
 
virtual void myCharacters (int element, const std::string &chars)
 Callback method for characters to implement by derived classes. More...
 
virtual void myEndElement (int element)
 Callback method for a closing tag to implement by derived classes. More...
 

building methods

Called with parsed values, these methods build the trigger.

GNEViewNet * myViewNet
 pointer to View's Net More...
 
bool myUndoAdditionals
 flag to check if created additionals must be undo and redo More...
 
GNEDetectorE3 * myE3Parent
 Pointer to the last inserted E3. More...
 
GNECalibrator * myCalibratorParent
 Pointer to the last inserted Calibrator. More...
 
GNEVariableSpeedSign * myVariableSpeedSignParent
 Pointer to the last inserted variableSpeedSign. More...
 
GNERerouterInterval * rerouterIntervalToInsertValues
 pointer to rerouterInterval in which insert GNEClosingReroute, GNEDestProbReroute, etc. More...
 
SumoXMLTag myLastTag
 last used Tag More...
 
std::vector< GNECalibratorVehicleType > myLoadingCalibratorVehicleTypes
 vector in wich save calibratorVehicleTypes during loading calibrators More...
 
std::string getFileName (const SUMOSAXAttributes &attrs, const std::string &base, const bool allowEmpty=false)
 Helper method to obtain the filename. More...
 
double getPosition (double pos, GNELane &lane, bool friendlyPos, const std::string &additionalID)
 extracts the position, checks whether it shall be mirrored and checks whether it is within the lane. More...
 
void resetLastTag ()
 reset last Tag and clear non-valid Additionals (For example, created E3 withouts Entry/Exit childs) More...
 
static bool buildAdditional (GNEViewNet *viewNet, bool allowUndoRedo, SumoXMLTag tag, std::map< SumoXMLAttr, std::string > values)
 Build additionals. More...
 
static bool buildBusStop (GNEViewNet *viewNet, bool allowUndoRedo, const std::string &id, GNELane *lane, double startPos, double endPos, const std::string &name, const std::vector< std::string > &lines, bool friendlyPosition)
 Builds a bus stop. More...
 
static bool buildContainerStop (GNEViewNet *viewNet, bool allowUndoRedo, const std::string &id, GNELane *lane, double startPos, double endPos, const std::string &name, const std::vector< std::string > &lines, bool friendlyPosition)
 Builds a container stop. More...
 
static bool buildChargingStation (GNEViewNet *viewNet, bool allowUndoRedo, const std::string &id, GNELane *lane, double startPos, double endPos, const std::string &name, double chargingPower, double efficiency, bool chargeInTransit, double chargeDelay, bool friendlyPosition)
 Builds a charging Station. More...
 
static bool buildDetectorE1 (GNEViewNet *viewNet, bool allowUndoRedo, const std::string &id, GNELane *lane, double pos, double freq, const std::string &filename, const std::string &vehicleTypes, bool friendlyPos)
 Builds a induction loop detector (E1) More...
 
static bool buildDetectorE2 (GNEViewNet *viewNet, bool allowUndoRedo, const std::string &id, GNELane *lane, double pos, double length, double freq, const std::string &filename, bool cont, const double timeThreshold, double speedThreshold, double jamThreshold, bool friendlyPos)
 Builds a lane Area Detector (E2) More...
 
static bool buildDetectorE3 (GNEViewNet *viewNet, bool allowUndoRedo, const std::string &id, Position pos, double freq, const std::string &filename, const double timeThreshold, double speedThreshold)
 Builds a multi entry exit detector (E3) More...
 
static bool buildDetectorEntry (GNEViewNet *viewNet, bool allowUndoRedo, GNEDetectorE3 *E3Parent, GNELane *lane, double pos, bool friendlyPos)
 Builds a entry detector (E3) More...
 
static bool buildDetectorExit (GNEViewNet *viewNet, bool allowUndoRedo, GNEDetectorE3 *E3Parent, GNELane *lane, double pos, bool friendlyPos)
 Builds a exit detector (E3) More...
 
static bool buildCalibrator (GNEViewNet *viewNet, bool allowUndoRedo, const std::string &id, GNELane *lane, double pos, const std::string &outfile, double freq, const std::vector< GNECalibratorRoute > &calibratorRoutes, const std::vector< GNECalibratorFlow > &calibratorFlows, const std::vector< GNECalibratorVehicleType > &calibratorVehicleTypes)
 builds a microscopic calibrator More...
 
static bool buildRerouter (GNEViewNet *viewNet, bool allowUndoRedo, const std::string &id, Position pos, const std::vector< GNEEdge * > &edges, double prob, const std::string &file, bool off)
 builds a rerouter More...
 
static bool buildRouteProbe (GNEViewNet *viewNet, bool allowUndoRedo, const std::string &id, GNEEdge *edge, double freq, const std::string &file, double begin)
 builds a Route probe More...
 
static bool buildVariableSpeedSign (GNEViewNet *viewNet, bool allowUndoRedo, const std::string &id, Position pos, const std::vector< GNELane * > &destLanes, const std::string &file, const std::vector< GNEVariableSpeedSignStep > &steps)
 Builds a VariableSpeedSign (lane speed trigger) More...
 
static bool buildVaporizer (GNEViewNet *viewNet, bool allowUndoRedo, GNEEdge *edge, double startTime, double end)
 Builds a vaporizer (lane speed trigger) More...
 
static bool fixStoppinPlacePosition (double &startPos, double &endPos, const double laneLength, const double minLength, const bool friendlyPos)
 check if the position of an stoppingPlace over a lane is valid More...
 
static bool checkAndFixDetectorPositionPosition (double &pos, const double laneLength, const bool friendlyPos)
 check if the position of a detector over a lane is valid More...
 
static bool fixE2DetectorPositionPosition (double &pos, double &length, const double laneLength, const bool friendlyPos)
 check if the position of a detector over a lane is valid More...
 
bool checkAdditionalParent (SumoXMLTag currentTag)
 used to check hierarchy of aditionals with parents and childs (for example, E3) More...
 
GNECalibratorFlow::TypeOfFlow getTypeOfFlowDistribution (std::string flowID, double vehsPerHour, double period, double probability)
 get a error message, if configuration of flow distribution is invalid More...
 

Detailed Description

Builds trigger objects for GNENet (busStops, chargingStations, detectors, etc..)

Definition at line 61 of file GNEAdditionalHandler.h.

Constructor & Destructor Documentation

GNEAdditionalHandler::GNEAdditionalHandler ( const std::string &  file,
GNEViewNet *  viewNet,
bool  undoAdditionals = true 
)

Constructor.

Definition at line 63 of file GNEAdditionalHandler.cpp.

GNEAdditionalHandler::~GNEAdditionalHandler ( )

Destructor.

Definition at line 75 of file GNEAdditionalHandler.cpp.

Member Function Documentation

bool GNEAdditionalHandler::buildAdditional ( GNEViewNet *  viewNet,
bool  allowUndoRedo,
SumoXMLTag  tag,
std::map< SumoXMLAttr, std::string >  values 
)
static

Build additionals.

Parameters
[in]viewNetpointer to viewNet in wich additional will be created
[in]allowUndoRedoenable or disable remove created additional with ctrl + Z / ctrl + Y
[in]tagtag of the additiona lto create
[in]valuesmap with the attributes and values of the additional to create
Returns
true if was sucesfully created, false in other case

Definition at line 777 of file GNEAdditionalHandler.cpp.

References buildBusStop(), buildCalibrator(), buildChargingStation(), buildContainerStop(), buildDetectorE1(), buildDetectorE2(), buildDetectorE3(), buildDetectorEntry(), buildDetectorExit(), buildRerouter(), buildRouteProbe(), buildVaporizer(), buildVariableSpeedSign(), GNEViewNet::getNet(), GNE_ATTR_PARENT, GeomConvHelper::parseShapeReporting(), GNENet::retrieveAdditional(), GNENet::retrieveEdge(), GNENet::retrieveLane(), SUMO_ATTR_BEGIN, SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGEINTRANSIT, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_CONT, SUMO_ATTR_EDGE, SUMO_ATTR_EDGES, SUMO_ATTR_EFFICIENCY, SUMO_ATTR_END, 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_LINES, SUMO_ATTR_NAME, SUMO_ATTR_OFF, SUMO_ATTR_OUTPUT, SUMO_ATTR_POSITION, SUMO_ATTR_PROB, SUMO_ATTR_STARTPOS, SUMO_ATTR_STARTTIME, SUMO_ATTR_VTYPES, SUMO_TAG_BUS_STOP, SUMO_TAG_CALIBRATOR, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, SUMO_TAG_E1DETECTOR, SUMO_TAG_E2DETECTOR, SUMO_TAG_E3DETECTOR, SUMO_TAG_REROUTER, SUMO_TAG_ROUTEPROBE, SUMO_TAG_VAPORIZER, and SUMO_TAG_VSS.

Referenced by GNEAdditionalFrame::addAdditional().

bool GNEAdditionalHandler::buildBusStop ( GNEViewNet *  viewNet,
bool  allowUndoRedo,
const std::string &  id,
GNELane *  lane,
double  startPos,
double  endPos,
const std::string &  name,
const std::vector< std::string > &  lines,
bool  friendlyPosition 
)
static

Builds a bus stop.

Parameters
[in]viewNetviewNet in which element will be inserted
[in]allowUndoRedoenable or disable remove created additional with ctrl + Z / ctrl + Y
[in]idThe id of the bus stop
[in]laneThe lane the bus stop is placed on
[in]startPosBegin position of the bus stop on the lane
[in]endPosEnd position of the bus stop on the lane
[in]nameName of busStop
[in]linesNames of the bus lines that halt on this bus stop
[in]friendlyPosenable or disable friendly position
Returns
true if was sucesfully created, false in other case
Exceptions
InvalidArgumentIf the bus stop can not be added to the net (is duplicate)

Definition at line 1006 of file GNEAdditionalHandler.cpp.

References GNELane::addAdditionalChild(), GNENet::getAdditional(), GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNENet::insertAdditional(), GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_BUS_STOP, and toString().

Referenced by buildAdditional(), and parseAndBuildBusStop().

bool GNEAdditionalHandler::buildCalibrator ( GNEViewNet *  viewNet,
bool  allowUndoRedo,
const std::string &  id,
GNELane *  lane,
double  pos,
const std::string &  outfile,
double  freq,
const std::vector< GNECalibratorRoute > &  calibratorRoutes,
const std::vector< GNECalibratorFlow > &  calibratorFlows,
const std::vector< GNECalibratorVehicleType > &  calibratorVehicleTypes 
)
static

builds a microscopic calibrator

Parameters
[in]viewNetviewNet in which element will be inserted
[in]allowUndoRedoenable or disable remove created additional with ctrl + Z / ctrl + Y
[in]idThe id of the calibrator
[in]laneThe lane the calibrator is placed at
[in]posThe position on the edge the calibrator lies at
[in]outfilete file in which write results
[in]calibratorRoutesroutes of calibrator
[in]calibratorFlowsflows of calibrator
[in]calibratorVehicleTypesvehicleTypes of calibrator
Returns
true if was sucesfully created, false in other case
Todo:
Is the position correct/needed
Returns
true if was sucesfully created, false in other case
Exceptions
InvalidArgumentIf the entry detector can not be added to the net (is duplicate)

Definition at line 1192 of file GNEAdditionalHandler.cpp.

References GNELane::addAdditionalChild(), GNENet::getAdditional(), GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNENet::insertAdditional(), GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_CALIBRATOR, and toString().

Referenced by buildAdditional(), and parseAndBuildCalibrator().

bool GNEAdditionalHandler::buildChargingStation ( GNEViewNet *  viewNet,
bool  allowUndoRedo,
const std::string &  id,
GNELane *  lane,
double  startPos,
double  endPos,
const std::string &  name,
double  chargingPower,
double  efficiency,
bool  chargeInTransit,
double  chargeDelay,
bool  friendlyPosition 
)
static

Builds a charging Station.

Parameters
[in]viewNetviewNet in which element will be inserted
[in]allowUndoRedoenable or disable remove created additional with ctrl + Z / ctrl + Y
[in]idThe id of the charging Station
[in]laneThe lane the charging Station is placed on
[in]startPosBegin position of the charging Station on the lane
[in]endPosEnd position of the charging Station on the lane
[in]nameName of charging station
[in]chargingPowerpower charged in every timeStep
[in]efficiencyefficiency of the charge
[in]chargeInTransitenable or disable charge in transit
[in]chargeDelaydelay in the charge
[in]friendlyPosenable or disable friendly position
Returns
true if was sucesfully created, false in other case
Exceptions
InvalidArgumentIf the charging Station can not be added to the net (is duplicate)

Definition at line 1044 of file GNEAdditionalHandler.cpp.

References GNELane::addAdditionalChild(), GNENet::getAdditional(), GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNENet::insertAdditional(), GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_CHARGING_STATION, and toString().

Referenced by buildAdditional(), and parseAndBuildChargingStation().

bool GNEAdditionalHandler::buildContainerStop ( GNEViewNet *  viewNet,
bool  allowUndoRedo,
const std::string &  id,
GNELane *  lane,
double  startPos,
double  endPos,
const std::string &  name,
const std::vector< std::string > &  lines,
bool  friendlyPosition 
)
static

Builds a container stop.

Parameters
[in]viewNetviewNet in which element will be inserted
[in]allowUndoRedoenable or disable remove created additional with ctrl + Z / ctrl + Y
[in]idThe id of the container stop
[in]laneThe lane the container stop is placed on
[in]startPosBegin position of the container stop on the lane
[in]endPosEnd position of the container stop on the lane
[in]nameName of container stop
[in]linesNames of the bus lines that halt on this container stop
[in]friendlyPosenable or disable friendly position
Returns
true if was sucesfully created, false in other case
Exceptions
InvalidArgumentIf the container stop can not be added to the net (is duplicate)

Definition at line 1025 of file GNEAdditionalHandler.cpp.

References GNELane::addAdditionalChild(), GNENet::getAdditional(), GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNENet::insertAdditional(), GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_CONTAINER_STOP, and toString().

Referenced by buildAdditional(), and parseAndBuildContainerStop().

bool GNEAdditionalHandler::buildDetectorE1 ( GNEViewNet *  viewNet,
bool  allowUndoRedo,
const std::string &  id,
GNELane *  lane,
double  pos,
double  freq,
const std::string &  filename,
const std::string &  vehicleTypes,
bool  friendlyPos 
)
static

Builds a induction loop detector (E1)

Parameters
[in]viewNetviewNet in which element will be inserted
[in]allowUndoRedoenable or disable remove created additional with ctrl + Z / ctrl + Y
[in]idThe id of the detector
[in]laneThe lane the detector is placed on
[in]posposition of the detector on the lane
[in]freqthe aggregation period the values the detector collects shall be summed up.
[in]filenameThe path to the output file.
[in]splitByTypeIf set, the collected values will be additionally reported on per-vehicle type base.
[in]friendlyPosenable or disable friendly position
Returns
true if was sucesfully created, false in other case
Exceptions
InvalidArgumentIf the detector can not be added to the net (is duplicate)

Definition at line 1063 of file GNEAdditionalHandler.cpp.

References GNELane::addAdditionalChild(), GNENet::getAdditional(), GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNENet::insertAdditional(), GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_E1DETECTOR, and toString().

Referenced by buildAdditional(), and parseAndBuildDetectorE1().

bool GNEAdditionalHandler::buildDetectorE2 ( GNEViewNet *  viewNet,
bool  allowUndoRedo,
const std::string &  id,
GNELane *  lane,
double  pos,
double  length,
double  freq,
const std::string &  filename,
bool  cont,
const double  timeThreshold,
double  speedThreshold,
double  jamThreshold,
bool  friendlyPos 
)
static

Builds a lane Area Detector (E2)

Parameters
[in]viewNetviewNet in which element will be inserted
[in]allowUndoRedoenable or disable remove created additional with ctrl + Z / ctrl + Y
[in]idThe id of the detector
[in]laneThe lane the detector is placed on
[in]posposition of the detector on the lane

Definition at line 1082 of file GNEAdditionalHandler.cpp.

References GNELane::addAdditionalChild(), GNENet::getAdditional(), GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNENet::insertAdditional(), GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_E2DETECTOR, and toString().

Referenced by buildAdditional(), and parseAndBuildDetectorE2().

bool GNEAdditionalHandler::buildDetectorE3 ( GNEViewNet *  viewNet,
bool  allowUndoRedo,
const std::string &  id,
Position  pos,
double  freq,
const std::string &  filename,
const double  timeThreshold,
double  speedThreshold 
)
static

Builds a multi entry exit detector (E3)

Parameters
[in]viewNetviewNet in which element will be inserted
[in]allowUndoRedoenable or disable remove created additional with ctrl + Z / ctrl + Y
[in]idThe id of the detector
[in]posposition of the detector in the map
[in]freqthe aggregation period the values the detector collects shall be summed up.
[in]filenameThe path to the output file.
[in]timeThresholdThe time-based threshold that describes how much time has to pass until a vehicle is recognized as halting
[in]speedThresholdThe speed-based threshold that describes how slow a vehicle has to be to be recognized as halting
Returns
true if was sucesfully created, false in other case
Exceptions
InvalidArgumentIf the detector can not be added to the net (is duplicate)

Definition at line 1102 of file GNEAdditionalHandler.cpp.

References GNENet::getAdditional(), GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNENet::insertAdditional(), GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_E3DETECTOR, and toString().

Referenced by buildAdditional().

bool GNEAdditionalHandler::buildDetectorEntry ( GNEViewNet *  viewNet,
bool  allowUndoRedo,
GNEDetectorE3 *  E3Parent,
GNELane *  lane,
double  pos,
bool  friendlyPos 
)
static

Builds a entry detector (E3)

Parameters
[in]viewNetviewNet in which element will be inserted
[in]allowUndoRedoenable or disable remove created additional with ctrl + Z / ctrl + Y
[in]E3Parentpointer to E3 detector parent
[in]laneThe lane in which the entry detector is placed on
[in]posposition of the entry detector on the lane
[in]friendlyPosenable or disable friendly position
Returns
true if was sucesfully created, false in other case
Exceptions
InvalidArgumentIf the entry detector can not be added to the net (invalid parent or lane)

Definition at line 1120 of file GNEAdditionalHandler.cpp.

References GNELane::addAdditionalChild(), GNEDetectorE3::addEntryChild(), GNENet::getAdditional(), GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTag(), GNEViewNet::getUndoList(), GNENet::insertAdditional(), GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_DET_ENTRY, SUMO_TAG_E3DETECTOR, SUMO_TAG_LANE, toString(), and GNEDetectorE3::updateGeometry().

Referenced by buildAdditional(), and parseAndBuildDetectorEntry().

bool GNEAdditionalHandler::buildDetectorExit ( GNEViewNet *  viewNet,
bool  allowUndoRedo,
GNEDetectorE3 *  E3Parent,
GNELane *  lane,
double  pos,
bool  friendlyPos 
)
static

Builds a exit detector (E3)

Parameters
[in]viewNetviewNet in which element will be inserted
[in]allowUndoRedoenable or disable remove created additional with ctrl + Z / ctrl + Y
[in]E3Parentpointer to E3 detector parent
[in]laneThe lane in which the exit detector is placed on
[in]posposition of the exit detector on the lane
[in]friendlyPosenable or disable friendly position
Returns
true if was sucesfully created, false in other case
Exceptions
InvalidArgumentIf the exit detector can not be added to the net (invalid parent or lane

Definition at line 1156 of file GNEAdditionalHandler.cpp.

References GNELane::addAdditionalChild(), GNEDetectorE3::addExitChild(), GNENet::getAdditional(), GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEAttributeCarrier::getTag(), GNEViewNet::getUndoList(), GNENet::insertAdditional(), GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, SUMO_TAG_E3DETECTOR, SUMO_TAG_LANE, toString(), and GNEDetectorE3::updateGeometry().

Referenced by buildAdditional(), and parseAndBuildDetectorExit().

std::string GenericSAXHandler::buildErrorMessage ( const XERCES_CPP_NAMESPACE::SAXParseException &  exception)
protectedinherited

Builds an error message.

The error message includes the file name and the line/column information as supported by the given SAXParseException

Parameters
[in]exceptionThe name of the currently processed file
Returns
A string describing the given exception

Definition at line 188 of file GenericSAXHandler.cpp.

References GenericSAXHandler::getFileName().

Referenced by GenericSAXHandler::error(), GenericSAXHandler::fatalError(), and GenericSAXHandler::warning().

bool GNEAdditionalHandler::buildRerouter ( GNEViewNet *  viewNet,
bool  allowUndoRedo,
const std::string &  id,
Position  pos,
const std::vector< GNEEdge * > &  edges,
double  prob,
const std::string &  file,
bool  off 
)
static

builds a rerouter

Parameters
[in]viewNetviewNet in which element will be inserted
[in]allowUndoRedoenable or disable remove created additional with ctrl + Z / ctrl + Y
[in]idThe id of the rerouter
[in]posposition of the rerouter in the map
[in]edgesThe edges the rerouter is placed at
[in]probThe probability the rerouter reoutes vehicles with
[in]fileThe file to read the reroute definitions from
Returns
true if was sucesfully created, false in other case

Definition at line 1213 of file GNEAdditionalHandler.cpp.

References GNENet::getAdditional(), GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNENet::insertAdditional(), GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_REROUTER, and toString().

Referenced by buildAdditional(), and parseAndBuildRerouter().

bool GNEAdditionalHandler::buildRouteProbe ( GNEViewNet *  viewNet,
bool  allowUndoRedo,
const std::string &  id,
GNEEdge *  edge,
double  freq,
const std::string &  file,
double  begin 
)
static

builds a Route probe

Parameters
[in]viewNetviewNet in which element will be inserted
[in]allowUndoRedoenable or disable remove created additional with ctrl + Z / ctrl + Y
[in]idThe id of the routeprobe
[in]edgeThe edges the routeprobe is placed at
[in]freqthe aggregation period the values the routeprobe collects shall be summed up.
[in]fileThe file to read the routeprobe definitions from
[in]beginThe time at which to start generating output
Returns
true if was sucesfully created, false in other case
Exceptions
InvalidArgumentIf the entry detector can not be added to the net (is duplicate)

Definition at line 1234 of file GNEAdditionalHandler.cpp.

References GNEEdge::addAdditionalChild(), GNENet::getAdditional(), GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNENet::insertAdditional(), GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_ROUTEPROBE, and toString().

Referenced by buildAdditional(), and parseAndBuildRouteProbe().

bool GNEAdditionalHandler::buildVaporizer ( GNEViewNet *  viewNet,
bool  allowUndoRedo,
GNEEdge *  edge,
double  startTime,
double  end 
)
static

Builds a vaporizer (lane speed trigger)

Parameters
[in]viewNetviewNet in which element will be inserted
[in]allowUndoRedoenable or disable remove created additional with ctrl + Z / ctrl + Y
[in]edgeedge in which tis vaporizer is placed
[in]startTimetime in which this vaporizer start
[in]endtime in which this vaporizer ends
Returns
true if was sucesfully created, false in other case
Exceptions
ProcessErrorIf the XML definition file is errornous

Definition at line 1274 of file GNEAdditionalHandler.cpp.

References GNEEdge::addAdditionalChild(), GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNENet::insertAdditional(), GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_VAPORIZER, and toString().

Referenced by buildAdditional(), and parseAndBuildVaporizer().

bool GNEAdditionalHandler::buildVariableSpeedSign ( GNEViewNet *  viewNet,
bool  allowUndoRedo,
const std::string &  id,
Position  pos,
const std::vector< GNELane * > &  destLanes,
const std::string &  file,
const std::vector< GNEVariableSpeedSignStep > &  steps 
)
static

Builds a VariableSpeedSign (lane speed trigger)

Parameters
[in]viewNetviewNet in which element will be inserted
[in]allowUndoRedoenable or disable remove created additional with ctrl + Z / ctrl + Y
[in]idThe id of the lane speed trigger
[in]destLanesList of lanes affected by this speed trigger
[in]fileName of the file to read the speeds to set from
[in]stepsStep and speed values of variable speed signal
Returns
true if was sucesfully created, false in other case
Exceptions
InvalidArgumentIf the entry detector can not be added to the net (is duplicate)

Definition at line 1253 of file GNEAdditionalHandler.cpp.

References GNENet::getAdditional(), GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNENet::insertAdditional(), GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_VSS, and toString().

Referenced by buildAdditional(), and parseAndBuildVariableSpeedSign().

void GenericSAXHandler::characters ( const XMLCh *const  chars,
const XERCES3_SIZE_t  length 
)
inherited

The inherited method called when characters occured.

The retrieved characters are converted into a string and appended into a private buffer. They are reported as soon as the element ends.

Todo:

recheck/describe what happens with characters when a new element is opened

describe characters processing in the class' head

Definition at line 171 of file GenericSAXHandler.cpp.

References TplConvert::_2str(), and GenericSAXHandler::myCharactersVector.

bool GNEAdditionalHandler::checkAdditionalParent ( SumoXMLTag  currentTag)
protected
bool GNEAdditionalHandler::checkAndFixDetectorPositionPosition ( double &  pos,
const double  laneLength,
const bool  friendlyPos 
)
static

check if the position of a detector over a lane is valid

Parameters
[in]pospos position of detector
[in]laneLengthLength of the lane
[in]friendlyPosAttribute of detector
Returns
true if the detector position is valid, false in otherweise

Definition at line 1360 of file GNEAdditionalHandler.cpp.

Referenced by GNEDialog_FixAdditionalPositions::onCmdAccept(), parseAndBuildDetectorE1(), parseAndBuildDetectorEntry(), and parseAndBuildDetectorExit().

void GenericSAXHandler::endElement ( const XMLCh *const  uri,
const XMLCh *const  localname,
const XMLCh *const  qname 
)
inherited

The inherited method called when a tag is being closed.

This method calls the user-implemented methods myCharacters with the previously collected and converted characters.

Then, myEndElement is called, supplying it the qname converted to its enum- and string-representations.

Todo:

recheck/describe encoding of the string-representation

do not generate and report the string-representation

Definition at line 122 of file GenericSAXHandler.cpp.

References TplConvert::_2str(), GenericSAXHandler::convertTag(), GenericSAXHandler::myCharacters(), GenericSAXHandler::myCharactersVector, GenericSAXHandler::myEndElement(), GenericSAXHandler::myParentHandler, GenericSAXHandler::myParentIndicator, XMLSubSys::setHandler(), SUMO_TAG_INCLUDE, and SUMO_TAG_NOTHING.

void GenericSAXHandler::error ( const XERCES_CPP_NAMESPACE::SAXParseException &  exception)
inherited

Handler for XML-errors.

The message is built using buildErrorMessage and thrown within a ProcessError.

Parameters
[in]exceptionThe occured exception to process
Exceptions
ProcessErrorOn any call

Definition at line 207 of file GenericSAXHandler.cpp.

References GenericSAXHandler::buildErrorMessage().

Referenced by MSRouteHandler::closeContainer(), MSRouteHandler::closePerson(), NIImporter_OpenDrive::geomFromSpiral(), and MSRouteHandler::myStartElement().

void GenericSAXHandler::fatalError ( const XERCES_CPP_NAMESPACE::SAXParseException &  exception)
inherited

Handler for XML-errors.

The message is built using buildErrorMessage and thrown within a ProcessError.

Exceptions
ProcessErrorOn any call
Parameters
[in]exceptionThe occured exception to process

Definition at line 213 of file GenericSAXHandler.cpp.

References GenericSAXHandler::buildErrorMessage().

bool GNEAdditionalHandler::fixE2DetectorPositionPosition ( double &  pos,
double &  length,
const double  laneLength,
const bool  friendlyPos 
)
static

check if the position of a detector over a lane is valid

Parameters
[in]startPosStart position of detector
[in]lengthlength of detector
[in]laneLengthLength of the lane
[in]friendlyPosAttribute of detector
Returns
true if the detector position is valid, false in otherweise

Definition at line 1402 of file GNEAdditionalHandler.cpp.

Referenced by GNEDialog_FixAdditionalPositions::onCmdAccept(), and parseAndBuildDetectorE2().

bool GNEAdditionalHandler::fixStoppinPlacePosition ( double &  startPos,
double &  endPos,
const double  laneLength,
const double  minLength,
const bool  friendlyPos 
)
static

check if the position of an stoppingPlace over a lane is valid

Parameters
[in]startPosStart position of stoppingPlace
[in]endPosEnd position of stoppingPlace
[in]laneLengthLength of the lane
[in]minLengthMin length of the stoppingPlace
[in]friendlyPosAttribute of stoppingPlace
Returns
true if the stoppingPlace position is valid, false in otherweise

Definition at line 1324 of file GNEAdditionalHandler.cpp.

Referenced by GNEDialog_FixAdditionalPositions::onCmdAccept(), parseAndBuildBusStop(), parseAndBuildChargingStation(), and parseAndBuildContainerStop().

std::string GNEAdditionalHandler::getFileName ( const SUMOSAXAttributes &  attrs,
const std::string &  base,
const bool  allowEmpty = false 
)

Helper method to obtain the filename.

Parameters
[in]attrsThe attributes to obtain the file name from
[in]baseThe base path (the path the loaded additional file lies in)
Returns
The (expanded) path to the named file
Todo:
Recheck usage of the helper class

Definition at line 1289 of file GNEAdditionalHandler.cpp.

References FileHelpers::getConfigurationRelative(), SUMOSAXAttributes::getOpt(), FileHelpers::isAbsolute(), SUMO_ATTR_FILE, and WRITE_WARNING.

double GNEAdditionalHandler::getPosition ( double  pos,
GNELane &  lane,
bool  friendlyPos,
const std::string &  additionalID 
)

extracts the position, checks whether it shall be mirrored and checks whether it is within the lane.

Parameters
[in]posposition of additional over lane
[in]laneThe lane the position shall be valid for
[in]friendlyPosflag to indicate if friendlyPos is enabled
[in]additionalIDID of additional
Returns
The position on the lane

Definition at line 1308 of file GNEAdditionalHandler.cpp.

References GNEAttributeCarrier::getID(), GNELane::getLaneShapeLength(), and WRITE_WARNING.

GNECalibratorFlow::TypeOfFlow GNEAdditionalHandler::getTypeOfFlowDistribution ( std::string  flowID,
double  vehsPerHour,
double  period,
double  probability 
)
private
void GenericSAXHandler::myCharacters ( int  element,
const std::string &  chars 
)
protectedvirtualinherited

Callback method for characters to implement by derived classes.

Called by "endElement" (see there).

Parameters
[in]elementThe opened element, given as a int
[in]charsThe complete embedded character string ProcessError These method may throw a ProcessError if something fails

Reimplemented in NIImporter_ITSUMO::Handler.

Definition at line 223 of file GenericSAXHandler.cpp.

Referenced by GenericSAXHandler::endElement().

void GNEAdditionalHandler::parseAndBuildBusStop ( const SUMOSAXAttributes &  attrs,
const SumoXMLTag &  tag 
)
void GNEAdditionalHandler::parseAndBuildCalibrator ( const SUMOSAXAttributes &  attrs,
const SumoXMLTag &  tag 
)

Parses his values and builds a mesoscopic or microscopic calibrator.

Parameters
[in]attrsSAX-attributes which define the trigger
[in]tagof the additional

Definition at line 596 of file GNEAdditionalHandler.cpp.

References buildCalibrator(), GNENet::getAdditional(), GNEViewNet::getNet(), GNEAttributeCarrier::isValidID(), myLastTag, myUndoAdditionals, myViewNet, GNENet::retrieveLane(), SUMO_ATTR_FREQUENCY, SUMO_ATTR_ID, SUMO_ATTR_LANE, SUMO_ATTR_OUTPUT, SUMO_ATTR_POSITION, toString(), and WRITE_WARNING.

Referenced by myStartElement().

void GNEAdditionalHandler::parseAndBuildChargingStation ( const SUMOSAXAttributes &  attrs,
const SumoXMLTag &  tag 
)
void GNEAdditionalHandler::parseAndBuildContainerStop ( const SUMOSAXAttributes &  attrs,
const SumoXMLTag &  tag 
)
void GNEAdditionalHandler::parseAndBuildDetectorE1 ( const SUMOSAXAttributes &  attrs,
const SumoXMLTag &  tag 
)
void GNEAdditionalHandler::parseAndBuildDetectorE3 ( const SUMOSAXAttributes &  attrs,
const SumoXMLTag &  tag 
)

Parses his values and builds a multi entry exit detector (E3)

Parameters
[in]attrsSAX-attributes which define the trigger
[in]tagof the additional

Definition at line 696 of file GNEAdditionalHandler.cpp.

References GNENet::getAdditional(), GNEViewNet::getNet(), GNEAttributeCarrier::isValidID(), myE3Parent, myLastTag, myViewNet, SUMO_ATTR_FILE, SUMO_ATTR_FREQUENCY, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_ID, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_TAG_E3DETECTOR, SUMO_TAG_NOTHING, toString(), and WRITE_WARNING.

Referenced by myStartElement().

void GNEAdditionalHandler::parseAndBuildDetectorEntry ( const SUMOSAXAttributes &  attrs,
const SumoXMLTag &  tag 
)

Parses his values and builds a Entry detector.

Parameters
[in]attrsSAX-attributes which define the trigger
[in]tagof the additional

Definition at line 727 of file GNEAdditionalHandler.cpp.

References buildDetectorEntry(), checkAndFixDetectorPositionPosition(), GNELane::getLaneShapeLength(), GNEViewNet::getNet(), myE3Parent, myLastTag, myUndoAdditionals, myViewNet, GNENet::retrieveLane(), SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LANE, SUMO_ATTR_POSITION, SUMO_TAG_E3DETECTOR, toString(), and WRITE_WARNING.

Referenced by myStartElement().

void GNEAdditionalHandler::parseAndBuildDetectorExit ( const SUMOSAXAttributes &  attrs,
const SumoXMLTag &  tag 
)

Parses his values and builds a Exit detector.

Parameters
[in]attrsSAX-attributes which define the trigger
[in]tagof the additional

Definition at line 752 of file GNEAdditionalHandler.cpp.

References buildDetectorExit(), checkAndFixDetectorPositionPosition(), GNELane::getLaneShapeLength(), GNEViewNet::getNet(), myE3Parent, myLastTag, myUndoAdditionals, myViewNet, GNENet::retrieveLane(), SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LANE, SUMO_ATTR_POSITION, SUMO_TAG_E3DETECTOR, toString(), and WRITE_WARNING.

Referenced by myStartElement().

void GNEAdditionalHandler::parseAndBuildRerouter ( const SUMOSAXAttributes &  attrs,
const SumoXMLTag &  tag 
)

Parses his values and builds a rerouter.

Parameters
[in]attrsSAX-attributes which define the trigger
[in]tagof the additional

Definition at line 461 of file GNEAdditionalHandler.cpp.

References buildRerouter(), GNEViewNet::getNet(), myUndoAdditionals, myViewNet, GNENet::retrieveEdge(), SUMO_ATTR_EDGES, SUMO_ATTR_FILE, SUMO_ATTR_ID, SUMO_ATTR_OFF, SUMO_ATTR_PROB, SUMO_ATTR_X, and SUMO_ATTR_Y.

Referenced by myStartElement().

void GNEAdditionalHandler::parseAndBuildRouteProbe ( const SUMOSAXAttributes &  attrs,
const SumoXMLTag &  tag 
)

Parses his values and builds routeProbe.

Parameters
[in]attrsSAX-attributes which define the trigger
[in]tagof the additional

Definition at line 233 of file GNEAdditionalHandler.cpp.

References buildRouteProbe(), GNENet::getAdditional(), GNEViewNet::getNet(), GNEAttributeCarrier::isValidID(), myUndoAdditionals, myViewNet, GNENet::retrieveEdge(), SUMO_ATTR_BEGIN, SUMO_ATTR_EDGE, SUMO_ATTR_FILE, SUMO_ATTR_FREQUENCY, SUMO_ATTR_ID, toString(), and WRITE_WARNING.

Referenced by myStartElement().

void GNEAdditionalHandler::parseAndBuildVaporizer ( const SUMOSAXAttributes &  attrs,
const SumoXMLTag &  tag 
)

Builds a vaporization.

Parameters
[in]attrsSAX-attributes which define the vaporizer
[in]tagof the additional
Note
recheck throwing the exception

Definition at line 207 of file GNEAdditionalHandler.cpp.

References buildVaporizer(), GNEViewNet::getNet(), myUndoAdditionals, myViewNet, GNENet::retrieveEdge(), SUMO_ATTR_EDGE, SUMO_ATTR_END, SUMO_ATTR_STARTTIME, toString(), and WRITE_WARNING.

Referenced by myStartElement().

void GNEAdditionalHandler::parseAndBuildVariableSpeedSign ( const SUMOSAXAttributes &  attrs,
const SumoXMLTag &  tag 
)

Parses his values and builds a Variable Speed Signal (lane speed trigger)

Parameters
[in]attrsSAX-attributes which define the trigger
[in]tagof the additional
See also
buildLaneSpeedTrigger

Definition at line 428 of file GNEAdditionalHandler.cpp.

References buildVariableSpeedSign(), GNEViewNet::getNet(), myLastTag, myUndoAdditionals, myViewNet, GNENet::retrieveLane(), SUMO_ATTR_FILE, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_TAG_LANE, SUMO_TAG_VSS, toString(), and WRITE_WARNING.

Referenced by myStartElement().

void GNEAdditionalHandler::parseCalibratorRoute ( const SUMOSAXAttributes &  attrs,
const SumoXMLTag &  tag 
)

Parses route values of Calibrators.

Parameters
[in]attrsSAX-attributes which define the routes
[in]tagof the additional

Definition at line 262 of file GNEAdditionalHandler.cpp.

References GNECalibrator::addCalibratorRoute(), GNEViewNet::getNet(), myCalibratorParent, myViewNet, GNENet::retrieveEdge(), GNENet::routeExists(), SUMO_ATTR_COLOR, SUMO_ATTR_EDGES, SUMO_ATTR_ID, SUMO_TAG_EDGE, SUMO_TAG_ROUTE, toString(), and WRITE_WARNING.

Referenced by myStartElement().

void GNEAdditionalHandler::parseVariableSpeedSignStep ( const SUMOSAXAttributes &  attrs,
const SumoXMLTag &  tag 
)

Parses step values of VariableSpeedSigns.

Parameters
[in]attrsSAX-attributes which define the steps
[in]tagof the additional

Definition at line 407 of file GNEAdditionalHandler.cpp.

References GNEVariableSpeedSign::addStep(), GNEAttributeCarrier::getID(), GNEVariableSpeedSign::getSteps(), GNEVariableSpeedSignStep::getTag(), GNEAttributeCarrier::getTag(), myVariableSpeedSignParent, SUMO_ATTR_SPEED, SUMO_ATTR_TIME, toString(), and WRITE_WARNING.

Referenced by myStartElement().

void GenericSAXHandler::registerParent ( const int  tag,
GenericSAXHandler *  handler 
)
inherited
void GNEAdditionalHandler::resetLastTag ( )
void GenericSAXHandler::setFileName ( const std::string &  name)
inherited

Sets the current file name.

Parameters
[in]nameThe name of the currently processed file
Todo:
Hmmm - this is as unsafe as having a direct access to the variable; recheck

Definition at line 76 of file GenericSAXHandler.cpp.

References GenericSAXHandler::myFileName.

Referenced by NIImporter_SUMO::_loadNetwork(), GUISettingsHandler::GUISettingsHandler(), PCNetProjectionLoader::load(), NIImporter_OpenStreetMap::load(), loadNet(), ROLoader::loadNet(), NIImporter_ITSUMO::loadNetwork(), NIImporter_MATSim::loadNetwork(), NIImporter_Vissim::loadXML(), NILoader::loadXMLType(), main(), and XMLSubSys::runParser().

void GenericSAXHandler::startElement ( const XMLCh *const  uri,
const XMLCh *const  localname,
const XMLCh *const  qname,
const XERCES_CPP_NAMESPACE::Attributes &  attrs 
)
inherited

The inherited method called when a new tag opens.

The method parses the supplied XMLCh*-qname using the internal name/enum-map to obtain the enum representation of the attribute name.

Then, "myStartElement" is called supplying the enumeration value, the string-representation of the name and the attributes.

Todo:

recheck/describe encoding of the string-representation

do not generate and report the string-representation

Definition at line 101 of file GenericSAXHandler.cpp.

References TplConvert::_2str(), GenericSAXHandler::convertTag(), FileHelpers::getConfigurationRelative(), GenericSAXHandler::getFileName(), SUMOSAXAttributesImpl_Xerces::getString(), FileHelpers::isAbsolute(), GenericSAXHandler::myCharactersVector, GenericSAXHandler::myPredefinedTags, GenericSAXHandler::myPredefinedTagsMML, GenericSAXHandler::myStartElement(), XMLSubSys::runParser(), SUMO_ATTR_HREF, and SUMO_TAG_INCLUDE.

void GenericSAXHandler::warning ( const XERCES_CPP_NAMESPACE::SAXParseException &  exception)
inherited

Handler for XML-warnings.

The message is built using buildErrorMessage and reported to the warning-instance of the MsgHandler.

Parameters
[in]exceptionThe occured exception to process

Definition at line 201 of file GenericSAXHandler.cpp.

References GenericSAXHandler::buildErrorMessage(), and WRITE_WARNING.

Field Documentation

GNECalibrator* GNEAdditionalHandler::myCalibratorParent
protected

Pointer to the last inserted Calibrator.

Definition at line 451 of file GNEAdditionalHandler.h.

Referenced by checkAdditionalParent(), myStartElement(), parseCalibratorFlow(), parseCalibratorRoute(), and parseCalibratorVehicleType().

GNEDetectorE3* GNEAdditionalHandler::myE3Parent
protected
std::vector<GNECalibratorVehicleType> GNEAdditionalHandler::myLoadingCalibratorVehicleTypes
protected

vector in wich save calibratorVehicleTypes during loading calibrators

Definition at line 463 of file GNEAdditionalHandler.h.

GNEVariableSpeedSign* GNEAdditionalHandler::myVariableSpeedSignParent
protected

Pointer to the last inserted variableSpeedSign.

Definition at line 454 of file GNEAdditionalHandler.h.

Referenced by checkAdditionalParent(), myStartElement(), and parseVariableSpeedSignStep().

GNERerouterInterval* GNEAdditionalHandler::rerouterIntervalToInsertValues
protected

pointer to rerouterInterval in which insert GNEClosingReroute, GNEDestProbReroute, etc.

Definition at line 457 of file GNEAdditionalHandler.h.


The documentation for this class was generated from the following files: