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

#include <GUIEvent_SimulationLoaded.h>

Inheritance diagram for GUIEvent_SimulationLoaded:
Inheritance graph
Collaboration diagram for GUIEvent_SimulationLoaded:
Collaboration graph

Public Member Functions

GUIEventType getOwnType () const
 returns the event type More...
 
 GUIEvent_SimulationLoaded (GUINet *net, SUMOTime startTime, SUMOTime endTime, const std::string &file, const std::vector< std::string > &settingsFiles, const bool osgView)
 constructor More...
 
 ~GUIEvent_SimulationLoaded ()
 destructor More...
 

Data Fields

const SUMOTime myBegin
 the time the simulation shall start with More...
 
const SUMOTime myEnd
 the time the simulation shall end with More...
 
const std::string myFile
 the name of the loaded file More...
 
GUINetmyNet
 the loaded net More...
 
const bool myOsgView
 whether to load the OpenSceneGraph view More...
 
const std::vector< std::string > mySettingsFiles
 the name of the settings file to load More...
 

Protected Attributes

GUIEventType myType
 the type of the event More...
 

Private Member Functions

GUIEvent_SimulationLoadedoperator= (const GUIEvent_SimulationLoaded &s)
 Invalidated assignment operator. More...
 

Detailed Description

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

Definition at line 57 of file GUIEvent_SimulationLoaded.h.

Constructor & Destructor Documentation

GUIEvent_SimulationLoaded::GUIEvent_SimulationLoaded ( GUINet net,
SUMOTime  startTime,
SUMOTime  endTime,
const std::string &  file,
const std::vector< std::string > &  settingsFiles,
const bool  osgView 
)
inline

constructor

Definition at line 60 of file GUIEvent_SimulationLoaded.h.

GUIEvent_SimulationLoaded::~GUIEvent_SimulationLoaded ( )
inline

destructor

Definition at line 72 of file GUIEvent_SimulationLoaded.h.

Member Function Documentation

GUIEventType GUIEvent::getOwnType ( ) const
inlineinherited
GUIEvent_SimulationLoaded& GUIEvent_SimulationLoaded::operator= ( const GUIEvent_SimulationLoaded s)
private

Invalidated assignment operator.

Field Documentation

const SUMOTime GUIEvent_SimulationLoaded::myBegin

the time the simulation shall start with

Definition at line 79 of file GUIEvent_SimulationLoaded.h.

Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded().

const SUMOTime GUIEvent_SimulationLoaded::myEnd

the time the simulation shall end with

Definition at line 82 of file GUIEvent_SimulationLoaded.h.

Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded().

const std::string GUIEvent_SimulationLoaded::myFile

the name of the loaded file

Definition at line 85 of file GUIEvent_SimulationLoaded.h.

Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded().

GUINet* GUIEvent_SimulationLoaded::myNet

the loaded net

Definition at line 76 of file GUIEvent_SimulationLoaded.h.

Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded().

const bool GUIEvent_SimulationLoaded::myOsgView

whether to load the OpenSceneGraph view

Definition at line 91 of file GUIEvent_SimulationLoaded.h.

Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded().

const std::vector<std::string> GUIEvent_SimulationLoaded::mySettingsFiles

the name of the settings file to load

Definition at line 88 of file GUIEvent_SimulationLoaded.h.

Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded().

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().


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