Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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.
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.
 ~EdgeFloatTimeLineRetriever_GUI ()
 Destructor.

Private Attributes

MSEdgeWeightsStoragemyWeightStorage
 The storage that edges shall be added to.

Detailed Description

Definition at line 435 of file GUINet.h.

Constructor & Destructor Documentation

◆ EdgeFloatTimeLineRetriever_GUI()

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

Constructor.

Definition at line 438 of file GUINet.h.

References myWeightStorage.

◆ ~EdgeFloatTimeLineRetriever_GUI()

GUINet::EdgeFloatTimeLineRetriever_GUI::~EdgeFloatTimeLineRetriever_GUI ( )
inline

Destructor.

Definition at line 441 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 670 of file GUINet.cpp.

References MSEdge::dictionary(), invalid_return< std::string >::value, myWeightStorage, 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 456 of file GUINet.h.

Referenced by addEdgeRelWeight(), addEdgeWeight(), and EdgeFloatTimeLineRetriever_GUI().


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