Eclipse SUMO - Simulation of Urban MObility
GUIGlObject.cpp
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2001-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
17 // Base class for all objects that may be displayed within the openGL-gui
18 /****************************************************************************/
19 
20 
21 // ===========================================================================
22 // included modules
23 // ===========================================================================
24 #include <config.h>
25 
26 #include <string>
27 #include <stack>
28 #include <utils/common/ToString.h>
38 #include <utils/gui/div/GLHelper.h>
40 #include "GUIGlObject.h"
41 #include "GUIGlObjectStorage.h"
42 
43 // ===========================================================================
44 // static members
45 // ===========================================================================
46 
48  {"network", GLO_NETWORK},
49  //
50  {"netElement", GLO_NETELEMENT},
51  {"edge", GLO_EDGE},
52  {"lane", GLO_LANE},
53  {"junction", GLO_JUNCTION},
54  {"crossing", GLO_CROSSING},
55  {"connection", GLO_CONNECTION},
56  {"tlLogic", GLO_TLLOGIC},
57  //
58  {"additional", GLO_ADDITIONAL},
59  {"busStop", GLO_BUS_STOP},
60  {"access", GLO_ACCESS},
61  {"taz", GLO_TAZ},
62  {"containerStop", GLO_CONTAINER_STOP},
63  {"chargingStation", GLO_CHARGING_STATION},
64  {"parkingArea", GLO_PARKING_AREA},
65  {"parkingSpace", GLO_PARKING_SPACE},
66  {"e1Detector", GLO_E1DETECTOR},
67  {"e1DetectorME", GLO_E1DETECTOR_ME},
68  {"e1DetectorInstant", GLO_E1DETECTOR_INSTANT},
69  {"e2Detector", GLO_E2DETECTOR},
70  {"e3Detector", GLO_E3DETECTOR},
71  {"entryDetector", GLO_DET_ENTRY},
72  {"exitDetector", GLO_DET_EXIT},
73  {"rerouter", GLO_REROUTER},
74  {"rerouterEdge", GLO_REROUTER_EDGE},
75  {"variableSpeedSign", GLO_VSS},
76  {"calibrator", GLO_CALIBRATOR},
77  {"routeProbe", GLO_ROUTEPROBE},
78  {"vaporizer", GLO_VAPORIZER},
79  //
80  {"shape", GLO_SHAPE},
81  {"polygon", GLO_POLYGON},
82  {"poi", GLO_POI},
83  //
84  {"routeElement", GLO_ROUTEELEMENT},
85  {"vType", GLO_VTYPE},
86  //
87  {"route", GLO_ROUTE},
88  {"embeddedRoute", GLO_EMBEDDEDROUTE},
89  //
90  {"ride", GLO_RIDE},
91  {"walk", GLO_WALK},
92  {"personTrip", GLO_PERSONTRIP},
93  //
94  {"stop", GLO_STOP},
95  {"personStop", GLO_PERSONSTOP},
96  //
97  {"vehicle", GLO_VEHICLE},
98  {"trip", GLO_TRIP},
99  {"flow", GLO_FLOW},
100  {"routeFlow", GLO_ROUTEFLOW},
101  //
102  {"container", GLO_CONTAINER},
103  //
104  {"person", GLO_PERSON},
105  {"personFlow", GLO_PERSONFLOW},
106  {"undefined", GLO_MAX}
107 };
108 
109 
110 StringBijection<GUIGlObjectType> GUIGlObject::TypeNames(GUIGlObjectTypeNamesInitializer, GLO_MAX);
112 
113 // ===========================================================================
114 // method definitionsas
115 // ===========================================================================
116 
117 GUIGlObject::GUIGlObject(GUIGlObjectType type, const std::string& microsimID) :
118  myGLObjectType(type),
119  myMicrosimID(microsimID) {
120  // make sure that reserved GLO_ADDITIONAL isn't used
121  assert(myGLObjectType != GLO_ADDITIONAL);
124 }
125 
126 
128  for (auto i : myParamWindows) {
129  i->removeObject(this);
130  }
133 }
134 
135 
136 const std::string&
138  return myFullName;
139 }
140 
141 
142 std::string
145 }
146 
147 
148 GUIGlID
150  return myGlID;
151 }
152 
153 
156  UNUSED_PARAMETER(&app);
157  UNUSED_PARAMETER(&parent);
158  return nullptr;
159 }
160 
161 
162 const std::string&
164  return myMicrosimID;
165 }
166 
167 const std::string
169  return "";
170 }
171 
172 void
173 GUIGlObject::setMicrosimID(const std::string& newID) {
174  myMicrosimID = newID;
176 }
177 
178 
181  return myGLObjectType;
182 }
183 
184 
185 void
187  UNUSED_PARAMETER(&s);
188  UNUSED_PARAMETER(parent);
189 }
190 
191 #ifdef HAVE_OSG
192 
193 osg::Node*
194 GUIGlObject::getNode() const {
195  return myOSGNode;
196 }
197 
198 
199 void
200 GUIGlObject::setNode(osg::Node* node) {
201  myOSGNode = node;
202 }
203 
204 #endif
205 
206 void
208  new MFXMenuHeader(ret, app.getBoldFont(), getFullName().c_str(), nullptr, nullptr, 0);
209  if (addSeparator) {
210  new FXMenuSeparator(ret);
211  }
212 }
213 
214 
215 void
217  new FXMenuCommand(ret, "Center", GUIIconSubSys::getIcon(ICON_RECENTERVIEW), ret, MID_CENTER);
218  if (addSeparator) {
219  new FXMenuSeparator(ret);
220  }
221 }
222 
223 
224 void
226  new FXMenuCommand(ret, "Copy name to clipboard", nullptr, ret, MID_COPY_NAME);
227  new FXMenuCommand(ret, "Copy typed name to clipboard", nullptr, ret, MID_COPY_TYPED_NAME);
228  if (addSeparator) {
229  new FXMenuSeparator(ret);
230  }
231 }
232 
233 
234 void
236  if (gSelected.isSelected(getType(), getGlID())) {
237  new FXMenuCommand(ret, "Remove From Selected", GUIIconSubSys::getIcon(ICON_FLAG_MINUS), ret, MID_REMOVESELECT);
238  } else {
239  new FXMenuCommand(ret, "Add To Selected", GUIIconSubSys::getIcon(ICON_FLAG_PLUS), ret, MID_ADDSELECT);
240  }
241  if (addSeparator) {
242  new FXMenuSeparator(ret);
243  }
244 }
245 
246 
247 void
249  new FXMenuCommand(ret, "Show Parameter", GUIIconSubSys::getIcon(ICON_APP_TABLE), ret, MID_SHOWPARS);
250  if (addSeparator) {
251  new FXMenuSeparator(ret);
252  }
253 }
254 
255 
256 void
258  new FXMenuCommand(ret, "Show Type Parameter", GUIIconSubSys::getIcon(ICON_APP_TABLE), ret, MID_SHOWTYPEPARS);
259  if (addSeparator) {
260  new FXMenuSeparator(ret);
261  }
262 }
263 
264 
265 void
267  new FXMenuCommand(ret, "Copy cursor position to clipboard", nullptr, ret, MID_COPY_CURSOR_POSITION);
268  if (GeoConvHelper::getFinal().usingGeoProjection()) {
269  new FXMenuCommand(ret, "Copy cursor geo-position to clipboard", nullptr, ret, MID_COPY_CURSOR_GEOPOSITION);
270  }
271  if (addSeparator) {
272  new FXMenuSeparator(ret);
273  }
274 }
275 
276 
277 void
279  new FXMenuCommand(ret, "Open Manipulator...", GUIIconSubSys::getIcon(ICON_MANIP), ret, MID_MANIP);
280  if (addSeparator) {
281  new FXMenuSeparator(ret);
282  }
283 }
284 
285 
286 void
288  myParamWindows.insert(t);
289 }
290 
291 
292 void
294  std::set<GUIParameterTableWindow*>::iterator i = myParamWindows.find(t);
295  if (i != myParamWindows.end()) {
296  myParamWindows.erase(i);
297  }
298 }
299 
300 
301 void
303  assert(ret);
304  // build header (<tag>:<ID>
305  buildPopupHeader(ret, app, false);
306  // build center
308  // build copy name
310  // build select/unselect
312  // build show parameters
313  buildShowParamsPopupEntry(ret, false);
314  // build copy cursor position to clipboard
315  buildPositionCopyEntry(ret, false);
316  // only show type if isn't empty
317  if (type != "") {
318  new FXMenuCommand(ret, ("type: " + type + "").c_str(), nullptr, nullptr, 0);
319  new FXMenuSeparator(ret);
320  }
321 }
322 
323 
324 void
326  assert(ret);
327  // build header (<tag>:<ID>
328  buildPopupHeader(ret, app, false);
329  // build center
331  // build copy name
333  // build select/unselect
335  // build show parameters
336  buildShowParamsPopupEntry(ret, false);
337  // build copy cursor position to clipboard
338  buildPositionCopyEntry(ret, false);
339  // only show type if isn't empty
340  if (type != "") {
341  new FXMenuCommand(ret, ("type: " + type + "").c_str(), nullptr, nullptr, 0);
342  new FXMenuSeparator(ret);
343  }
344 }
345 
346 
347 std::string
350 }
351 
352 
353 void
354 GUIGlObject::drawName(const Position& pos, const double scale, const GUIVisualizationTextSettings& settings, const double angle) const {
355  if (settings.show) {
356  GLHelper::drawTextSettings(settings, getMicrosimID(), pos, scale, angle);
357  }
358 }
359 
360 /****************************************************************************/
361 
GLO_DET_ENTRY
a DetEntry detector
Definition: GUIGlObjectTypes.h:81
GUIGlObject::getType
GUIGlObjectType getType() const
Returns the type of the object as coded in GUIGlObjectType.
Definition: GUIGlObject.cpp:180
UNUSED_PARAMETER
#define UNUSED_PARAMETER(x)
Definition: StdDefs.h:31
GLO_CONNECTION
a connection
Definition: GUIGlObjectTypes.h:54
GLO_MAX
empty max
Definition: GUIGlObjectTypes.h:165
GUIGlObject.h
ToString.h
GLHelper::drawTextSettings
static void drawTextSettings(const GUIVisualizationTextSettings &settings, const std::string &text, const Position &pos, const double scale, const double angle=0, const double layer=2048)
Definition: GLHelper.cpp:706
GUIParameterTableWindow
A window containing a gl-object's parameter.
Definition: GUIParameterTableWindow.h:62
GUIGlObject::removeParameterTable
void removeParameterTable(GUIParameterTableWindow *w)
Lets this object know a parameter window showing the object's values was closed.
Definition: GUIGlObject.cpp:293
MFXMenuHeader.h
ICON_MANIP
Definition: GUIIcons.h:139
GUIGlObject::myMicrosimID
std::string myMicrosimID
ID of GL object.
Definition: GUIGlObject.h:257
GUISUMOAbstractView
Definition: GUISUMOAbstractView.h:72
GUIGlObject::getTypeParameterWindow
virtual GUIParameterTableWindow * getTypeParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own type parameter window (optional)
Definition: GUIGlObject.cpp:155
GUIGlObjectStorage::remove
bool remove(GUIGlID id)
Removes the named object from this container.
Definition: GUIGlObjectStorage.cpp:92
GUIParameterTableWindow.h
MID_COPY_CURSOR_GEOPOSITION
Copy cursor geo-coordinate position - popup entry.
Definition: GUIAppEnum.h:390
GUIGlObject::drawName
void drawName(const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0) const
draw name of item
Definition: GUIGlObject.cpp:354
StringBijection::getString
const std::string & getString(const T key) const
Definition: StringBijection.h:106
GUIGlObjectStorage::registerObject
GUIGlID registerObject(GUIGlObject *object, const std::string &fullName)
Registers an object.
Definition: GUIGlObjectStorage.cpp:52
GUIGlObject::myGLObjectType
const GUIGlObjectType myGLObjectType
The type of the object.
Definition: GUIGlObject.h:254
GUIGlObject::buildSelectionPopupEntry
void buildSelectionPopupEntry(GUIGLObjectPopupMenu *ret, bool addSeparator=true)
Builds an entry which allows to (de)select the object.
Definition: GUIGlObject.cpp:235
GLO_PERSONTRIP
a person trip
Definition: GUIGlObjectTypes.h:127
GLO_PERSONSTOP
a person stop
Definition: GUIGlObjectTypes.h:135
GUIGlObject::GUIGlObjectTypeNamesInitializer
static StringBijection< GUIGlObjectType >::Entry GUIGlObjectTypeNamesInitializer[]
LinkStates (Currently unused)
Definition: GUIGlObject.h:277
GUIGLObjectPopupMenu.h
GUIGlobalSelection.h
GUIGlObject::TypeNames
static StringBijection< GUIGlObjectType > TypeNames
associates object types with strings
Definition: GUIGlObject.h:68
GLO_DET_EXIT
a DetExit detector
Definition: GUIGlObjectTypes.h:83
GeoConvHelper.h
GUIGlObject::buildShowManipulatorPopupEntry
void buildShowManipulatorPopupEntry(GUIGLObjectPopupMenu *ret, bool addSeparator=true)
Builds an entry which allows to open the manipulator window.
Definition: GUIGlObject.cpp:278
GLO_FLOW
a flow
Definition: GUIGlObjectTypes.h:145
GLO_PERSON
Definition: GUIGlObjectTypes.h:159
GUIGlObject::getFullName
const std::string & getFullName() const
Definition: GUIGlObject.cpp:137
GUIVisualizationTextSettings
Definition: GUIVisualizationSettings.h:50
GUIGlObject::myFullName
std::string myFullName
full name of GL Object
Definition: GUIGlObject.h:260
GLO_VEHICLE
Definition: GUIGlObjectTypes.h:141
GLHelper.h
MID_COPY_NAME
Copy object name - popup entry.
Definition: GUIAppEnum.h:382
GLO_CROSSING
a tl-logic
Definition: GUIGlObjectTypes.h:52
GUIGlObject::getOptionalName
virtual const std::string getOptionalName() const
Returns the name of the object (default "")
Definition: GUIGlObject.cpp:168
GUIGLObjectPopupMenu
The popup menu of a globject.
Definition: GUIGLObjectPopupMenu.h:47
GUIIconSubSys::getIcon
static FXIcon * getIcon(GUIIcon which)
returns a icon previously defined in the enum GUIIcon
Definition: GUIIconSubSys.cpp:609
GLO_PERSONFLOW
a person flow
Definition: GUIGlObjectTypes.h:161
GLO_RIDE
Definition: GUIGlObjectTypes.h:123
GUIGlObject::buildAdditionalsPopupOptions
void buildAdditionalsPopupOptions(GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition: GUIGlObject.cpp:325
GLO_ACCESS
a Acces
Definition: GUIGlObjectTypes.h:97
GLO_CHARGING_STATION
a chargingStation
Definition: GUIGlObjectTypes.h:65
ICON_APP_TABLE
Definition: GUIIcons.h:113
MID_ADDSELECT
Add to selected items - menu entry.
Definition: GUIAppEnum.h:408
GUIGlObjectStorage.h
GUIMainWindow.h
GLO_POLYGON
a polygon
Definition: GUIGlObjectTypes.h:104
GLO_PARKING_SPACE
a ParkingSpace
Definition: GUIGlObjectTypes.h:69
GUIAppEnum.h
GUIGlObject::createFullName
std::string createFullName() const
create full name
Definition: GUIGlObject.cpp:348
GUIGlObjectType
GUIGlObjectType
Definition: GUIGlObjectTypes.h:39
GUIGlObject::GUIGlObject
GUIGlObject(GUIGlObjectType type, const std::string &microsimID)
Constructor.
Definition: GUIGlObject.cpp:117
MID_COPY_CURSOR_POSITION
Copy cursor position - popup entry.
Definition: GUIAppEnum.h:388
GUISUMOAbstractView.h
GLO_TLLOGIC
a tl-logic
Definition: GUIGlObjectTypes.h:56
MID_CENTER
Center view to object - popup entry.
Definition: GUIAppEnum.h:380
GUIGlObject::setMicrosimID
virtual void setMicrosimID(const std::string &newID)
Changes the microsimID of the object.
Definition: GUIGlObject.cpp:173
GUIGlObject::INVALID_ID
static const GUIGlID INVALID_ID
Definition: GUIGlObject.h:69
StringBijection
Definition: StringBijection.h:43
GUIGlObject::drawGLAdditional
virtual void drawGLAdditional(GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
Draws additional, user-triggered visualisations.
Definition: GUIGlObject.cpp:186
GeoConvHelper::getFinal
static const GeoConvHelper & getFinal()
the coordinate transformation for writing the location element and for tracking the original coordina...
Definition: GeoConvHelper.h:105
GLO_ROUTEELEMENT
reserved GLO type to pack all RouteElements (note: In this case the sorting of GLO_<element> is impor...
Definition: GUIGlObjectTypes.h:109
GUIGlObject::buildNameCopyPopupEntry
void buildNameCopyPopupEntry(GUIGLObjectPopupMenu *ret, bool addSeparator=true)
Builds entries which allow to copy the name / typed name into the clipboard.
Definition: GUIGlObject.cpp:225
GLO_E1DETECTOR_INSTANT
a E1 detector
Definition: GUIGlObjectTypes.h:75
GLO_ROUTEPROBE
a RouteProbe
Definition: GUIGlObjectTypes.h:93
GUIGlObject::myParamWindows
std::set< GUIParameterTableWindow * > myParamWindows
Parameter table windows which refer to this object.
Definition: GUIGlObject.h:263
GUIGlObject::getGlID
GUIGlID getGlID() const
Returns the numerical id of the object.
Definition: GUIGlObject.cpp:149
GLO_SHAPE
reserved GLO type to pack shapes
Definition: GUIGlObjectTypes.h:102
GLO_WALK
a walk
Definition: GUIGlObjectTypes.h:125
GLO_VTYPE
Definition: GUIGlObjectTypes.h:110
GLO_E1DETECTOR
a E1 detector
Definition: GUIGlObjectTypes.h:71
GLO_ROUTE
Definition: GUIGlObjectTypes.h:115
Position
A point in 2D or 3D with translation and scaling methods.
Definition: Position.h:38
GLO_TRIP
a trip
Definition: GUIGlObjectTypes.h:143
GLO_EDGE
an edge
Definition: GUIGlObjectTypes.h:46
GLO_POI
a poi
Definition: GUIGlObjectTypes.h:106
GLO_LANE
a lane
Definition: GUIGlObjectTypes.h:48
GLO_CONTAINER
Definition: GUIGlObjectTypes.h:153
GUIVisualizationTextSettings::show
bool show
flag show
Definition: GUIVisualizationSettings.h:68
GLO_BUS_STOP
a busStop
Definition: GUIGlObjectTypes.h:61
GUIGlObject::buildPopupHeader
void buildPopupHeader(GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true)
Builds the header.
Definition: GUIGlObject.cpp:207
GLO_PARKING_AREA
a ParkingArea
Definition: GUIGlObjectTypes.h:67
GLO_E3DETECTOR
a E3 detector
Definition: GUIGlObjectTypes.h:79
GUIGlObject::myGlID
GUIGlID myGlID
The numerical id of the object.
Definition: GUIGlObject.h:251
GUIIconSubSys.h
GLObjectValuePassConnector.h
MID_SHOWPARS
Show object parameter - popup entry.
Definition: GUIAppEnum.h:394
GUIMainWindow
Definition: GUIMainWindow.h:46
GLO_VAPORIZER
a Vaporizer
Definition: GUIGlObjectTypes.h:95
GUIMainWindow::getBoldFont
FXFont * getBoldFont()
Definition: GUIMainWindow.cpp:145
GUIGlObject::buildShapePopupOptions
void buildShapePopupOptions(GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition: GUIGlObject.cpp:302
ICON_FLAG_PLUS
Definition: GUIIcons.h:126
GUIGlID
unsigned int GUIGlID
Definition: GUIGlObject.h:42
GLO_NETELEMENT
reserved GLO type to pack all netElements
Definition: GUIGlObjectTypes.h:44
GLObjectValuePassConnector::removeObject
static void removeObject(GUIGlObject &o)
Removes all instances that pass values from the object with the given id.
Definition: GLObjectValuePassConnector.h:112
GLO_REROUTER
a Rerouter
Definition: GUIGlObjectTypes.h:85
MID_MANIP
Open the object's manipulator.
Definition: GUIAppEnum.h:412
GUIGlObject::buildShowTypeParamsPopupEntry
void buildShowTypeParamsPopupEntry(GUIGLObjectPopupMenu *ret, bool addSeparator=true)
Builds an entry which allows to open the type parameter window.
Definition: GUIGlObject.cpp:257
GUIGlObject::buildShowParamsPopupEntry
void buildShowParamsPopupEntry(GUIGLObjectPopupMenu *ret, bool addSeparator=true)
Builds an entry which allows to open the parameter window.
Definition: GUIGlObject.cpp:248
GUIGlObjectStorage::gIDStorage
static GUIGlObjectStorage gIDStorage
A single static instance of this class.
Definition: GUIGlObjectStorage.h:140
ICON_RECENTERVIEW
Definition: GUIIcons.h:68
StringUtils::emptyString
static std::string emptyString
An empty string.
Definition: StringUtils.h:83
gSelected
GUISelectedStorage gSelected
A global holder of selected objects.
Definition: GUIGlobalSelection.cpp:33
GUIGlObject::buildCenterPopupEntry
void buildCenterPopupEntry(GUIGLObjectPopupMenu *ret, bool addSeparator=true)
Builds an entry which allows to center to the object.
Definition: GUIGlObject.cpp:216
GUIGlObject::buildPositionCopyEntry
void buildPositionCopyEntry(GUIGLObjectPopupMenu *ret, bool addSeparator=true)
Builds an entry which allows to copy the cursor position if geo projection is used,...
Definition: GUIGlObject.cpp:266
GLO_CALIBRATOR
a Calibrator
Definition: GUIGlObjectTypes.h:91
config.h
GLO_ADDITIONAL
reserved GLO type to pack all additionals
Definition: GUIGlObjectTypes.h:59
GLO_JUNCTION
a junction
Definition: GUIGlObjectTypes.h:50
GUIGlObject::addParameterTable
void addParameterTable(GUIParameterTableWindow *w)
Definition: GUIGlObject.cpp:287
GUIGlObject::~GUIGlObject
virtual ~GUIGlObject()
Destructor.
Definition: GUIGlObject.cpp:127
GLO_CONTAINER_STOP
a containerStop
Definition: GUIGlObjectTypes.h:63
MID_COPY_TYPED_NAME
Copy typed object name - popup entry.
Definition: GUIAppEnum.h:384
ICON_FLAG_MINUS
Definition: GUIIcons.h:127
GUIVisualizationSettings
Stores the information about how to visualize structures.
Definition: GUIVisualizationSettings.h:345
GLO_TAZ
a TAZ
Definition: GUIGlObjectTypes.h:99
GLO_E1DETECTOR_ME
a E1 detector
Definition: GUIGlObjectTypes.h:73
GLO_REROUTER_EDGE
a Rerouter
Definition: GUIGlObjectTypes.h:87
GUIGlObject::getMicrosimID
virtual const std::string & getMicrosimID() const
Returns the id of the object as known to microsim.
Definition: GUIGlObject.cpp:163
GLO_ROUTEFLOW
a routeFlow
Definition: GUIGlObjectTypes.h:147
GLO_E2DETECTOR
a E2 detector
Definition: GUIGlObjectTypes.h:77
MFXMenuHeader
Definition: MFXMenuHeader.h:27
MID_SHOWTYPEPARS
Show object type parameter - popup entry.
Definition: GUIAppEnum.h:396
GLO_VSS
a Variable Speed Sign
Definition: GUIGlObjectTypes.h:89
GLO_NETWORK
The network - empty.
Definition: GUIGlObjectTypes.h:41
GLO_STOP
Definition: GUIGlObjectTypes.h:133
GLO_EMBEDDEDROUTE
a embedded route
Definition: GUIGlObjectTypes.h:117
GUIGlObject::getParentName
virtual std::string getParentName() const
Returns the name of the parent object (if any)
Definition: GUIGlObject.cpp:143
MID_REMOVESELECT
Remove from selected items - Menu Etry.
Definition: GUIAppEnum.h:410
GUISelectedStorage::isSelected
bool isSelected(GUIGlObjectType type, GUIGlID id)
Returns the information whether the object with the given type and id is selected.
Definition: GUISelectedStorage.cpp:94