Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEEvent_NetworkLoaded Class Reference

#include <GNEEvent_NetworkLoaded.h>

Inheritance diagram for GNEEvent_NetworkLoaded:
[legend]
Collaboration diagram for GNEEvent_NetworkLoaded:
[legend]

Public Member Functions

GUIEventType getOwnType () const
 returns the event type
 
 GNEEvent_NetworkLoaded (GNENet *_net, const std::string &_file, const std::string &_settingsFile, const bool _viewportFromRegistry)
 constructor
 
 ~GNEEvent_NetworkLoaded ()
 destructor
 

Data Fields

const std::string file
 the name of the loaded file
 
GNENetnet
 the loaded net
 
const std::string settingsFile
 the name of the settings file to load
 
const bool viewportFromRegistry
 whether loading viewport from registry
 

Protected Attributes

GUIEventType myType
 the type of the event
 

Detailed Description

Throw to GUIApplicationWindow from GUILoadThread after a simulation has been loaded or the loading process failed

Definition at line 41 of file GNEEvent_NetworkLoaded.h.

Constructor & Destructor Documentation

◆ GNEEvent_NetworkLoaded()

GNEEvent_NetworkLoaded::GNEEvent_NetworkLoaded ( GNENet _net,
const std::string &  _file,
const std::string &  _settingsFile,
const bool  _viewportFromRegistry 
)
inline

constructor

Definition at line 44 of file GNEEvent_NetworkLoaded.h.

◆ ~GNEEvent_NetworkLoaded()

GNEEvent_NetworkLoaded::~GNEEvent_NetworkLoaded ( )
inline

destructor

Definition at line 53 of file GNEEvent_NetworkLoaded.h.

Member Function Documentation

◆ getOwnType()

GUIEventType GUIEvent::getOwnType ( ) const
inlineinherited

returns the event type

Definition at line 89 of file GUIEvent.h.

References GUIEvent::myType.

Referenced by GUIApplicationWindow::eventOccurred(), GNEApplicationWindow::eventOccurred(), GUIApplicationWindow::handleEvent_Message(), GNEApplicationWindow::handleEvent_Message(), GNERunNetgenerateDialog::onThreadEvent(), and GNERunPythonToolDialog::onThreadEvent().

Here is the caller graph for this function:

Field Documentation

◆ file

const std::string GNEEvent_NetworkLoaded::file

the name of the loaded file

Definition at line 59 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().

◆ myType

GUIEventType GUIEvent::myType
protectedinherited

the type of the event

Definition at line 102 of file GUIEvent.h.

Referenced by GUIEvent::getOwnType(), and GUIEvent_Message::GUIEvent_Message().

◆ net

GNENet* GNEEvent_NetworkLoaded::net

the loaded net

Definition at line 56 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().

◆ settingsFile

const std::string GNEEvent_NetworkLoaded::settingsFile

the name of the settings file to load

Definition at line 62 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().

◆ viewportFromRegistry

const bool GNEEvent_NetworkLoaded::viewportFromRegistry

whether loading viewport from registry

Definition at line 65 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().


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