Eclipse SUMO - Simulation of Urban MObility
GUINet::EdgeFloatTimeLineRetriever_GUI Class Reference

#include <GUINet.h>

Inheritance diagram for GUINet::EdgeFloatTimeLineRetriever_GUI:
[legend]
Collaboration diagram for GUINet::EdgeFloatTimeLineRetriever_GUI:
[legend]

Public Member Functions

void addEdgeRelWeight (const std::string &from, const std::string &to, double val, double beg, double end) const
 
void addEdgeWeight (const std::string &id, double val, double beg, double end) const
 Adds an effort 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_GUI (MSEdgeWeightsStorage *weightStorage)
 Constructor. More...
 
 ~EdgeFloatTimeLineRetriever_GUI ()
 Destructor. More...
 

Private Attributes

MSEdgeWeightsStoragemyWeightStorage
 The storage that edges shall be added to. More...
 

Detailed Description

Definition at line 433 of file GUINet.h.

Constructor & Destructor Documentation

◆ EdgeFloatTimeLineRetriever_GUI()

GUINet::EdgeFloatTimeLineRetriever_GUI::EdgeFloatTimeLineRetriever_GUI ( MSEdgeWeightsStorage weightStorage)
inline

Constructor.

Definition at line 436 of file GUINet.h.

◆ ~EdgeFloatTimeLineRetriever_GUI()

GUINet::EdgeFloatTimeLineRetriever_GUI::~EdgeFloatTimeLineRetriever_GUI ( )
inline

Destructor.

Definition at line 439 of file GUINet.h.

Member Function Documentation

◆ addEdgeRelWeight()

void GUINet::EdgeFloatTimeLineRetriever_GUI::addEdgeRelWeight ( const std::string &  from,
const std::string &  to,
double  val,
double  beg,
double  end 
) const
virtual

◆ addEdgeWeight()

void GUINet::EdgeFloatTimeLineRetriever_GUI::addEdgeWeight ( const std::string &  id,
double  val,
double  beg,
double  end 
) const
virtual

Adds an effort for a given edge and time period.

Parameters
[in]idThe id of the object to add a weight for
[in]valThe effort
[in]begThe begin of the interval the weight is valid for
[in]endThe end of the interval the weight is valid for
See also
SAXWeightsHandler::EdgeFloatTimeLineRetriever::addEdgeWeight

Reimplemented from SAXWeightsHandler::EdgeFloatTimeLineRetriever.

Definition at line 661 of file GUINet.cpp.

References MSEdge::dictionary(), TL, and WRITE_WARNINGF.

◆ addTazRelWeight()

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

Reimplemented in ODMatrix.

Definition at line 97 of file SAXWeightsHandler.h.

References UNUSED_PARAMETER.

Field Documentation

◆ myWeightStorage

MSEdgeWeightsStorage* GUINet::EdgeFloatTimeLineRetriever_GUI::myWeightStorage
private

The storage that edges shall be added to.

Definition at line 454 of file GUINet.h.


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