22 #ifndef NLEdgeControlBuilder_h
23 #define NLEdgeControlBuilder_h
88 const std::string& streetName,
const std::string& edgeType,
int priority);
114 virtual void addNeigh(
const std::string
id);
135 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.
EdgeBasicFunction
Defines possible edge types.
MSEdge * myActiveEdge
pointer to the currently chosen edge
The simulated network and simulation perfomer.
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.
int myCurrentNumericalEdgeID
A running number for edge numbering.
virtual void addNeigh(const std::string id)
Adds a neighbor to the current lane.
virtual MSLane * addLane(const std::string &id, SUMOReal maxSpeed, SUMOReal length, const PositionVector &shape, SUMOReal width, SVCPermissions permissions, int index)
Adds a lane to the current edge.
int myCurrentNumericalLaneID
A running number for lane numbering.
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.
virtual void addCrossingEdges(const std::vector< std::string > &)
add the crossingEdges in a crossing edge if present
std::vector< MSEdge * > MSEdgeVector
Representation of a lane in the micro simulation.
Interface for building edges.