SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MSLinkContHelper Class Reference

#include <MSLinkCont.h>

Static Public Member Functions

static MSLinkgetConnectingLink (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 connection exists. More...
 

Detailed Description

Some helping functions for dealing with links.

Definition at line 58 of file MSLinkCont.h.

Member Function Documentation

MSLink * MSLinkContHelper::getConnectingLink ( const MSLane from,
const MSLane to 
)
static

Returns the link connecting both lanes Both lanes have to be non-internal; 0 may be returned if no connection exists.

Definition at line 64 of file MSLinkCont.cpp.

References MSLink::getLane(), MSLane::getLinkCont(), and MSLink::getViaLaneOrLane().

Referenced by NLDetectorBuilder::buildE2Detector(), MSEdge::laneChangeAllowed(), and MSLink::lastWasContMajor().


The documentation for this class was generated from the following files: