|
SUMO - Simulation of Urban MObility
|
Interface for a class which obtains read weights for named edges. More...
#include <SAXWeightsHandler.h>
Public Member Functions | |
| virtual void | addEdgeWeight (const std::string &id, SUMOReal val, SUMOReal beg, SUMOReal end) const =0 |
| Adds a weight for a given edge and time period. | |
| EdgeFloatTimeLineRetriever () | |
| Constructor. | |
| virtual | ~EdgeFloatTimeLineRetriever () |
| Destructor. | |
Private Member Functions | |
| EdgeFloatTimeLineRetriever & | operator= (const EdgeFloatTimeLineRetriever &) |
Interface for a class which obtains read weights for named edges.
Definition at line 82 of file SAXWeightsHandler.h.
| SAXWeightsHandler::EdgeFloatTimeLineRetriever::EdgeFloatTimeLineRetriever | ( | ) | [inline] |
Constructor.
Definition at line 85 of file SAXWeightsHandler.h.
| virtual SAXWeightsHandler::EdgeFloatTimeLineRetriever::~EdgeFloatTimeLineRetriever | ( | ) | [inline, virtual] |
Destructor.
Definition at line 88 of file SAXWeightsHandler.h.
| virtual void SAXWeightsHandler::EdgeFloatTimeLineRetriever::addEdgeWeight | ( | const std::string & | id, |
| SUMOReal | val, | ||
| SUMOReal | beg, | ||
| SUMOReal | end | ||
| ) | const [pure virtual] |
Adds a weight for a given edge and time period.
| [in] | id | The id of the object to add a weight for |
| [in] | val | The weight |
| [in] | beg | The begin of the interval the weight is valid for |
| [in] | end | The end of the interval the weight is valid for |
Implemented in NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort, NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime, ROLoader::EdgeFloatTimeLineRetriever_EdgeWeight, and ROLoader::EdgeFloatTimeLineRetriever_EdgeTravelTime.
| EdgeFloatTimeLineRetriever& SAXWeightsHandler::EdgeFloatTimeLineRetriever::operator= | ( | const EdgeFloatTimeLineRetriever & | ) | [private] |