SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
GNEEvent_NetworkLoaded Class Reference

#include <GNEEvent_NetworkLoaded.h>

Inheritance diagram for GNEEvent_NetworkLoaded:
Inheritance graph
Collaboration diagram for GNEEvent_NetworkLoaded:
Collaboration graph

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

Constructor & Destructor Documentation

GNEEvent_NetworkLoaded::GNEEvent_NetworkLoaded ( GNENet net,
const std::string &  file,
const std::string &  settingsFile,
const bool  viewportFromRegistry 
)
inline

constructor

Definition at line 57 of file GNEEvent_NetworkLoaded.h.

GNEEvent_NetworkLoaded::~GNEEvent_NetworkLoaded ( )
inline

destructor

Definition at line 65 of file GNEEvent_NetworkLoaded.h.

Member Function Documentation

GUIEventType GUIEvent::getOwnType ( ) const
inlineinherited

Field Documentation

std::string GNEEvent_NetworkLoaded::myFile

the name of the loaded file

Definition at line 72 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().

GNENet* GNEEvent_NetworkLoaded::myNet

the loaded net

Definition at line 69 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().

std::string GNEEvent_NetworkLoaded::mySettingsFile

the name of the settings file to load

Definition at line 75 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().

GUIEventType GUIEvent::myType
protectedinherited

the type of the event

Definition at line 99 of file GUIEvent.h.

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

bool GNEEvent_NetworkLoaded::myViewportFromRegistry

whether loading viewport from registry

Definition at line 78 of file GNEEvent_NetworkLoaded.h.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded().


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