Eclipse SUMO - Simulation of Urban MObility
GNEEvent_NetworkLoaded Class Reference

#include <GNEEvent_NetworkLoaded.h>

Inheritance diagram for GNEEvent_NetworkLoaded:
Collaboration diagram for GNEEvent_NetworkLoaded:

Public Member Functions

GUIEventType getOwnType () const
 returns the event type More...
 
 GNEEvent_NetworkLoaded (GNENet *net, const std::string &file, const std::string &settingsFile, const bool viewportFromRegistry)
 constructor More...
 
 ~GNEEvent_NetworkLoaded ()
 destructor More...
 

Data Fields

std::string myFile
 the name of the loaded file More...
 
GNENetmyNet
 the loaded net More...
 
std::string mySettingsFile
 the name of the settings file to load More...
 
bool myViewportFromRegistry
 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 44 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 47 of file GNEEvent_NetworkLoaded.h.

◆ ~GNEEvent_NetworkLoaded()

GNEEvent_NetworkLoaded::~GNEEvent_NetworkLoaded ( )
inline

destructor

Definition at line 55 of file GNEEvent_NetworkLoaded.h.

Member Function Documentation

◆ getOwnType()

GUIEventType GUIEvent::getOwnType ( ) const
inlineinherited

Field Documentation

◆ myFile

std::string GNEEvent_NetworkLoaded::myFile

the name of the loaded file

Definition at line 62 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().

◆ myNet

GNENet* GNEEvent_NetworkLoaded::myNet

the loaded net

Definition at line 59 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().

◆ mySettingsFile

std::string GNEEvent_NetworkLoaded::mySettingsFile

the name of the settings file to load

Definition at line 65 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().

◆ myType

GUIEventType GUIEvent::myType
protectedinherited

the type of the event

Definition at line 93 of file GUIEvent.h.

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

◆ myViewportFromRegistry

bool GNEEvent_NetworkLoaded::myViewportFromRegistry

whether loading viewport from registry

Definition at line 68 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().


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