Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
SAXWeightsHandler::EdgeFloatTimeLineRetriever Class Reference

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

#include <SAXWeightsHandler.h>

Inheritance diagram for SAXWeightsHandler::EdgeFloatTimeLineRetriever:
[legend]

Public Member Functions

virtual void addEdgeRelWeight (const std::string &from, const std::string &to, double val, double beg, double end) const
virtual void addEdgeWeight (const std::string &id, double val, double beg, double end) const
 Adds a weight for a given edge and time period.
virtual void addTazRelWeight (const std::string intervalID, const std::string &from, const std::string &to, double val, double beg, double end)
 EdgeFloatTimeLineRetriever ()
 Constructor.
virtual ~EdgeFloatTimeLineRetriever ()
 Destructor.

Private Member Functions

EdgeFloatTimeLineRetrieveroperator= (const EdgeFloatTimeLineRetriever &)=delete
 we made the assignment operator invalid

Detailed Description

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

Definition at line 64 of file SAXWeightsHandler.h.

Constructor & Destructor Documentation

◆ EdgeFloatTimeLineRetriever()

SAXWeightsHandler::EdgeFloatTimeLineRetriever::EdgeFloatTimeLineRetriever ( )
inline

Constructor.

Definition at line 68 of file SAXWeightsHandler.h.

Referenced by operator=().

Here is the caller graph for this function:

◆ ~EdgeFloatTimeLineRetriever()

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

Destructor.

Definition at line 71 of file SAXWeightsHandler.h.

Member Function Documentation

◆ addEdgeRelWeight()

virtual void SAXWeightsHandler::EdgeFloatTimeLineRetriever::addEdgeRelWeight ( const std::string & from,
const std::string & to,
double val,
double beg,
double end ) const
inlinevirtual

Reimplemented in GUINet::EdgeFloatTimeLineRetriever_GUI.

Definition at line 87 of file SAXWeightsHandler.h.

References UNUSED_PARAMETER.

◆ addEdgeWeight()

virtual void SAXWeightsHandler::EdgeFloatTimeLineRetriever::addEdgeWeight ( const std::string & id,
double val,
double beg,
double end ) const
inlinevirtual

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

Reimplemented in GUINet::EdgeFloatTimeLineRetriever_GUI, NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort, NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime, ROLoader::EdgeFloatTimeLineRetriever_EdgeTravelTime, and ROLoader::EdgeFloatTimeLineRetriever_EdgeWeight.

Definition at line 80 of file SAXWeightsHandler.h.

References UNUSED_PARAMETER.

◆ addTazRelWeight()

virtual void SAXWeightsHandler::EdgeFloatTimeLineRetriever::addTazRelWeight ( const std::string intervalID,
const std::string & from,
const std::string & to,
double val,
double beg,
double end )
inlinevirtual
Note
: note sure why the other functions are const

Reimplemented in ODMatrix.

Definition at line 97 of file SAXWeightsHandler.h.

References UNUSED_PARAMETER.

◆ operator=()

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

we made the assignment operator invalid

References EdgeFloatTimeLineRetriever().


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