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 (OptionsCont &sumoOptions, const std::string &file)
 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

const std::string myFile
 SUMO config file.
OptionsContmySumoOptions
 sumo options

Detailed Description

SUMO config handler.

Definition at line 1107 of file GNEApplicationWindowHelper.h.

Constructor & Destructor Documentation

◆ GNESumoConfigHandler() [1/2]

GNEApplicationWindowHelper::GNESumoConfigHandler::GNESumoConfigHandler ( OptionsCont & sumoOptions,
const std::string & file )

Constructor.

Definition at line 2233 of file GNEApplicationWindowHelper.cpp.

References myFile, and mySumoOptions.

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 2240 of file GNEApplicationWindowHelper.cpp.

References OptionsLoader::errorOccurred(), OptionsCont::getOptions(), myFile, mySumoOptions, StringUtils::replace(), TL, StringUtils::transcode(), StringUtils::transcodeToLocal(), and WRITE_ERROR.

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

◆ myFile

const std::string GNEApplicationWindowHelper::GNESumoConfigHandler::myFile
private

SUMO config file.

Definition at line 1121 of file GNEApplicationWindowHelper.h.

Referenced by GNESumoConfigHandler(), and loadSumoConfig().

◆ mySumoOptions

OptionsCont& GNEApplicationWindowHelper::GNESumoConfigHandler::mySumoOptions
private

sumo options

Definition at line 1118 of file GNEApplicationWindowHelper.h.

Referenced by GNESumoConfigHandler(), and loadSumoConfig().


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