SUMO - Simulation of Urban MObility
|
Public Types | |
enum | Direction { DIR_RIGHTMOST, DIR_LEFTMOST, DIR_FORWARD } |
enum of possible directions More... |
Public Member Functions | |
bool | empty () const |
bool | includes (Direction d) const |
MainDirections (const EdgeVector &outgoing, NBEdge *parent, NBNode *to) | |
constructor | |
~MainDirections () | |
destructor |
Data Fields | |
std::vector< Direction > | myDirs |
Private Member Functions | |
MainDirections (const MainDirections &) | |
Invalidated copy constructor. | |
MainDirections & | operator= (const MainDirections &) |
Invalidated assignment operator. |
MainDirections Holds (- relative to the edge it is build from -!!!) the list of main directions a vehicle that drives on this street may take on the junction the edge ends in The back direction is not regarded
NBEdge::MainDirections::MainDirections | ( | const EdgeVector & | outgoing, |
NBEdge * | parent, | ||
NBNode * | to | ||
) |
constructor
Definition at line 113 of file NBEdge.cpp.
References DIR_FORWARD, DIR_LEFTMOST, DIR_RIGHTMOST, NBNode::getDirection(), NBEdge::getJunctionPriority(), and LINKDIR_STRAIGHT.
NBEdge::MainDirections::~MainDirections | ( | ) |
destructor
Definition at line 150 of file NBEdge.cpp.
|
private |
Invalidated copy constructor.
bool NBEdge::MainDirections::empty | ( | ) | const |
returns the information whether no following street has a higher priority
Definition at line 154 of file NBEdge.cpp.
Referenced by NBEdge::prepareEdgePriorities().
returns the information whether the street in the given direction has a higher priority
Definition at line 160 of file NBEdge.cpp.
Referenced by NBEdge::prepareEdgePriorities().
|
private |
Invalidated assignment operator.
std::vector<Direction> NBEdge::MainDirections::myDirs |