![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Perfoms network import. More...
#include <NILoader.h>
Public Member Functions | |
| void | load (OptionsCont &oc) |
| NILoader (NBNetBuilder &nb) | |
| Constructor. | |
| ~NILoader () | |
| Destructor. | |
Private Member Functions | |
| bool | loadXML (OptionsCont &oc) |
| NILoader (const NILoader &) | |
| Invalidated copy constructor. | |
| NILoader & | operator= (const NILoader &) |
| Invalidated assignment operator. | |
Private Attributes | |
| NBNetBuilder & | myNetBuilder |
| The network builder to fill with loaded data. | |
Perfoms network import.
A plain loader which encapsulates calls to the import modules.
Definition at line 48 of file NILoader.h.
| NILoader::NILoader | ( | NBNetBuilder & | nb | ) |
Constructor.
| [in] | nb | The network builder to fill with loaded data |
Definition at line 64 of file NILoader.cpp.
| NILoader::~NILoader | ( | ) |
Destructor.
Definition at line 67 of file NILoader.cpp.
|
private |
Invalidated copy constructor.
| void NILoader::load | ( | OptionsCont & | oc | ) |
loads data from the files specified in the given option container
Definition at line 70 of file NILoader.cpp.
References NBNodeCont::applyConditionalDefaults(), NBEdgeCont::checkConsistency(), NBNodeCont::discardRailSignals(), NBNodeCont::discardTrafficLights(), OptionsCont::getBool(), NBNetBuilder::getDistrictCont(), NBNetBuilder::getEdgeCont(), NBNetBuilder::getNodeCont(), NBEdgeCont::getNumEdgeSplits(), NBTrafficLightLogicCont::getNumExtracted(), GeoConvHelper::getProcessing(), OptionsCont::getStringVector(), NBNetBuilder::getTLLogicCont(), NBNetBuilder::getTypeCont(), OptionsCont::isSet(), NITypeLoader::load(), NBHeightMapper::loadIfSet(), NIImporter_ArcView::loadNetwork(), NIImporter_DlrNavteq::loadNetwork(), NIImporter_ITSUMO::loadNetwork(), NIImporter_MATSim::loadNetwork(), NIImporter_OpenDrive::loadNetwork(), NIImporter_OpenStreetMap::loadNetwork(), NIImporter_VISUM::loadNetwork(), NIImporter_Vissim::loadNetwork(), NIImporter_SUMO::loadNetwork(), loadXML(), myNetBuilder, NBDistrictCont::size(), NBEdgeCont::size(), NBNodeCont::size(), NBTypeCont::size(), SUMO_TAG_TYPES, TL, toString(), WRITE_MESSAGE, and WRITE_MESSAGEF.
Referenced by main(), and GNELoadThread::run().
|
private |
loads data from sumo-files loads data from XML-files
Definition at line 151 of file NILoader.cpp.
References deprecatedVehicleClassesSeen, OptionsCont::exists(), NBNetBuilder::getDistrictCont(), NBNetBuilder::getEdgeCont(), NBNetBuilder::getNodeCont(), NBNetBuilder::getPTLineCont(), NBNetBuilder::getPTStopCont(), NBNetBuilder::getShapeCont(), OptionsCont::getStringVector(), NBNetBuilder::getTLLogicCont(), NBNetBuilder::getTypeCont(), NITypeLoader::load(), myNetBuilder, TL, toString(), and WRITE_WARNINGF.
Referenced by load().
|
private |
The network builder to fill with loaded data.
Definition at line 74 of file NILoader.h.