|
SUMO - Simulation of Urban MObility
|
Public Member Functions | |
| void | execute (const unsigned int lane, const unsigned int virtEdge) |
| executes a bresenham - step | |
| const std::map< NBEdge *, std::vector< unsigned int > > & | getBuiltConnections () const |
| ToEdgeConnectionsAdder (const EdgeVector &transitions) | |
| constructor | |
| ~ToEdgeConnectionsAdder () | |
| destructor | |
Private Member Functions | |
| ToEdgeConnectionsAdder & | operator= (const ToEdgeConnectionsAdder &) |
| Invalidated assignment operator. | |
| ToEdgeConnectionsAdder (const ToEdgeConnectionsAdder &) | |
| Invalidated copy constructor. | |
Private Attributes | |
| std::map< NBEdge *, std::vector< unsigned int > > | myConnections |
| map of edges to this edge's lanes that reach them | |
| const EdgeVector & | myTransitions |
| the transition from the virtual lane to the edge it belongs to | |
ToEdgeConnectionsAdder A class that being a bresenham-callback assigns the incoming lanes to the edges
| NBEdge::ToEdgeConnectionsAdder::ToEdgeConnectionsAdder | ( | const EdgeVector & | transitions | ) | [inline] |
| NBEdge::ToEdgeConnectionsAdder::~ToEdgeConnectionsAdder | ( | ) | [inline] |
| NBEdge::ToEdgeConnectionsAdder::ToEdgeConnectionsAdder | ( | const ToEdgeConnectionsAdder & | ) | [private] |
Invalidated copy constructor.
| void NBEdge::ToEdgeConnectionsAdder::execute | ( | const unsigned int | lane, |
| const unsigned int | virtEdge | ||
| ) | [virtual] |
executes a bresenham - step
Implements Bresenham::BresenhamCallBack.
Definition at line 75 of file NBEdge.cpp.
References myConnections, and myTransitions.
| const std::map<NBEdge*, std::vector<unsigned int> >& NBEdge::ToEdgeConnectionsAdder::getBuiltConnections | ( | ) | const [inline] |
Definition at line 982 of file NBEdge.h.
References myConnections.
Referenced by NBEdge::divideOnEdges().
| ToEdgeConnectionsAdder& NBEdge::ToEdgeConnectionsAdder::operator= | ( | const ToEdgeConnectionsAdder & | ) | [private] |
Invalidated assignment operator.
std::map<NBEdge*, std::vector<unsigned int> > NBEdge::ToEdgeConnectionsAdder::myConnections [private] |
map of edges to this edge's lanes that reach them
Definition at line 966 of file NBEdge.h.
Referenced by execute(), and getBuiltConnections().
const EdgeVector& NBEdge::ToEdgeConnectionsAdder::myTransitions [private] |