SUMO - Simulation of Urban MObility
|
Interface for building instances of dfrouter-edges. More...
#include <RODFEdgeBuilder.h>
Public Member Functions | |
RODFEdgeBuilder () | |
Constructor. | |
~RODFEdgeBuilder () | |
Destructor. | |
Methods to be implemented, inherited from ROAbstractEdgeBuilder | |
ROEdge * | buildEdge (const std::string &name, RONode *from, RONode *to) |
Builds an edge with the given name. | |
Protected Member Functions | |
unsigned int | getNextIndex () |
Returns the index of the edge to built. |
Interface for building instances of dfrouter-edges.
This ROAbstractEdgeBuilder implementation builds edges for the duarouter (instances of RODFEdge).
Definition at line 56 of file RODFEdgeBuilder.h.
Constructor.
Definition at line 43 of file RODFEdgeBuilder.cpp.
Destructor.
Definition at line 46 of file RODFEdgeBuilder.cpp.
ROEdge * RODFEdgeBuilder::buildEdge | ( | const std::string & | name, |
RONode * | from, | ||
RONode * | to | ||
) | [virtual] |
Builds an edge with the given name.
This implementation builds a RODFEdge.
[in] | name | The name of the edge |
[in] | from | The node the edge begins at |
[in] | to | The node the edge ends at |
Implements ROAbstractEdgeBuilder.
Definition at line 50 of file RODFEdgeBuilder.cpp.
References ROAbstractEdgeBuilder::getNextIndex().
unsigned int ROAbstractEdgeBuilder::getNextIndex | ( | ) | [inline, protected, inherited] |
Returns the index of the edge to built.
Definition at line 88 of file ROAbstractEdgeBuilder.h.
References ROAbstractEdgeBuilder::myCurrentIndex.
Referenced by ROJTREdgeBuilder::buildEdge(), buildEdge(), and RODUAEdgeBuilder::buildEdge().