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
GUIGLObjectPopupMenu.h
Go to the documentation of this file.
1
/****************************************************************************/
9
// The popup menu of a globject
10
/****************************************************************************/
11
// SUMO, Simulation of Urban MObility; see http://sumo.sourceforge.net/
12
// Copyright (C) 2001-2012 DLR (http://www.dlr.de/) and contributors
13
/****************************************************************************/
14
//
15
// This file is part of SUMO.
16
// SUMO is free software: you can redistribute it and/or modify
17
// it under the terms of the GNU General Public License as published by
18
// the Free Software Foundation, either version 3 of the License, or
19
// (at your option) any later version.
20
//
21
/****************************************************************************/
22
#ifndef GUIGLObjectPopupMenu_h
23
#define GUIGLObjectPopupMenu_h
24
25
26
// ===========================================================================
27
// included modules
28
// ===========================================================================
29
#ifdef _MSC_VER
30
#include <
windows_config.h
>
31
#else
32
#include <
config.h
>
33
#endif
34
35
#include <vector>
36
#include <fx.h>
37
#include <
utils/geom/Position.h
>
38
39
40
// ===========================================================================
41
// class declarations
42
// ===========================================================================
43
class
GUISUMOAbstractView
;
44
class
GUIGlObject
;
45
class
GUIMainWindow
;
46
47
48
// ===========================================================================
49
// class definitions
50
// ===========================================================================
55
class
GUIGLObjectPopupMenu
:
public
FXMenuPane
{
56
// FOX-declarations
57
FXDECLARE(
GUIGLObjectPopupMenu
)
58
59
public
:
65
GUIGLObjectPopupMenu
(
GUIMainWindow
& app,
66
GUISUMOAbstractView
& parent,
GUIGlObject
& o) ;
67
68
70
virtual
~GUIGLObjectPopupMenu
() ;
71
72
73
public
:
75
long
onCmdCenter
(
FXObject
*, FXSelector,
void
*);
76
78
long
onCmdCopyName
(
FXObject
*, FXSelector,
void
*);
79
81
long
onCmdCopyTypedName
(
FXObject
*, FXSelector,
void
*);
82
84
long
onCmdCopyCursorPosition
(
FXObject
*, FXSelector,
void
*);
85
87
long
onCmdCopyCursorGeoPosition
(
FXObject
*, FXSelector,
void
*);
88
90
long
onCmdShowPars
(
FXObject
*, FXSelector,
void
*);
91
93
long
onCmdAddSelected
(
FXObject
*, FXSelector,
void
*);
94
96
long
onCmdRemoveSelected
(
FXObject
*, FXSelector,
void
*);
97
99
inline
GUISUMOAbstractView
*
getParentView
() {
100
return
myParent
;
101
}
102
103
protected
:
105
GUISUMOAbstractView
*
myParent
;
106
108
GUIGlObject
*
myObject
;
109
111
GUIMainWindow
*
myApplication
;
112
114
Position
myNetworkPosition
;
115
116
117
protected
:
119
GUIGLObjectPopupMenu
() { }
120
121
122
};
123
124
125
#endif
126
127
/****************************************************************************/
128
tmp
buildd
sumo-0.15.0~dfsg
src
utils
gui
globjects
GUIGLObjectPopupMenu.h
Generated on Sun May 27 2012 14:52:04 for SUMO - Simulation of Urban MObility by
1.8.1