SUMO - Simulation of Urban MObility
NBEdge::MainDirections Class Reference

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< DirectionmyDirs

Private Member Functions

 MainDirections (const MainDirections &)
 Invalidated copy constructor.
MainDirectionsoperator= (const MainDirections &)
 Invalidated assignment operator.

Detailed Description

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

Definition at line 1003 of file NBEdge.h.


Member Enumeration Documentation

enum of possible directions

Enumerator:
DIR_RIGHTMOST 
DIR_LEFTMOST 
DIR_FORWARD 

Definition at line 1006 of file NBEdge.h.


Constructor & Destructor Documentation

NBEdge::MainDirections::MainDirections ( const EdgeVector outgoing,
NBEdge parent,
NBNode to 
)

destructor

Definition at line 143 of file NBEdge.cpp.

Invalidated copy constructor.


Member Function Documentation

returns the information whether no following street has a higher priority

Definition at line 147 of file NBEdge.cpp.

Referenced by NBEdge::preparePriorities().

returns the information whether the street in the given direction has a higher priority

Definition at line 153 of file NBEdge.cpp.

Referenced by NBEdge::preparePriorities().

MainDirections& NBEdge::MainDirections::operator= ( const MainDirections ) [private]

Invalidated assignment operator.


Field Documentation

list of the main direction within the following junction relative to the edge

Definition at line 1010 of file NBEdge.h.


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines