|
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 More... | |
| ~MainDirections () | |
| destructor More... | |
Data Fields | |
| std::vector< Direction > | myDirs |
Private Member Functions | |
| MainDirections (const MainDirections &) | |
| Invalidated copy constructor. More... | |
| MainDirections & | operator= (const MainDirections &) |
| Invalidated assignment operator. More... | |
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 118 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 155 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 159 of file NBEdge.cpp.
Referenced by NBEdge::prepareEdgePriorities().
| bool NBEdge::MainDirections::includes | ( | Direction | d | ) | const |
returns the information whether the street in the given direction has a higher priority
Definition at line 165 of file NBEdge.cpp.
Referenced by NBEdge::prepareEdgePriorities().
|
private |
Invalidated assignment operator.
| std::vector<Direction> NBEdge::MainDirections::myDirs |