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