Eclipse SUMO - Simulation of Urban MObility
GNERouteHandler.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
14 // Builds demand objects for netedit
15 /****************************************************************************/
16 #ifndef GNERouteHandler_h
17 #define GNERouteHandler_h
18 
19 // ===========================================================================
20 // included modules
21 // ===========================================================================
22 
23 #include <config.h>
24 
30 
31 
32 // ===========================================================================
33 // class declarations
34 // ===========================================================================
35 
36 class GNEViewNet;
37 class GNEEdge;
38 class GNETAZ;
39 class GNEDemandElement;
40 class GNEVehicle;
41 class GNEPerson;
42 class GNEUndoList;
43 
44 // ===========================================================================
45 // class definitions
46 // ===========================================================================
47 
51 public:
53  struct RouteParameter {
54 
57 
59  RouteParameter(GNEDemandElement* originalDemandElement);
60 
62  void setEdges(GNEViewNet* viewNet, const std::string& edgeIDs);
63 
65  void setEdges(GNEViewNet* viewNet, const std::string& vehicleID, const std::string& fromID, const std::string& toID, const std::string& viaIDs);
66 
68  std::string routeID;
69 
71  bool loadedID;
72 
74  std::vector<GNEEdge*> edges;
75 
78 
81 
84  };
85 
87  GNERouteHandler(const std::string& file, GNEViewNet* viewNet, bool undoDemandElements = true);
88 
91 
93  static bool isVehicleIdDuplicated(GNEViewNet* viewNet, const std::string& id);
94 
96  static bool isPersonIdDuplicated(GNEViewNet* viewNet, const std::string& id);
97 
101  static void buildVehicleOverRoute(GNEViewNet* viewNet, bool undoDemandElements, const SUMOVehicleParameter& vehicleParameters);
102 
104  static void buildFlowOverRoute(GNEViewNet* viewNet, bool undoDemandElements, const SUMOVehicleParameter& vehicleParameters);
105 
107  static void buildVehicleWithEmbeddedRoute(GNEViewNet* viewNet, bool undoDemandElements, SUMOVehicleParameter vehicleParameters, GNEDemandElement* embeddedRouteCopy);
108 
110  static void buildFlowWithEmbeddedRoute(GNEViewNet* viewNet, bool undoDemandElements, SUMOVehicleParameter vehicleParameters, GNEDemandElement* embeddedRouteCopy);
111 
113  static void buildTrip(GNEViewNet* viewNet, bool undoDemandElements, const SUMOVehicleParameter& vehicleParameters, GNEEdge* fromEdge, GNEEdge* toEdge, const std::vector<GNEEdge*>& via);
114 
116  static void buildFlow(GNEViewNet* viewNet, bool undoDemandElements, const SUMOVehicleParameter& vehicleParameters, GNEEdge* fromEdge, GNEEdge* toEdge, const std::vector<GNEEdge*>& via);
117 
119  static void buildStop(GNEViewNet* viewNet, bool undoDemandElements, const SUMOVehicleParameter::Stop& stopParameters, GNEDemandElement* stopParent);
120 
122  static void buildPerson(GNEViewNet* viewNet, bool undoDemandElements, const SUMOVehicleParameter& personParameters);
123 
125  static void buildPersonFlow(GNEViewNet* viewNet, bool undoDemandElements, const SUMOVehicleParameter& personFlowParameters);
126 
128  static void buildPersonTripFromTo(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, GNEEdge* fromEdge, GNEEdge* toEdge, double arrivalPos,
129  const std::vector<std::string>& types, const std::vector<std::string>& modes);
130 
132  static void buildPersonTripBusStop(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, GNEEdge* fromEdge, GNEAdditional* busStop,
133  const std::vector<std::string>& types, const std::vector<std::string>& modes);
134 
136  static void buildWalkEdges(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, const std::vector<GNEEdge*>& edges, double arrivalPos);
137 
139  static void buildWalkFromTo(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, GNEEdge* fromEdge, GNEEdge* toEdge, double arrivalPos);
140 
142  static void buildWalkBusStop(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, GNEEdge* fromEdge, GNEAdditional* busStop);
143 
145  static void buildWalkRoute(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, GNEDemandElement* route, double arrivalPos);
146 
148  static void buildRideFromTo(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, GNEEdge* fromEdge, GNEEdge* toEdge, const std::vector<std::string>& lines, double arrivalPos);
149 
151  static void buildRideBusStop(GNEViewNet* viewNet, bool undoDemandElements, GNEDemandElement* personParent, GNEEdge* fromEdge, GNEAdditional* busStop, const std::vector<std::string>& lines);
152 
154 
157 
159  static void transformToVehicle(GNEVehicle* originalVehicle, bool createEmbeddedRoute);
160 
162  static void transformToRouteFlow(GNEVehicle* originalVehicle, bool createEmbeddedRoute);
163 
165  static void transformToTrip(GNEVehicle* originalVehicle);
166 
168  static void transformToFlow(GNEVehicle* originalVehicle);
169 
171 
174 
176  static void transformToPerson(GNEPerson* originalPerson);
177 
179  static void transformToPersonFlow(GNEPerson* originalPerson);
180 
182 
184  static void setFlowParameters(const SumoXMLAttr attribute, int& parameters);
185 
186 protected:
188  static void embebbeRoute(GNEVehicle* vehicle, GNEUndoList* undoList);
189 
191  static GNEVehicle* separateEmbeddedRoute(GNEVehicle* vehicle, GNEUndoList* undoList);
192 
195 
198 
200  void openRoute(const SUMOSAXAttributes& attrs);
201 
203  void openFlow(const SUMOSAXAttributes& attrs);
204 
206  void openTrip(const SUMOSAXAttributes& attrs);
207 
214  void closeRoute(const bool mayBeDisconnected = false);
215 
217  void openRouteDistribution(const SUMOSAXAttributes& attrs);
218 
220  void closeRouteDistribution();
221 
223  void closeVehicle();
224 
226  void closeVType();
227 
229  void closePerson();
230 
232  void closePersonFlow();
233 
235  void closeContainer();
236 
238  void closeFlow();
239 
241  void closeTrip();
242 
244  void addStop(const SUMOSAXAttributes& attrs);
245 
247  void addPersonTrip(const SUMOSAXAttributes& attrs);
248 
250  void addWalk(const SUMOSAXAttributes& attrs);
251 
253  void addPerson(const SUMOSAXAttributes& attrs);
254 
256  void addContainer(const SUMOSAXAttributes& attrs);
257 
259  void addRide(const SUMOSAXAttributes& attrs);
260 
262  void addTransport(const SUMOSAXAttributes& attrs);
263 
265  void addTranship(const SUMOSAXAttributes& attrs);
266 
267 private:
272 
274  GNEEdge* getLastEdge() const;
275 
278 
281 
284 
286  std::vector<GNEEdge*> via;
287 
289  std::vector<GNEEdge*> edges;
290 
293 
296 
299 
302 
305 
307  std::vector<std::string> vTypes;
308 
310  std::vector<std::string> modes;
311 
313  std::vector<std::string> lines;
314 
316  double arrivalPos;
317 
320 
323  };
324 
327 
329  std::vector<PersonPlansValues> myPersonPlanValues;
330 
333 
335  bool myAbort;
336 
339 
342 };
343 
344 
345 #endif
GNERouteHandler::PersonPlansValues::busStop
GNEAdditional * busStop
busStop
Definition: GNERouteHandler.h:292
SUMOVehicleClass
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
Definition: SUMOVehicleClass.h:133
GNERouteHandler::GNERouteHandler
GNERouteHandler(const std::string &file, GNEViewNet *viewNet, bool undoDemandElements=true)
Constructor.
Definition: GNERouteHandler.cpp:116
GNERouteHandler::myRouteParameter
RouteParameter myRouteParameter
NETEDIT Route Parameters.
Definition: GNERouteHandler.h:332
GNERouteHandler::transformToVehicle
static void transformToVehicle(GNEVehicle *originalVehicle, bool createEmbeddedRoute)
transform vehicle functions
Definition: GNERouteHandler.cpp:774
GNERouteHandler::closeVehicle
void closeVehicle()
Ends the processing of a vehicle.
Definition: GNERouteHandler.cpp:1283
GNERouteHandler::RouteParameter::setEdges
void setEdges(GNEViewNet *viewNet, const std::string &edgeIDs)
set edges (list of consecutive edges)
Definition: GNERouteHandler.cpp:70
GNEDemandElement
An Element which don't belongs to GNENet but has influency in the simulation.
Definition: GNEDemandElement.h:55
GNERouteHandler
Builds trigger objects for GNENet (busStops, chargingStations, detectors, etc..)
Definition: GNERouteHandler.h:50
GNEAdditional
An Element which don't belongs to GNENet but has influency in the simulation.
Definition: GNEAdditional.h:48
GNERouteHandler::buildPersonTripFromTo
static void buildPersonTripFromTo(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, GNEEdge *fromEdge, GNEEdge *toEdge, double arrivalPos, const std::vector< std::string > &types, const std::vector< std::string > &modes)
build trip using a from-to edges
Definition: GNERouteHandler.cpp:583
GNERouteHandler::addContainer
void addContainer(const SUMOSAXAttributes &attrs)
Processing of a container.
Definition: GNERouteHandler.cpp:1875
Parameterised
An upper class for objects with additional parameters.
Definition: Parameterised.h:42
GNERouteHandler::closeTrip
void closeTrip()
Ends the processing of a trip.
Definition: GNERouteHandler.cpp:1512
GNERouteHandler::buildVehicleOverRoute
static void buildVehicleOverRoute(GNEViewNet *viewNet, bool undoDemandElements, const SUMOVehicleParameter &vehicleParameters)
build functions
Definition: GNERouteHandler.cpp:152
GNERouteHandler::buildStop
static void buildStop(GNEViewNet *viewNet, bool undoDemandElements, const SUMOVehicleParameter::Stop &stopParameters, GNEDemandElement *stopParent)
build stop
Definition: GNERouteHandler.cpp:440
GNERouteHandler::RouteParameter::edges
std::vector< GNEEdge * > edges
edges
Definition: GNERouteHandler.h:74
GNERouteHandler::PersonPlansValues::parkingArea
GNEAdditional * parkingArea
parkingArea
Definition: GNERouteHandler.h:301
GNERouteHandler::isPersonIdDuplicated
static bool isPersonIdDuplicated(GNEViewNet *viewNet, const std::string &id)
check if there is already a person (Person or PersonFlow) with the given ID
Definition: GNERouteHandler.cpp:140
GNERouteHandler::buildRideFromTo
static void buildRideFromTo(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, GNEEdge *fromEdge, GNEEdge *toEdge, const std::vector< std::string > &lines, double arrivalPos)
build ride using a from-to edges
Definition: GNERouteHandler.cpp:728
GNERouteHandler::closeFlow
void closeFlow()
Ends the processing of a routeFlow.
Definition: GNERouteHandler.cpp:1491
GNERouteHandler::isVehicleIdDuplicated
static bool isVehicleIdDuplicated(GNEViewNet *viewNet, const std::string &id)
check if there is already a vehicle (Vehicle, Trip, Flow or Flow) with the given ID
Definition: GNERouteHandler.cpp:128
GNERouteHandler::RouteParameter::loadedID
bool loadedID
flag to check if route was loaded
Definition: GNERouteHandler.h:71
GNERouteHandler::transformToTrip
static void transformToTrip(GNEVehicle *originalVehicle)
transform to trip
Definition: GNERouteHandler.cpp:894
GNERouteHandler::myLoadedVehicleWithEmbebbedRoute
GNEDemandElement * myLoadedVehicleWithEmbebbedRoute
Pointer to loaded vehicle with embebbed route (needed for GNEStops)
Definition: GNERouteHandler.h:341
GNERouteHandler::~GNERouteHandler
~GNERouteHandler()
Destructor.
Definition: GNERouteHandler.cpp:124
SUMOSAXHandler.h
GNERouteHandler::embebbeRoute
static void embebbeRoute(GNEVehicle *vehicle, GNEUndoList *undoList)
embebbe route within a vehicle
Definition: GNERouteHandler.cpp:1094
GNERouteHandler::openTrip
void openTrip(const SUMOSAXAttributes &attrs)
opens a trip for reading
Definition: GNERouteHandler.cpp:1167
GNERouteHandler::openVehicleTypeDistribution
void openVehicleTypeDistribution(const SUMOSAXAttributes &attrs)
opens a type distribution for reading
Definition: GNERouteHandler.cpp:1125
GNERouteHandler::closeContainer
void closeContainer()
Ends the processing of a container.
Definition: GNERouteHandler.cpp:1485
GNERouteHandler::buildRideBusStop
static void buildRideBusStop(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, GNEEdge *fromEdge, GNEAdditional *busStop, const std::vector< std::string > &lines)
build ride using a from edge and a busStop
Definition: GNERouteHandler.cpp:751
GNEViewNet
Definition: GNEViewNet.h:42
GNERouteHandler::transformToPerson
static void transformToPerson(GNEPerson *originalPerson)
transform person functions
Definition: GNERouteHandler.cpp:1021
SUMOVehicleParameter
Structure representing possible vehicle parameter.
Definition: SUMOVehicleParameter.h:297
GNERouteHandler::transformToFlow
static void transformToFlow(GNEVehicle *originalVehicle)
transform to flow
Definition: GNERouteHandler.cpp:959
GNERouteHandler::buildTrip
static void buildTrip(GNEViewNet *viewNet, bool undoDemandElements, const SUMOVehicleParameter &vehicleParameters, GNEEdge *fromEdge, GNEEdge *toEdge, const std::vector< GNEEdge * > &via)
build trip
Definition: GNERouteHandler.cpp:340
GNERouteHandler::PersonPlansValues::from
GNEEdge * from
from edge
Definition: GNERouteHandler.h:280
GNERouteHandler::PersonPlansValues::modes
std::vector< std::string > modes
modes
Definition: GNERouteHandler.h:310
SumoXMLTag
SumoXMLTag
Numbers representing SUMO-XML - element names.
Definition: SUMOXMLDefinitions.h:41
GNERouteHandler::PersonPlansValues::route
GNEDemandElement * route
arrival route
Definition: GNERouteHandler.h:304
GNERouteHandler::RouteParameter::color
RGBColor color
string for saving parsed route colors
Definition: GNERouteHandler.h:80
GNEEdge
A road/street connecting two junctions (netedit-version)
Definition: GNEEdge.h:51
GNERouteHandler::buildWalkRoute
static void buildWalkRoute(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, GNEDemandElement *route, double arrivalPos)
build walk using a list of consecutive edges
Definition: GNERouteHandler.cpp:707
GNERouteHandler::closePersonFlow
void closePersonFlow()
Ends the processing of a personFlow.
Definition: GNERouteHandler.cpp:1476
GNERouteHandler::setFlowParameters
static void setFlowParameters(const SumoXMLAttr attribute, int &parameters)
configure flow parameters
Definition: GNERouteHandler.cpp:1033
GNERouteHandler::PersonPlansValues::arrivalPos
double arrivalPos
arrival pos
Definition: GNERouteHandler.h:316
GNERouteHandler::RouteParameter
struct for saving route parameters
Definition: GNERouteHandler.h:53
RGBColor
Definition: RGBColor.h:39
GNERouteHandler::PersonPlansValues::via
std::vector< GNEEdge * > via
via edges
Definition: GNERouteHandler.h:286
GNERouteHandler::openFlow
void openFlow(const SUMOSAXAttributes &attrs)
opens a routeFlow for reading
Definition: GNERouteHandler.cpp:1155
GNERouteHandler::PersonPlansValues::tag
SumoXMLTag tag
walk tag
Definition: GNERouteHandler.h:277
GNERouteHandler::addRide
void addRide(const SUMOSAXAttributes &attrs)
Processing of a ride.
Definition: GNERouteHandler.cpp:1881
GNERouteHandler::PersonPlansValues::vTypes
std::vector< std::string > vTypes
vehicle types
Definition: GNERouteHandler.h:307
SUMOVehicleClass.h
GNERouteHandler::PersonPlansValues::stopParameters
SUMOVehicleParameter::Stop stopParameters
stop parameters
Definition: GNERouteHandler.h:322
GNERouteHandler::buildWalkBusStop
static void buildWalkBusStop(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, GNEEdge *fromEdge, GNEAdditional *busStop)
build walk using a from edge an a busStop
Definition: GNERouteHandler.cpp:685
GNERouteHandler::RouteParameter::RouteParameter
RouteParameter()
constructor
Definition: GNERouteHandler.cpp:52
GNERouteHandler::RouteParameter::routeID
std::string routeID
string for saving parsed Route ID
Definition: GNERouteHandler.h:68
GNETAZ
Definition: GNETAZ.h:34
GNERouteHandler::PersonPlansValues::getLastEdge
GNEEdge * getLastEdge() const
return last valid edge (used to create consecutive person plans)
Definition: GNERouteHandler.cpp:1975
GNERouteHandler::buildPerson
static void buildPerson(GNEViewNet *viewNet, bool undoDemandElements, const SUMOVehicleParameter &personParameters)
build person
Definition: GNERouteHandler.cpp:531
GNERouteHandler::openRoute
void openRoute(const SUMOSAXAttributes &attrs)
opens a route for reading
Definition: GNERouteHandler.cpp:1137
GNERouteHandler::PersonPlansValues::containerStop
GNEAdditional * containerStop
containerStop
Definition: GNERouteHandler.h:295
GNEPerson
Definition: GNEPerson.h:36
GNERouteHandler::transformToRouteFlow
static void transformToRouteFlow(GNEVehicle *originalVehicle, bool createEmbeddedRoute)
transform routeFlow over an existent route
Definition: GNERouteHandler.cpp:834
GNERouteHandler::addPerson
void addPerson(const SUMOSAXAttributes &attrs)
Processing of a person.
Definition: GNERouteHandler.cpp:1869
GNERouteHandler::addTranship
void addTranship(const SUMOSAXAttributes &attrs)
Processing of a tranship.
Definition: GNERouteHandler.cpp:1952
GNERouteHandler::PersonPlansValues::lines
std::vector< std::string > lines
lines
Definition: GNERouteHandler.h:313
GNERouteHandler::closePerson
void closePerson()
Ends the processing of a person.
Definition: GNERouteHandler.cpp:1330
GNERouteHandler::PersonPlansValues
struct used for load person plans (Rides, Walks, etc.)
Definition: GNERouteHandler.h:269
GNERouteHandler::PersonPlansValues::edges
std::vector< GNEEdge * > edges
list of edges
Definition: GNERouteHandler.h:289
GNERouteHandler::RouteParameter::parameters
Parameterised parameters
parameters
Definition: GNERouteHandler.h:83
GNERouteHandler::myViewNet
GNEViewNet * myViewNet
pointer to View's Net
Definition: GNERouteHandler.h:326
GNERouteHandler::openRouteDistribution
void openRouteDistribution(const SUMOSAXAttributes &attrs)
opens a route distribution for reading
Definition: GNERouteHandler.cpp:1271
GNERouteHandler::myUndoDemandElements
bool myUndoDemandElements
flag to check if created demand elements must be undo and redo
Definition: GNERouteHandler.h:338
GNERouteHandler::closeRoute
void closeRoute(const bool mayBeDisconnected=false)
Definition: GNERouteHandler.cpp:1179
GNERouteHandler::buildVehicleWithEmbeddedRoute
static void buildVehicleWithEmbeddedRoute(GNEViewNet *viewNet, bool undoDemandElements, SUMOVehicleParameter vehicleParameters, GNEDemandElement *embeddedRouteCopy)
build vehicle with a embedded route
Definition: GNERouteHandler.cpp:240
GNERouteHandler::buildPersonFlow
static void buildPersonFlow(GNEViewNet *viewNet, bool undoDemandElements, const SUMOVehicleParameter &personFlowParameters)
build person flow
Definition: GNERouteHandler.cpp:557
GNERouteHandler::RouteParameter::vClass
SUMOVehicleClass vClass
vClass used by this route
Definition: GNERouteHandler.h:77
SUMORouteHandler.h
GNERouteHandler::myPersonPlanValues
std::vector< PersonPlansValues > myPersonPlanValues
container for person trips loaded values
Definition: GNERouteHandler.h:329
GNERouteHandler::buildPersonTripBusStop
static void buildPersonTripBusStop(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, GNEEdge *fromEdge, GNEAdditional *busStop, const std::vector< std::string > &types, const std::vector< std::string > &modes)
build trip using a from edge and a busStop
Definition: GNERouteHandler.cpp:604
GNERouteHandler::addStop
void addStop(const SUMOSAXAttributes &attrs)
Processing of a stop.
Definition: GNERouteHandler.cpp:1529
SUMOSAXAttributes.h
GNEVehicle
Definition: GNEVehicle.h:35
GNERouteHandler::closeVType
void closeVType()
Ends the processing of a vehicle Type.
Definition: GNERouteHandler.cpp:1302
GNERouteHandler::addPersonTrip
void addPersonTrip(const SUMOSAXAttributes &attrs)
add a routing request for a walking or intermodal person
Definition: GNERouteHandler.cpp:1667
GNERouteHandler::transformToPersonFlow
static void transformToPersonFlow(GNEPerson *originalPerson)
transform routeFlow over an existent route
Definition: GNERouteHandler.cpp:1027
GNERouteHandler::addTransport
void addTransport(const SUMOSAXAttributes &attrs)
Processing of a transport.
Definition: GNERouteHandler.cpp:1946
SUMORouteHandler
Parser for routes during their loading.
Definition: SUMORouteHandler.h:50
config.h
GNERouteHandler::PersonPlansValues::to
GNEEdge * to
to edge
Definition: GNERouteHandler.h:283
GNERouteHandler::separateEmbeddedRoute
static GNEVehicle * separateEmbeddedRoute(GNEVehicle *vehicle, GNEUndoList *undoList)
separate vehicle and embedded route
Definition: GNERouteHandler.cpp:1108
GNEUndoList
Definition: GNEUndoList.h:48
GNERouteHandler::PersonPlansValues::laneStop
GNELane * laneStop
laneStop
Definition: GNERouteHandler.h:319
GNERouteHandler::closeRouteDistribution
void closeRouteDistribution()
closes (ends) the building of a distribution
Definition: GNERouteHandler.cpp:1277
GNERouteHandler::buildFlowOverRoute
static void buildFlowOverRoute(GNEViewNet *viewNet, bool undoDemandElements, const SUMOVehicleParameter &vehicleParameters)
build a flow over an existent route
Definition: GNERouteHandler.cpp:196
SumoXMLAttr
SumoXMLAttr
Numbers representing SUMO-XML - attributes.
Definition: SUMOXMLDefinitions.h:372
GNERouteHandler::buildFlow
static void buildFlow(GNEViewNet *viewNet, bool undoDemandElements, const SUMOVehicleParameter &vehicleParameters, GNEEdge *fromEdge, GNEEdge *toEdge, const std::vector< GNEEdge * > &via)
build flow
Definition: GNERouteHandler.cpp:390
GNERouteHandler::closeVehicleTypeDistribution
void closeVehicleTypeDistribution()
closes (ends) the building of a distribution
Definition: GNERouteHandler.cpp:1131
GNERouteHandler::myAbort
bool myAbort
flag used for parsing values
Definition: GNERouteHandler.h:335
GNERouteHandler::PersonPlansValues::chargingStation
GNEAdditional * chargingStation
chargingStation
Definition: GNERouteHandler.h:298
SUMOSAXAttributes
Encapsulated SAX-Attributes.
Definition: SUMOSAXAttributes.h:56
GNELane
This lane is powered by an underlying GNEEdge and basically knows how to draw itself.
Definition: GNELane.h:45
GNERouteHandler::addWalk
void addWalk(const SUMOSAXAttributes &attrs)
add a fully specified walk
Definition: GNERouteHandler.cpp:1779
SUMOXMLDefinitions.h
GNERouteHandler::buildWalkFromTo
static void buildWalkFromTo(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, GNEEdge *fromEdge, GNEEdge *toEdge, double arrivalPos)
build walk using a from-to edges
Definition: GNERouteHandler.cpp:662
GNERouteHandler::buildFlowWithEmbeddedRoute
static void buildFlowWithEmbeddedRoute(GNEViewNet *viewNet, bool undoDemandElements, SUMOVehicleParameter vehicleParameters, GNEDemandElement *embeddedRouteCopy)
build flow with a embedded route
Definition: GNERouteHandler.cpp:290
SUMOVehicleParameter::Stop
Definition of vehicle stop (position and duration)
Definition: SUMOVehicleParameter.h:572
GNERouteHandler::PersonPlansValues::PersonPlansValues
PersonPlansValues()
default constructor
Definition: GNERouteHandler.cpp:1960
GNERouteHandler::buildWalkEdges
static void buildWalkEdges(GNEViewNet *viewNet, bool undoDemandElements, GNEDemandElement *personParent, const std::vector< GNEEdge * > &edges, double arrivalPos)
build walk using a list of consecutive edges
Definition: GNERouteHandler.cpp:627