SUMO - Simulation of Urban MObility
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GUIEvent_SimulationLoaded.h
Go to the documentation of this file.
1
/****************************************************************************/
10
// Event send when the simulation has been loaded by GUILadThread
11
/****************************************************************************/
12
// SUMO, Simulation of Urban MObility; see http://sumo-sim.org/
13
// Copyright (C) 2002-2014 DLR (http://www.dlr.de/) and contributors
14
/****************************************************************************/
15
//
16
// This file is part of SUMO.
17
// SUMO is free software: you can redistribute it and/or modify
18
// it under the terms of the GNU General Public License as published by
19
// the Free Software Foundation, either version 3 of the License, or
20
// (at your option) any later version.
21
//
22
/****************************************************************************/
23
#ifndef GUIEvent_SimulationLoaded_h
24
#define GUIEvent_SimulationLoaded_h
25
26
27
// ===========================================================================
28
// included modules
29
// ===========================================================================
30
#ifdef _MSC_VER
31
#include <
windows_config.h
>
32
#else
33
#include <
config.h
>
34
#endif
35
36
#include <string>
37
#include <iostream>
38
#include <
utils/gui/events/GUIEvent.h
>
39
#include <
utils/common/SUMOTime.h
>
40
41
42
// ===========================================================================
43
// class declarations
44
// ===========================================================================
45
class
GUINet
;
46
47
48
// ===========================================================================
49
// class definitions
50
// ===========================================================================
57
class
GUIEvent_SimulationLoaded
:
public
GUIEvent
{
58
public
:
60
GUIEvent_SimulationLoaded
(
GUINet
* net,
61
SUMOTime
startTime,
SUMOTime
endTime,
62
const
std::string& file,
63
const
std::vector<std::string>& settingsFiles,
64
const
bool
osgView)
65
:
GUIEvent
(
EVENT_SIMULATION_LOADED
),
66
myNet
(net),
myBegin
(startTime),
myEnd
(endTime),
67
myFile
(file),
mySettingsFiles
(settingsFiles),
68
myOsgView
(osgView)
69
{ }
70
72
~GUIEvent_SimulationLoaded
() { }
73
74
public
:
76
GUINet
*
myNet
;
77
79
const
SUMOTime
myBegin
;
80
82
const
SUMOTime
myEnd
;
83
85
const
std::string
myFile
;
86
88
const
std::vector<std::string>
mySettingsFiles
;
89
91
const
bool
myOsgView
;
92
93
private
:
95
GUIEvent_SimulationLoaded
&
operator=
(
const
GUIEvent_SimulationLoaded
& s);
96
};
97
98
99
#endif
100
101
/****************************************************************************/
102
tmp
buildd
sumo-0.21.0+dfsg
src
gui
GUIEvent_SimulationLoaded.h
Generated on Thu Nov 20 2014 19:49:53 for SUMO - Simulation of Urban MObility by
1.8.1.2