SUMO - Simulation of Urban MObility
SAXWeightsHandler::EdgeFloatTimeLineRetriever Class Reference

Interface for a class which obtains read weights for named edges. More...

#include <SAXWeightsHandler.h>

Inheritance diagram for SAXWeightsHandler::EdgeFloatTimeLineRetriever:
NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime ROLoader::EdgeFloatTimeLineRetriever_EdgeTravelTime ROLoader::EdgeFloatTimeLineRetriever_EdgeWeight

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

EdgeFloatTimeLineRetrieveroperator= (const EdgeFloatTimeLineRetriever &)

Detailed Description

Interface for a class which obtains read weights for named edges.

Definition at line 82 of file SAXWeightsHandler.h.


Constructor & Destructor Documentation

Destructor.

Definition at line 88 of file SAXWeightsHandler.h.


Member Function Documentation

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.

Parameters:
[in]idThe id of the object to add a weight for
[in]valThe weight
[in]begThe begin of the interval the weight is valid for
[in]endThe end of the interval the weight is valid for

Implemented in ROLoader::EdgeFloatTimeLineRetriever_EdgeTravelTime, NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime, ROLoader::EdgeFloatTimeLineRetriever_EdgeWeight, and NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort.

EdgeFloatTimeLineRetriever& SAXWeightsHandler::EdgeFloatTimeLineRetriever::operator= ( const EdgeFloatTimeLineRetriever ) [private]

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