SUMO - Simulation of Urban MObility
ROLoader::EdgeFloatTimeLineRetriever_EdgeWeight Class Reference

Obtains edge weights from a weights handler and stores them within the edges. More...

#include <ROLoader.h>

Inheritance diagram for ROLoader::EdgeFloatTimeLineRetriever_EdgeWeight:
SAXWeightsHandler::EdgeFloatTimeLineRetriever

Public Member Functions

void addEdgeWeight (const std::string &id, SUMOReal val, SUMOReal beg, SUMOReal end) const
 Adds an effort for a given edge and time period.
 EdgeFloatTimeLineRetriever_EdgeWeight (RONet &net)
 Constructor.
 ~EdgeFloatTimeLineRetriever_EdgeWeight ()
 Destructor.

Private Attributes

RONetmyNet
 The network edges shall be obtained from.

Detailed Description

Obtains edge weights from a weights handler and stores them within the edges.

See also:
SAXWeightsHandler::EdgeFloatTimeLineRetriever

Definition at line 149 of file ROLoader.h.


Constructor & Destructor Documentation


Member Function Documentation

void ROLoader::EdgeFloatTimeLineRetriever_EdgeWeight::addEdgeWeight ( const std::string &  id,
SUMOReal  val,
SUMOReal  beg,
SUMOReal  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 weight
[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 92 of file ROLoader.cpp.

References ROEdge::addEffort(), and WRITE_ERROR.


Field Documentation

The network edges shall be obtained from.

Definition at line 170 of file ROLoader.h.


The documentation for this class was generated from the following files:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Friends Defines