GUIEvent_SimulationLoaded Class Reference

#include <GUIEvent_SimulationLoaded.h>

Inheritance diagram for GUIEvent_SimulationLoaded:

GUIEvent

Detailed Description

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

Definition at line 53 of file GUIEvent_SimulationLoaded.h.


Public Member Functions

GUIEventType getOwnType () const
 returns the event type
 GUIEvent_SimulationLoaded (GUINet *net, SUMOTime startTime, SUMOTime endTime, const std::string &file, const std::string &settingsFile)
 constructor
 ~GUIEvent_SimulationLoaded ()
 destructor

Data Fields

SUMOTime myBegin
 the time the simulation shall start with
SUMOTime myEnd
 the time the simulation shall end with
std::string myFile
 the name of the loaded file
GUINetmyNet
 the loaded net
std::string mySettingsFile
 the name of the settings file to load

Protected Attributes

GUIEventType myType
 the type of the event

Constructor & Destructor Documentation

GUIEvent_SimulationLoaded::GUIEvent_SimulationLoaded ( GUINet net,
SUMOTime  startTime,
SUMOTime  endTime,
const std::string &  file,
const std::string &  settingsFile 
) [inline]

constructor

Definition at line 56 of file GUIEvent_SimulationLoaded.h.

00060             : GUIEvent(EVENT_SIMULATION_LOADED),
00061             myNet(net), myBegin(startTime), myEnd(endTime),
00062             myFile(file), mySettingsFile(settingsFile) { }

GUIEvent_SimulationLoaded::~GUIEvent_SimulationLoaded (  )  [inline]

destructor

Definition at line 65 of file GUIEvent_SimulationLoaded.h.

00065 { }


Member Function Documentation

GUIEventType GUIEvent::getOwnType (  )  const [inline, inherited]

returns the event type

Definition at line 76 of file GUIEvent.h.

References GUIEvent::myType.

Referenced by GUIApplicationWindow::eventOccured(), and GUIApplicationWindow::handleEvent_Message().

00076                                     {
00077         return myType;
00078     }


Field Documentation

the time the simulation shall start with

Definition at line 72 of file GUIEvent_SimulationLoaded.h.

Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded().

the time the simulation shall end with

Definition at line 75 of file GUIEvent_SimulationLoaded.h.

Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded().

the name of the loaded file

Definition at line 78 of file GUIEvent_SimulationLoaded.h.

Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded().

the loaded net

Definition at line 69 of file GUIEvent_SimulationLoaded.h.

Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded().

the name of the settings file to load

Definition at line 81 of file GUIEvent_SimulationLoaded.h.

Referenced by GUIApplicationWindow::handleEvent_SimulationLoaded().

GUIEventType GUIEvent::myType [protected, inherited]

the type of the event

Definition at line 91 of file GUIEvent.h.

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


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

Generated on Wed May 5 00:06:43 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6