22 #ifndef NLEdgeControlBuilder_h 23 #define NLEdgeControlBuilder_h 88 const std::string& streetName,
const std::string& edgeType,
int priority);
129 const std::string& streetName,
const std::string& edgeType,
const int priority);
virtual MSEdge * closeEdge()
Closes the building of an edge; The edge is completely described by now and may not be opened again...
virtual MSEdge * buildEdge(const std::string &id, const MSEdge::EdgeBasicFunction function, const std::string &streetName, const std::string &edgeType, const int priority)
Builds an edge instance (MSEdge in this case)
MSEdgeVector myEdges
Temporary, internal storage for built edges.
unsigned int myCurrentNumericalLaneID
A running number for lane numbering.
EdgeBasicFunction
Defines possible edge types.
MSEdge * myActiveEdge
pointer to the currently chosen edge
The simulated network and simulation perfomer.
unsigned int myCurrentNumericalEdgeID
A running number for edge numbering.
A road/street connecting two junctions.
NLEdgeControlBuilder & operator=(const NLEdgeControlBuilder &s)
invalidated assignment operator
MSEdgeControl * build()
builds the MSEdgeControl-class which holds all edges
std::vector< MSLane * > * myLaneStorage
pointer to a temporary lane storage
NLEdgeControlBuilder()
Constructor.
Stores edges and lanes, performs moving of vehicle.
virtual ~NLEdgeControlBuilder()
Destructor.
virtual MSLane * addLane(const std::string &id, SUMOReal maxSpeed, SUMOReal length, const PositionVector &shape, SUMOReal width, SVCPermissions permissions)
Adds a lane to the current edge;.
void beginEdgeParsing(const std::string &id, const MSEdge::EdgeBasicFunction function, const std::string &streetName, const std::string &edgeType, int priority)
Begins building of an MSEdge.
Static storage of an output device and its base (abstract) implementation.
std::vector< MSEdge * > MSEdgeVector
Representation of a lane in the micro simulation.
Interface for building edges.