 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
50 double maxSpeed,
double length,
54 int index,
bool isRampAccel,
55 const std::string& type) {
56 MSLane* lane =
new GUILane(
id, maxSpeed, length,
myActiveEdge,
myCurrentNumericalLaneID++, shape, width, permissions, index, isRampAccel, type);
66 const std::string& streetName,
const std::string& edgeType,
const int priority,
const double distance) {
int myCurrentNumericalEdgeID
A running number for edge numbering.
MSEdge * myActiveEdge
pointer to the currently chosen edge
Representation of a lane in the micro simulation.
Interface for building edges.
int myCurrentLaneIndex
The index of the currently active lane (-1 if none is active)
GUIEdgeControlBuilder()
Constructor.
int myCurrentNumericalLaneID
A running number for lane numbering.
SumoXMLEdgeFunc
Numbers representing special SUMO-XML-attribute values for representing edge functions used in netbui...
MSEdge * buildEdge(const std::string &id, const SumoXMLEdgeFunc function, const std::string &streetName, const std::string &edgeType, const int priority, const double distance)
Builds an edge instance (GUIEdge in this case)
~GUIEdgeControlBuilder()
Destructor.
int SVCPermissions
bitset where each bit declares whether a certain SVC may use this edge/lane
A road/street connecting two junctions.
Representation of a lane in the micro simulation (gui-version)
A road/street connecting two junctions (gui-version)
std::vector< MSLane * > * myLaneStorage
pointer to a temporary lane storage
virtual MSLane * addLane(const std::string &id, double maxSpeed, double length, const PositionVector &shape, double width, SVCPermissions permissions, int index, bool isRampAccel, const std::string &type)
Builds and adds a lane.