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