Eclipse SUMO - Simulation of Urban MObility
GUITriggerBuilder Class Reference

Builds trigger objects for guisim. More...

#include <GUITriggerBuilder.h>

Inheritance diagram for GUITriggerBuilder:
Collaboration diagram for GUITriggerBuilder:

Public Member Functions

void buildVaporizer (const SUMOSAXAttributes &attrs)
 Builds a vaporization. More...
 
 GUITriggerBuilder ()
 Constructor. More...
 
void setHandler (NLHandler *handler)
 Sets the parent handler to use for nested parsing. More...
 
 ~GUITriggerBuilder ()
 Destructor. More...
 
parsing methods

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

void parseAndBuildLaneSpeedTrigger (MSNet &net, const SUMOSAXAttributes &attrs, const std::string &base)
 Parses his values and builds a lane speed trigger. More...
 
void parseAndBuildRerouter (MSNet &net, const SUMOSAXAttributes &attrs, const std::string &base)
 Parses his values and builds a rerouter. More...
 
void parseAndBuildStoppingPlace (MSNet &net, const SUMOSAXAttributes &attrs, const SumoXMLTag element)
 Parses the values and builds a stopping places for busses, trains or container vehicles. More...
 
void addLotEntry (double x, double y, double z, double width, double length, double angle)
 Add a lot entry to current parking area. More...
 
void addAccess (MSNet &net, const SUMOSAXAttributes &attrs)
 Parses the values and adds an access point to the currently parsed stopping place. More...
 
void parseAndBeginParkingArea (MSNet &net, const SUMOSAXAttributes &attrs)
 Parses his values and builds a parking area. More...
 
void parseAndAddLotEntry (const SUMOSAXAttributes &attrs)
 Parses his values and adds a lot entry to current parking area. More...
 
void parseAndBuildChargingStation (MSNet &net, const SUMOSAXAttributes &attrs)
 Parses his values and builds a charging station. More...
 
void parseAndBuildCalibrator (MSNet &net, const SUMOSAXAttributes &attrs, const std::string &base)
 Parses his values and builds a mesoscopic or microscopic calibrator. More...
 
MSStoppingPlacegetCurrentStop ()
 

Protected Member Functions

virtual void endParkingArea ()
 End a parking area (it must be added to the SUMORTree after all parking spaces are loaded. More...
 
virtual void endStoppingPlace ()
 End a stopping place. More...
 
building methods

Override NLTriggerBuilder-methods for building guisim-objects

See also
NLTriggerBuilder
virtual MSLaneSpeedTriggerbuildLaneSpeedTrigger (MSNet &net, const std::string &id, const std::vector< MSLane * > &destLanes, const std::string &file)
 Builds a lane speed trigger. More...
 
virtual MSTriggeredRerouterbuildRerouter (MSNet &net, const std::string &id, MSEdgeVector &edges, double prob, const std::string &file, bool off, SUMOTime timeThreshold, const std::string &vTypes)
 builds an rerouter More...
 
virtual void buildStoppingPlace (MSNet &net, std::string id, std::vector< std::string > lines, MSLane *lane, double frompos, double topos, const SumoXMLTag element, std::string string, int personCapacity)
 Builds a bus stop. More...
 
virtual void beginParkingArea (MSNet &net, const std::string &id, const std::vector< std::string > &lines, MSLane *lane, double frompos, double topos, unsigned int capacity, double width, double length, double angle, const std::string &name, bool onRoad)
 Builds a parking area. More...
 
virtual void buildChargingStation (MSNet &net, const std::string &id, MSLane *lane, double frompos, double topos, const std::string &name, double chargingPower, double efficiency, bool chargeInTransit, double chargeDelay)
 Builds a charging station. More...
 
virtual MSCalibratorbuildCalibrator (MSNet &net, const std::string &id, MSEdge *edge, MSLane *lane, double pos, const std::string &file, const std::string &outfile, const SUMOTime freq, const MSRouteProbe *probe, const std::string &vTypes)
 builds a microscopic calibrator More...
 
building methods

Called with parsed values, these methods build the trigger.

These methods should be overriden for the gui loader in order to build visualizable versions of the triggers.

In most cases, these methods only call the constructor.

virtual METriggeredCalibratorbuildMECalibrator (MSNet &net, const std::string &id, const MSEdge *edge, double pos, const std::string &file, const std::string &outfile, const SUMOTime freq, MSRouteProbe *probe, const std::string &vTypes)
 builds a mesoscopic calibrator More...
 
helper method for obtaining and checking values
std::string getFileName (const SUMOSAXAttributes &attrs, const std::string &base, const bool allowEmpty=false)
 Helper method to obtain the filename. More...
 
MSLanegetLane (const SUMOSAXAttributes &attrs, const std::string &tt, const std::string &tid)
 Returns the lane defined by attribute "lane". More...
 
double getPosition (const SUMOSAXAttributes &attrs, MSLane *lane, const std::string &tt, const std::string &tid, MSEdge *edge=0)
 returns the position on the lane checking it More...
 
helper method for obtaining and checking values
std::string getFileName (const SUMOSAXAttributes &attrs, const std::string &base, const bool allowEmpty=false)
 Helper method to obtain the filename. More...
 
MSLanegetLane (const SUMOSAXAttributes &attrs, const std::string &tt, const std::string &tid)
 Returns the lane defined by attribute "lane". More...
 
double getPosition (const SUMOSAXAttributes &attrs, MSLane *lane, const std::string &tt, const std::string &tid, MSEdge *edge=0)
 returns the position on the lane checking it More...
 

Protected Attributes

MSStoppingPlacemyCurrentStop
 The currently parsed stop to add access points to. More...
 
NLHandlermyHandler
 The parent handler to set for subhandlers. More...
 
MSParkingAreamyParkingArea
 definition of the currently parsed parking area More...
 

Detailed Description

Builds trigger objects for guisim.

Definition at line 49 of file GUITriggerBuilder.h.

Constructor & Destructor Documentation

◆ GUITriggerBuilder()

GUITriggerBuilder::GUITriggerBuilder ( )

Constructor.

Definition at line 42 of file GUITriggerBuilder.cpp.

◆ ~GUITriggerBuilder()

GUITriggerBuilder::~GUITriggerBuilder ( )

Destructor.

Definition at line 45 of file GUITriggerBuilder.cpp.

Member Function Documentation

◆ addAccess()

void NLTriggerBuilder::addAccess ( MSNet net,
const SUMOSAXAttributes attrs 
)
inherited

Parses the values and adds an access point to the currently parsed stopping place.

Parameters
[in]netThe network the stop belongs to
[in]attrsSAX-attributes which define the access
Exceptions
InvalidArgumentIf a parameter (lane/position) is not valid

Definition at line 202 of file NLTriggerBuilder.cpp.

References MSStoppingPlace::addAccess(), MSLane::allowsVehicleClass(), SUMORouteHandler::checkStopPos(), Named::getID(), NLTriggerBuilder::getLane(), MSLane::getLength(), SUMOSAXAttributes::getOpt(), NLTriggerBuilder::myCurrentStop, NLTriggerBuilder::myHandler, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_LENGTH, SUMO_ATTR_POSITION, SVC_PEDESTRIAN, toString(), and WRITE_WARNING.

Referenced by NLHandler::myStartElement().

◆ addLotEntry()

void NLTriggerBuilder::addLotEntry ( double  x,
double  y,
double  z,
double  width,
double  length,
double  angle 
)
inherited

Add a lot entry to current parking area.

Simply calls the addLotEntry method for current parking area.

Parameters
[in]xX position of the lot center
[in]yY position of the lot center
[in]zZ position of the lot center
[in]widthWidth of the lot rectangle
[in]lengthLength of the lot rectangle
[in]angleAngle of the lot rectangle
Exceptions
InvalidArgumentIf the current parking area is 0

Definition at line 464 of file NLTriggerBuilder.cpp.

References MSParkingArea::addLotEntry(), NLTriggerBuilder::myParkingArea, and MSParkingArea::parkOnRoad().

Referenced by NLTriggerBuilder::parseAndAddLotEntry().

◆ beginParkingArea()

void GUITriggerBuilder::beginParkingArea ( MSNet net,
const std::string &  id,
const std::vector< std::string > &  lines,
MSLane lane,
double  frompos,
double  topos,
unsigned int  capacity,
double  width,
double  length,
double  angle,
const std::string &  name,
bool  onRoad 
)
protectedvirtual

Builds a parking area.

Simply calls the GUIParkingArea constructor.

Parameters
[in]netThe net the parking area belongs to
[in]idThe id of the parking area
[in]linesNames of the lines that halt on this parking area
[in]laneThe lane the parking area is placed on
[in]fromposBegin position of the parking area on the lane
[in]toposEnd position of the parking area on the lane
[in]capacityCapacity of the parking area
[in]widthWidth of the default lot rectangle
[in]lengthLength of the default lot rectangle
[in]angleAngle of the default lot rectangle
Exceptions
InvalidArgumentIf the parking area can not be added to the net (is duplicate)

Reimplemented from NLTriggerBuilder.

Definition at line 88 of file GUITriggerBuilder.cpp.

References MSNet::addStoppingPlace(), NLTriggerBuilder::myParkingArea, and SUMO_TAG_PARKING_AREA.

◆ buildCalibrator()

MSCalibrator * GUITriggerBuilder::buildCalibrator ( MSNet net,
const std::string &  id,
MSEdge edge,
MSLane lane,
double  pos,
const std::string &  file,
const std::string &  outfile,
const SUMOTime  freq,
const MSRouteProbe probe,
const std::string &  vTypes 
)
protectedvirtual

builds a microscopic calibrator

Simply calls the MSCalibrator constructor.

Parameters
[in]netThe net the calibrator belongs to
[in]idThe id of the calibrator
[in]edgeThe edge the calibrator is placed at
[in]posThe position on the edge the calibrator lies at
[in]fileThe file to read the flows from
Todo:
Is the position correct/needed

Reimplemented from NLTriggerBuilder.

Definition at line 120 of file GUITriggerBuilder.cpp.

◆ buildChargingStation()

void GUITriggerBuilder::buildChargingStation ( MSNet net,
const std::string &  id,
MSLane lane,
double  frompos,
double  topos,
const std::string &  name,
double  chargingPower,
double  efficiency,
bool  chargeInTransit,
double  chargeDelay 
)
protectedvirtual

Builds a charging station.

Simply calls the GUIChargingStation constructor.

Parameters
[in]netThe net the charging station belongs to
[in]idThe id of the charging station
[in]laneThe lane the charging station is placed on
[in]fromposBegin position of the charging station on the lane
[in]toposEnd position of the charging station on the lane
[in]chargingPowerenergy charged in every timeStep
[in]efficiencyefficiency of the charge
[in]chargeInTransitenable or disable charge in transit
[in]chargeDelaydelay in the charge
Exceptions
InvalidArgumentIf the charging station can not be added to the net (is duplicate)

Reimplemented from NLTriggerBuilder.

Definition at line 107 of file GUITriggerBuilder.cpp.

References MSNet::addStoppingPlace(), NLTriggerBuilder::myCurrentStop, and SUMO_TAG_CHARGING_STATION.

◆ buildLaneSpeedTrigger()

MSLaneSpeedTrigger * GUITriggerBuilder::buildLaneSpeedTrigger ( MSNet net,
const std::string &  id,
const std::vector< MSLane * > &  destLanes,
const std::string &  file 
)
protectedvirtual

Builds a lane speed trigger.

Simply calls the GUILaneSpeedTrigger constructor.

Parameters
[in]netThe net the lane speed trigger belongs to
[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
See also
MSLaneSpeedTrigger
Exceptions
ProcessErrorIf the XML definition file is errornous

Reimplemented from NLTriggerBuilder.

Definition at line 49 of file GUITriggerBuilder.cpp.

◆ buildMECalibrator()

METriggeredCalibrator * NLTriggerBuilder::buildMECalibrator ( MSNet net,
const std::string &  id,
const MSEdge edge,
double  pos,
const std::string &  file,
const std::string &  outfile,
const SUMOTime  freq,
MSRouteProbe probe,
const std::string &  vTypes 
)
protectedvirtualinherited

builds a mesoscopic calibrator

Simply calls the METriggeredCalibrator constructor.

Parameters
[in]netThe net the calibrator belongs to
[in]idThe id of the calibrator
[in]edgeThe edge the calibrator is placed at
[in]posThe position on the edge the calibrator lies at
[in]fileThe file to read the flows from
Todo:
Is the position correct/needed

Definition at line 397 of file NLTriggerBuilder.cpp.

References MSGlobals::gMesoNet.

Referenced by NLTriggerBuilder::parseAndBuildCalibrator().

◆ buildRerouter()

MSTriggeredRerouter * GUITriggerBuilder::buildRerouter ( MSNet net,
const std::string &  id,
MSEdgeVector edges,
double  prob,
const std::string &  file,
bool  off,
SUMOTime  timeThreshold,
const std::string &  vTypes 
)
protectedvirtual

builds an rerouter

Simply calls the GUITriggeredRerouter constructor.

Parameters
[in]netThe net the rerouter belongs to
[in]idThe id of the rerouter
[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

Reimplemented from NLTriggerBuilder.

Definition at line 59 of file GUITriggerBuilder.cpp.

◆ buildStoppingPlace()

void GUITriggerBuilder::buildStoppingPlace ( MSNet net,
std::string  id,
std::vector< std::string >  lines,
MSLane lane,
double  frompos,
double  topos,
const SumoXMLTag  element,
std::string  string,
int  personCapacity 
)
protectedvirtual

Builds a bus stop.

Simply calls the GUIBusStop / GUIContainerStop constructor.

Parameters
[in]netThe net the stop belongs to
[in]idThe id of the stop
[in]linesNames of the lines that halt on this stop
[in]laneThe lane the stop is placed on
[in]fromposBegin position of the stop on the lane
[in]toposEnd position of the stop on the lane
[in]elementwhich kind of stop is to be built
Exceptions
InvalidArgumentIf the stop can not be added to the net (is duplicate)

Reimplemented from NLTriggerBuilder.

Definition at line 71 of file GUITriggerBuilder.cpp.

References MSNet::addStoppingPlace(), NLTriggerBuilder::myCurrentStop, SUMO_TAG_CONTAINER_STOP, and toString().

◆ buildVaporizer()

void NLTriggerBuilder::buildVaporizer ( const SUMOSAXAttributes attrs)
inherited

Builds a vaporization.

Parses the attributes, reporting errors if the time values are false or the edge is not known. Instatiates events for enabling and disabling the vaporization otherwise.

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

Definition at line 72 of file NLTriggerBuilder.cpp.

References MSEventControl::addEvent(), MSEdge::decVaporization(), MSEdge::dictionary(), SUMOSAXAttributes::get(), MSNet::getBeginOfTimestepEvents(), MSNet::getInstance(), OptionsCont::getOptions(), SUMOSAXAttributes::getSUMOTimeReporting(), MSEdge::incVaporization(), string2time(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, SUMO_ATTR_ID, WRITE_ERROR, and WRITE_WARNING.

Referenced by NLHandler::myStartElement().

◆ endParkingArea()

void GUITriggerBuilder::endParkingArea ( )
protectedvirtual

End a parking area (it must be added to the SUMORTree after all parking spaces are loaded.

Reimplemented from NLTriggerBuilder.

Definition at line 134 of file GUITriggerBuilder.cpp.

References MSNet::getInstance(), and NLTriggerBuilder::myParkingArea.

◆ endStoppingPlace()

void GUITriggerBuilder::endStoppingPlace ( )
protectedvirtual

End a stopping place.

Exceptions
InvalidArgumentIf the current stopping place is 0

Reimplemented from NLTriggerBuilder.

Definition at line 145 of file GUITriggerBuilder.cpp.

References MSNet::getInstance(), and NLTriggerBuilder::myCurrentStop.

◆ getCurrentStop()

MSStoppingPlace * NLTriggerBuilder::getCurrentStop ( )
inherited

◆ getFileName()

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

Helper method to obtain the filename.

Retrieves "file" from attributes, checks whether it is absolute and extends it by the given base path if not. Returns this information.

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 510 of file NLTriggerBuilder.cpp.

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

Referenced by NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildLaneSpeedTrigger(), and NLTriggerBuilder::parseAndBuildRerouter().

◆ getLane()

MSLane * NLTriggerBuilder::getLane ( const SUMOSAXAttributes attrs,
const std::string &  tt,
const std::string &  tid 
)
protectedinherited

Returns the lane defined by attribute "lane".

Retrieves the lane id from the given attrs. Tries to retrieve the lane, throws an InvalidArgument if it does not exist.

Parameters
[in]attrsThe attributes to obtain the lane id from
[in]ttThe trigger type (for user output)
[in]tidThe trigger id (for user output)
Returns
The named lane if it is known
Exceptions
InvalidArgumentIf the named lane does not exist or a lane is not named

Definition at line 531 of file NLTriggerBuilder.cpp.

References MSLane::dictionary(), SUMOSAXAttributes::get(), and SUMO_ATTR_LANE.

Referenced by NLTriggerBuilder::addAccess(), NLTriggerBuilder::parseAndBeginParkingArea(), NLTriggerBuilder::parseAndBuildCalibrator(), NLTriggerBuilder::parseAndBuildChargingStation(), and NLTriggerBuilder::parseAndBuildStoppingPlace().

◆ getPosition()

double NLTriggerBuilder::getPosition ( const SUMOSAXAttributes attrs,
MSLane lane,
const std::string &  tt,
const std::string &  tid,
MSEdge edge = 0 
)
protectedinherited

returns the position on the lane checking it

This method extracts the position, checks whether it shall be mirrored and checks whether it is within the lane. If not, an error is reported and a InvalidArgument is thrown.

Parameters
[in]attrsThe attributes to obtain the position from
[in]laneThe lane the position shall be valid for
[in]ttThe trigger type (for user output)
[in]tidThe trigger id (for user output)
Returns
The position on the lane
Exceptions
InvalidArgumentIf the position is beyond the lane

Definition at line 545 of file NLTriggerBuilder.cpp.

References SUMOSAXAttributes::get(), Named::getID(), MSLane::getLength(), MSEdge::getLength(), SUMOSAXAttributes::getOpt(), SUMO_ATTR_FRIENDLY_POS, and SUMO_ATTR_POSITION.

Referenced by NLTriggerBuilder::parseAndBuildCalibrator().

◆ parseAndAddLotEntry()

void NLTriggerBuilder::parseAndAddLotEntry ( const SUMOSAXAttributes attrs)
inherited

Parses his values and adds a lot entry to current parking area.

Parameters
[in]attrsSAX-attributes which define the lot entry

Definition at line 258 of file NLTriggerBuilder.cpp.

References NLTriggerBuilder::addLotEntry(), SUMOSAXAttributes::get(), MSParkingArea::getAngle(), MSParkingArea::getLength(), SUMOSAXAttributes::getOpt(), MSParkingArea::getWidth(), NLTriggerBuilder::myParkingArea, SUMO_ATTR_ANGLE, SUMO_ATTR_LENGTH, SUMO_ATTR_WIDTH, SUMO_ATTR_X, SUMO_ATTR_Y, and SUMO_ATTR_Z.

Referenced by NLHandler::myStartElement().

◆ parseAndBeginParkingArea()

void NLTriggerBuilder::parseAndBeginParkingArea ( MSNet net,
const SUMOSAXAttributes attrs 
)
inherited

◆ parseAndBuildCalibrator()

◆ parseAndBuildChargingStation()

void NLTriggerBuilder::parseAndBuildChargingStation ( MSNet net,
const SUMOSAXAttributes attrs 
)
inherited

Parses his values and builds a charging station.

Parameters
[in]netThe network the charging station belongs to
[in]attrsSAXattributes which define the trigger
Exceptions
InvalidArgumentIf a parameter (lane/position) is not valid

Definition at line 146 of file NLTriggerBuilder.cpp.

References NLTriggerBuilder::buildChargingStation(), SUMORouteHandler::checkStopPos(), SUMOSAXAttributes::get(), NLTriggerBuilder::getLane(), MSLane::getLength(), SUMOSAXAttributes::getOpt(), NLTriggerBuilder::myHandler, POSITION_EPS, SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGEINTRANSIT, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_EFFICIENCY, SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_ID, SUMO_ATTR_NAME, and SUMO_ATTR_STARTPOS.

Referenced by NLHandler::myStartElement().

◆ parseAndBuildLaneSpeedTrigger()

void NLTriggerBuilder::parseAndBuildLaneSpeedTrigger ( MSNet net,
const SUMOSAXAttributes attrs,
const std::string &  base 
)
inherited

Parses his values and builds a lane speed trigger.

If one of the declaration values is errornous, an InvalidArgument is thrown.

If the XML-file parsed during initialisation is errornous, and the MSLaneSpeedTrigger-constructor throws a ProcessError due to this, this exception is catched and an InvalidArgument with the message given in the ProcessError is thrown.

Parameters
[in]netThe network the lane speed trigger belongs to
[in]attrsSAX-attributes which define the trigger
[in]baseThe base path
Exceptions
InvalidArgumentIf a parameter (lane/position) is not valid or the read definition is errornous
See also
buildLaneSpeedTrigger

Definition at line 109 of file NLTriggerBuilder.cpp.

References NLTriggerBuilder::buildLaneSpeedTrigger(), MSLane::dictionary(), SUMOSAXAttributes::get(), NLTriggerBuilder::getFileName(), NLTriggerBuilder::myHandler, GenericSAXHandler::registerParent(), SUMO_ATTR_ID, SUMO_ATTR_LANES, and SUMO_TAG_VSS.

Referenced by NLHandler::myStartElement().

◆ parseAndBuildRerouter()

void NLTriggerBuilder::parseAndBuildRerouter ( MSNet net,
const SUMOSAXAttributes attrs,
const std::string &  base 
)
inherited

Parses his values and builds a rerouter.

Parameters
[in]netThe network the rerouter belongs to
[in]attrsSAX-attributes which define the trigger
[in]baseThe base path
Exceptions
InvalidArgumentIf a parameter (edge) is not valid

Definition at line 344 of file NLTriggerBuilder.cpp.

References NLTriggerBuilder::buildRerouter(), MSEdge::dictionary(), SUMOSAXAttributes::get(), NLTriggerBuilder::getFileName(), SUMOSAXAttributes::getOpt(), NLTriggerBuilder::myHandler, GenericSAXHandler::registerParent(), XMLSubSys::runParser(), SUMO_ATTR_EDGES, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_ID, SUMO_ATTR_OFF, SUMO_ATTR_PROB, SUMO_ATTR_VTYPES, SUMO_TAG_REROUTER, and TIME2STEPS.

Referenced by NLHandler::myStartElement().

◆ parseAndBuildStoppingPlace()

void NLTriggerBuilder::parseAndBuildStoppingPlace ( MSNet net,
const SUMOSAXAttributes attrs,
const SumoXMLTag  element 
)
inherited

Parses the values and builds a stopping places for busses, trains or container vehicles.

Parameters
[in]netThe network the stop belongs to
[in]attrsSAX-attributes which define the stop
[in]elementwhich kind of stop is to be built
Exceptions
InvalidArgumentIf a parameter (lane/position) is not valid

Definition at line 174 of file NLTriggerBuilder.cpp.

References NLTriggerBuilder::buildStoppingPlace(), SUMORouteHandler::checkStopPos(), SUMOSAXAttributes::get(), NLTriggerBuilder::getLane(), SUMOSAXAttributes::getOpt(), SUMOSAXAttributes::getOptStringVector(), MSStoppingPlace::getPersonsAbreast(), MAX2(), NLTriggerBuilder::myHandler, POSITION_EPS, SUMO_ATTR_ENDPOS, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_ID, SUMO_ATTR_LINES, SUMO_ATTR_NAME, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_STARTPOS, and toString().

Referenced by NLHandler::myStartElement().

◆ setHandler()

void NLTriggerBuilder::setHandler ( NLHandler handler)
inherited

Sets the parent handler to use for nested parsing.

Parameters
[in]handlerThe netload handler to set

Definition at line 66 of file NLTriggerBuilder.cpp.

References NLTriggerBuilder::myHandler.

Referenced by NLBuilder::init(), and GUILoadThread::run().

Field Documentation

◆ myCurrentStop

◆ myHandler

◆ myParkingArea

MSParkingArea* NLTriggerBuilder::myParkingArea
protectedinherited

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