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
GUIParam_PopupMenu.h
Go to the documentation of this file.
1
/****************************************************************************/
7
// A popup-menu for dynamic patameter table entries
8
/****************************************************************************/
9
// SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
10
// Copyright (C) 2001-2013 DLR (http://www.dlr.de/) and contributors
11
/****************************************************************************/
12
//
13
// This file is part of SUMO.
14
// SUMO is free software: you can redistribute it and/or modify
15
// it under the terms of the GNU General Public License as published by
16
// the Free Software Foundation, either version 3 of the License, or
17
// (at your option) any later version.
18
//
19
/****************************************************************************/
20
#ifndef GUIParam_PopupMenu_h
21
#define GUIParam_PopupMenu_h
22
23
24
// ===========================================================================
25
// included modules
26
// ===========================================================================
27
#include <string>
28
29
#ifdef _MSC_VER
30
#include <
windows_config.h
>
31
#else
32
#include <
config.h
>
33
#endif
34
35
#include <fx.h>
36
#include <
utils/common/ValueSource.h
>
37
#include <
utils/gui/div/GUIParameterTableWindow.h
>
38
39
40
// ===========================================================================
41
// class definitions
42
// ===========================================================================
43
class
GUIGlObject
;
44
class
GUIMainWindow
;
45
46
47
// ===========================================================================
48
// class declarataions
49
// ===========================================================================
55
class
GUIParam_PopupMenuInterface
:
public
FXMenuPane
{
56
FXDECLARE(
GUIParam_PopupMenuInterface
)
57
public
:
66
GUIParam_PopupMenuInterface
(
GUIMainWindow
& app,
67
GUIParameterTableWindow
& parentWindow,
68
GUIGlObject
& o,
const
std::string& varName,
69
ValueSource<SUMOReal>
* src);
70
71
73
~GUIParam_PopupMenuInterface
();
74
75
78
84
long
onCmdOpenTracker
(
FXObject
*, FXSelector,
void
*);
86
87
88
protected
:
90
GUIGlObject
*
myObject
;
91
93
GUIParameterTableWindow
*
myParentWindow
;
94
96
GUIMainWindow
*
myApplication
;
97
99
std::string
myVarName
;
100
102
ValueSource<SUMOReal>
*
mySource
;
103
104
protected
:
106
GUIParam_PopupMenuInterface
() { }
107
108
};
109
110
111
#endif
112
113
/****************************************************************************/
114
home
gladk
tmp
05
sumo-0.17.1~dfsg
src
utils
gui
div
GUIParam_PopupMenu.h
Generated on Sun Jun 16 2013 07:07:17 for SUMO - Simulation of Urban MObility by
1.8.1.2