35 #ifdef CHECK_MEMORY_LEAKS 37 #endif // CHECK_MEMORY_LEAKS 43 #ifdef HAVE_INTERNAL_LANES 45 MSLinkContHelper::getInternalFollowingEdge(
const MSLane* fromLane,
46 const MSEdge* followerAfterInternal) {
49 for (MSLinkCont::const_iterator j = lc.begin(); j != lc.end(); j++) {
52 if (link->getViaLane() != 0) {
53 return &link->getViaLane()->getEdge();
64 MSLinkContHelper::getInternalFollowingLane(
const MSLane* fromLane,
65 const MSLane* followerAfterInternal) {
68 for (MSLinkCont::const_iterator j = lc.begin(); j != lc.end(); j++) {
70 if (link->
getLane() == followerAfterInternal) {
71 if (link->getViaLane() != 0) {
72 return link->getViaLane();
86 for (MSLinkCont::const_iterator j = lc.begin(); j != lc.end(); j++) {
MSEdge & getEdge() const
Returns the lane's edge.
MSLane * getLane() const
Returns the connected lane.
A road/street connecting two junctions.
static MSLink * getConnectingLink(const MSLane &from, const MSLane &to)
Returns the link connecting both lanes Both lanes have to be non-internal; 0 may be returned if no co...
MSLane * getViaLaneOrLane() const
return the via lane if it exists and the lane otherwise
const MSLinkCont & getLinkCont() const
returns the container with all links !!!
Representation of a lane in the micro simulation.