Eclipse SUMO - Simulation of Urban MObility
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 More...
 
 GNEEvent_NetworkLoaded (GNENet *_net, const bool _newNet, const std::string &_file, const std::string &_settingsFile, const bool _viewportFromRegistry)
 constructor More...
 
 ~GNEEvent_NetworkLoaded ()
 destructor More...
 

Data Fields

const std::string file
 the name of the loaded file More...
 
const bool isNewNet
 flag for new net More...
 
GNENet *const net
 the loaded net More...
 
const std::string settingsFile
 the name of the settings file to load More...
 
const bool viewportFromRegistry
 whether loading viewport from registry More...
 

Protected Attributes

GUIEventType myType
 the type of the event More...
 

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 bool  _newNet,
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 54 of file GNEEvent_NetworkLoaded.h.

Member Function Documentation

◆ getOwnType()

GUIEventType GUIEvent::getOwnType ( ) const
inlineinherited

returns the event type

Definition at line 83 of file GUIEvent.h.

References GUIEvent::myType.

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

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 63 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().

◆ isNewNet

const bool GNEEvent_NetworkLoaded::isNewNet

flag for new net

Definition at line 60 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().

◆ myType

GUIEventType GUIEvent::myType
protectedinherited

the type of the event

Definition at line 96 of file GUIEvent.h.

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

◆ net

GNENet* const GNEEvent_NetworkLoaded::net

the loaded net

Definition at line 57 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 66 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().

◆ viewportFromRegistry

const bool GNEEvent_NetworkLoaded::viewportFromRegistry

whether loading viewport from registry

Definition at line 69 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().


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