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

#include <GUINet.h>

Inheritance diagram for GUINet::EdgeFloatTimeLineRetriever_GUI:
Collaboration diagram for GUINet::EdgeFloatTimeLineRetriever_GUI:

Public Member Functions

void addEdgeWeight (const std::string &id, double val, double beg, double end) const
 Adds an effort for a given edge and time period. More...
 
 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 404 of file GUINet.h.

Constructor & Destructor Documentation

◆ EdgeFloatTimeLineRetriever_GUI()

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

Constructor.

Definition at line 407 of file GUINet.h.

◆ ~EdgeFloatTimeLineRetriever_GUI()

GUINet::EdgeFloatTimeLineRetriever_GUI::~EdgeFloatTimeLineRetriever_GUI ( )
inline

Destructor.

Definition at line 410 of file GUINet.h.

Member Function Documentation

◆ 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

Implements SAXWeightsHandler::EdgeFloatTimeLineRetriever.

Definition at line 583 of file GUINet.cpp.

References MSEdge::dictionary(), and WRITE_ERROR.

Field Documentation

◆ myWeightStorage

MSEdgeWeightsStorage* GUINet::EdgeFloatTimeLineRetriever_GUI::myWeightStorage
private

The storage that edges shall be added to.

Definition at line 424 of file GUINet.h.


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