Eclipse 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:
[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. More...
 
virtual void addTazRelWeight (const std::string intervalID, const std::string &from, const std::string &to, double val, double beg, double end)
 
 EdgeFloatTimeLineRetriever ()
 Constructor. More...
 
virtual ~EdgeFloatTimeLineRetriever ()
 Destructor. More...
 

Private Member Functions

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

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.

◆ ~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 ROLoader::EdgeFloatTimeLineRetriever_EdgeTravelTime, ROLoader::EdgeFloatTimeLineRetriever_EdgeWeight, NLBuilder::EdgeFloatTimeLineRetriever_EdgeTravelTime, NLBuilder::EdgeFloatTimeLineRetriever_EdgeEffort, and GUINet::EdgeFloatTimeLineRetriever_GUI.

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


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