50 #ifdef CHECK_MEMORY_LEAKS 52 #endif // CHECK_MEMORY_LEAKS 62 :
Named(id), myStartNode(startNode), myEndNode(endNode) {
NBTypeCont & getTypeCont()
Returns the type container.
The representation of a single edge during network building.
void removeLink(NGEdge *link)
Removes the given link.
NGEdge(const std::string &id, NGNode *startNode, NGNode *endNode)
Constructor.
static const SUMOReal UNSPECIFIED_OFFSET
unspecified lane offset
SUMOReal getWidth(const std::string &type) const
Returns the lane width for the given type [m].
const std::string & getID() const
Returns the id.
SUMOReal getSpeed(const std::string &type) const
Returns the maximal velocity for the given type [m/s].
int getNumLanes(const std::string &type) const
Returns the number of lanes for the given type.
int getPriority(const std::string &type) const
Returns the priority for the given type.
Base class for objects which have an id.
std::string myID
The name of the object.
NBEdge * buildNBEdge(NBNetBuilder &nb) const
Builds and returns this link's netbuild-representation.
NBNodeCont & getNodeCont()
Returns the node container.
NGNode * myEndNode
The node the edge ends at.
Instance responsible for building networks.
NBNode * retrieve(const std::string &id) const
Returns the node with the given name.
A netgen-representation of a node.
NGNode * myStartNode
The node the edge starts at.
void addLink(NGEdge *link)
Adds the given link to the internal list.