Eclipse SUMO - Simulation of Urban MObility
SAXWeightsHandler::EdgeFloatTimeLineRetriever Class Referenceabstract

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

#include <SAXWeightsHandler.h>

Inheritance diagram for SAXWeightsHandler::EdgeFloatTimeLineRetriever:
Collaboration diagram for SAXWeightsHandler::EdgeFloatTimeLineRetriever:

Public Member Functions

virtual void addEdgeWeight (const std::string &id, double val, double beg, double end) const =0
 Adds a weight for a given edge and time period. More...
 
 EdgeFloatTimeLineRetriever ()
 Constructor. More...
 
virtual ~EdgeFloatTimeLineRetriever ()
 Destructor. More...
 

Private Member Functions

EdgeFloatTimeLineRetrieveroperator= (const EdgeFloatTimeLineRetriever &)
 

Detailed Description

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

Definition at line 74 of file SAXWeightsHandler.h.

Constructor & Destructor Documentation

◆ EdgeFloatTimeLineRetriever()

SAXWeightsHandler::EdgeFloatTimeLineRetriever::EdgeFloatTimeLineRetriever ( )
inline

Constructor.

Definition at line 77 of file SAXWeightsHandler.h.

◆ ~EdgeFloatTimeLineRetriever()

virtual SAXWeightsHandler::EdgeFloatTimeLineRetriever::~EdgeFloatTimeLineRetriever ( )
inlinevirtual

Destructor.

Definition at line 80 of file SAXWeightsHandler.h.

Member Function Documentation

◆ addEdgeWeight()

virtual void SAXWeightsHandler::EdgeFloatTimeLineRetriever::addEdgeWeight ( const std::string &  id,
double  val,
double  beg,
double  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, ROLoader::EdgeFloatTimeLineRetriever_EdgeWeight, NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime, NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort, and GUINet::EdgeFloatTimeLineRetriever_GUI.

◆ operator=()

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

The documentation for this class was generated from the following file: