Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEApplicationWindowHelper::GNESumoConfigHandler Class Reference

SUMO config handler. More...

#include <GNEApplicationWindowHelper.h>

Collaboration diagram for GNEApplicationWindowHelper::GNESumoConfigHandler:
[legend]

Public Member Functions

 GNESumoConfigHandler (GNEApplicationWindow *applicationWindow, const std::string &sumoConfigFile)
 Constructor.
bool loadSumoConfig ()
 load SUMO config

Private Member Functions

 GNESumoConfigHandler (const GNESumoConfigHandler &)=delete
 Invalidated copy constructor.
GNESumoConfigHandleroperator= (const GNESumoConfigHandler &)=delete
 Invalidated assignment operator.

Private Attributes

GNEApplicationWindowmyApplicationWindow
 pointer to current GNEApplicationWindow
const std::string mySumoConfigFile
 SUMO config file.

Detailed Description

SUMO config handler.

Definition at line 1105 of file GNEApplicationWindowHelper.h.

Constructor & Destructor Documentation

◆ GNESumoConfigHandler() [1/2]

GNEApplicationWindowHelper::GNESumoConfigHandler::GNESumoConfigHandler ( GNEApplicationWindow * applicationWindow,
const std::string & sumoConfigFile )

Constructor.

Definition at line 2228 of file GNEApplicationWindowHelper.cpp.

References myApplicationWindow, and mySumoConfigFile.

Referenced by GNESumoConfigHandler(), and operator=().

Here is the caller graph for this function:

◆ GNESumoConfigHandler() [2/2]

GNEApplicationWindowHelper::GNESumoConfigHandler::GNESumoConfigHandler ( const GNESumoConfigHandler & )
privatedelete

Invalidated copy constructor.

References GNESumoConfigHandler().

Member Function Documentation

◆ loadSumoConfig()

bool GNEApplicationWindowHelper::GNESumoConfigHandler::loadSumoConfig ( )

load SUMO config

Definition at line 2235 of file GNEApplicationWindowHelper.cpp.

References OptionsLoader::errorOccurred(), OptionsCont::getOptions(), myApplicationWindow, mySumoConfigFile, FileBucket::NETWORK, FileBucket::SUMO_CONFIG, TLF, XMLSubSys::transcode(), XMLSubSys::transcodeToLocal(), WRITE_ERROR, and WRITE_WARNING.

Referenced by GNELoadThread::run().

Here is the caller graph for this function:

◆ operator=()

GNESumoConfigHandler & GNEApplicationWindowHelper::GNESumoConfigHandler::operator= ( const GNESumoConfigHandler & )
privatedelete

Invalidated assignment operator.

References GNESumoConfigHandler().

Field Documentation

◆ myApplicationWindow

GNEApplicationWindow* GNEApplicationWindowHelper::GNESumoConfigHandler::myApplicationWindow
private

pointer to current GNEApplicationWindow

Definition at line 1116 of file GNEApplicationWindowHelper.h.

Referenced by GNESumoConfigHandler(), and loadSumoConfig().

◆ mySumoConfigFile

const std::string GNEApplicationWindowHelper::GNESumoConfigHandler::mySumoConfigFile
private

SUMO config file.

Definition at line 1119 of file GNEApplicationWindowHelper.h.

Referenced by GNESumoConfigHandler(), and loadSumoConfig().


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