Eclipse SUMO - Simulation of Urban MObility
|
Importer of traffic lights stored in DLRNavteq's (aka elmar) format. More...
#include <NIImporter_DlrNavteq.h>
Public Member Functions | |
bool | report (const std::string &result) |
Parsing method. | |
TrafficlightsHandler (NBNodeCont &nc, NBTrafficLightLogicCont &tlc, NBEdgeCont &ne, const std::string &file) | |
Constructor. | |
~TrafficlightsHandler () | |
Destructor. | |
Protected Attributes | |
NBEdgeCont & | myEdgeCont |
The edge container to get the referenced edges from. | |
NBNodeCont & | myNodeCont |
The node container to get the referenced nodes from. | |
NBTrafficLightLogicCont & | myTLLogicCont |
The traffic lights container to add built tls to. | |
Private Member Functions | |
TrafficlightsHandler & | operator= (const TrafficlightsHandler &) |
Invalidated assignment operator. | |
TrafficlightsHandler (const TrafficlightsHandler &) | |
Invalidated copy constructor. | |
Importer of traffic lights stored in DLRNavteq's (aka elmar) format.
Being a LineHandler, this class retrieves each line from a LineReader and parses these information assuming they contain traffic light definitions in DLRNavteq's format.
Definition at line 256 of file NIImporter_DlrNavteq.h.
NIImporter_DlrNavteq::TrafficlightsHandler::TrafficlightsHandler | ( | NBNodeCont & | nc, |
NBTrafficLightLogicCont & | tlc, | ||
NBEdgeCont & | ne, | ||
const std::string & | file | ||
) |
Constructor.
[in] | nc | The node control to retrieve nodes from |
[in,filled] | tlc The traffic lights container to fill | |
[in] | file | The name of the parsed file |
Definition at line 474 of file NIImporter_DlrNavteq.cpp.
References UNUSED_PARAMETER.
NIImporter_DlrNavteq::TrafficlightsHandler::~TrafficlightsHandler | ( | ) |
Destructor.
Definition at line 485 of file NIImporter_DlrNavteq.cpp.
|
private |
Invalidated copy constructor.
|
private |
Invalidated assignment operator.
|
virtual |
Parsing method.
Implementation of the LineHandler-interface called by a LineReader; interprets the retrieved information and alters the nodes.
[in] | result | The read line |
ProcessError | if something fails |
Implements LineHandler.
Definition at line 489 of file NIImporter_DlrNavteq.cpp.
References StringBijection< T >::get(), StringTokenizer::get(), Named::getID(), OptionsCont::getOptions(), NBNode::getPosition(), NBEdge::getToNode(), NBNode::getType(), NBNode::reinit(), TL, TLF, TRAFFIC_LIGHT, SUMOXMLDefinitions::TrafficLightTypes, StringTokenizer::WHITECHARS, and WRITE_WARNINGF.
|
protected |
The edge container to get the referenced edges from.
Definition at line 291 of file NIImporter_DlrNavteq.h.
|
protected |
The node container to get the referenced nodes from.
Definition at line 285 of file NIImporter_DlrNavteq.h.
|
protected |
The traffic lights container to add built tls to.
Definition at line 288 of file NIImporter_DlrNavteq.h.