Eclipse SUMO - Simulation of Urban MObility
GUIDetectorWrapper Class Referenceabstract

#include <GUIDetectorWrapper.h>

Inheritance diagram for GUIDetectorWrapper:
[legend]
Collaboration diagram for GUIDetectorWrapper:
[legend]

Data Structures

class  PopupMenu
 

Public Member Functions

virtual void drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
 Draws additional, user-triggered visualisations. More...
 
void drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0, bool forceShow=false) const
 draw name of item More...
 
 GUIDetectorWrapper (GUIGlObjectType type, const std::string &id, FXIcon *icon)
 Constructor. More...
 
virtual void onLeftBtnPress (void *)
 notify object about left click More...
 
virtual void removeActiveAddVisualisation (GUISUMOAbstractView *const, int)
 remove additional user-griggered visualisations More...
 
 ~GUIDetectorWrapper ()
 Destructor. More...
 
inherited from GUIGlObject
GUIGLObjectPopupMenugetPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own popup-menu. More...
 
double getExaggeration (const GUIVisualizationSettings &s) const
 return exaggeration associated with this GLObject More...
 
getter methods

Returns the full name appearing in the tool tip

Returns
This object's typed id
const std::string & getFullName () const
 
virtual std::string getParentName () const
 Returns the name of the parent object (if any) More...
 
GUIGlID getGlID () const
 Returns the numerical id of the object. More...
 
FXIcon * getGLIcon () const
 get icon associated with this GL Object More...
 
interfaces to be implemented by derived classes
virtual void removedPopupMenu ()
 notify object about popup menu removal More...
 
virtual GUIParameterTableWindowgetParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)=0
 Returns an own parameter window. More...
 
virtual GUIParameterTableWindowgetTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own type parameter window (optional) More...
 
const std::string & getMicrosimID () const
 Returns the id of the object as known to microsim. More...
 
virtual const std::string getOptionalName () const
 Returns the name of the object (default "") More...
 
virtual void setMicrosimID (const std::string &newID)
 Changes the microsimID of the object. More...
 
GUIGlObjectType getType () const
 Returns the type of the object as coded in GUIGlObjectType. More...
 
virtual double getClickPriority () const
 Returns the priority of receiving mouse clicks. More...
 
bool isBlocked () const
 get blocking status More...
 
void setBlocked (const bool state=true)
 set blocking status More...
 
virtual Boundary getCenteringBoundary () const =0
 
virtual void drawGL (const GUIVisualizationSettings &s) const =0
 Draws the object. More...
 
virtual bool isGLObjectLocked () const
 check if element is locked (Currently used only in netedit) More...
 
virtual void markAsFrontElement ()
 mark element as front element (Currently used only in netedit) More...
 
virtual void deleteGLObject ()
 delete GLObject (Currently used only in netedit) More...
 
virtual void selectGLObject ()
 select GLObject (Currently used only in netedit) More...
 
virtual void updateGLObject ()
 update GLObject (geometry, ID, etc.) (optional) More...
 
virtual double getColorValue (const GUIVisualizationSettings &, int) const
 
Parameter table window I/O

Lets this object know a parameter window showing the object's values was opened

Parameters
[in]wThe opened parameter window
void addParameterTable (GUIParameterTableWindow *w)
 
void removeParameterTable (GUIParameterTableWindow *w)
 Lets this object know a parameter window showing the object's values was closed. More...
 

Static Public Member Functions

static void clearDictionary ()
 Clears the dictionary (the objects will not be deleted) More...
 
static GUIGlObject_AbstractAddget (const std::string &name)
 Returns a named object. More...
 
static std::vector< GUIGlIDgetIDList (GUIGlObjectType typeFilter)
 Returns the list of gl-ids of all additional objects that match the given type. More...
 
static const std::vector< GUIGlObject_AbstractAdd * > & getObjectList ()
 Returns the list of all additional objects. More...
 
static void remove (GUIGlObject_AbstractAdd *o)
 Removes an object. More...
 

Static Public Attributes

static const GUIGlID INVALID_ID = 0
 
static const double INVALID_PRIORITY
 
static StringBijection< GUIGlObjectTypeTypeNames
 associates object types with strings More...
 

Protected Member Functions

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 More...
 
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 More...
 
virtual bool haveOverride () const
 whether this detector has an active virtual detector call More...
 
virtual void toggleOverride () const
 
helper methods for building popup-menus
void buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true)
 Builds the header. More...
 
void buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to center to the object. More...
 
void buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds entries which allow to copy the name / typed name into the clipboard. More...
 
void buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to (de)select the object. More...
 
void buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the parameter window. More...
 
void buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the type parameter window. More...
 
void buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, const GUIMainWindow &app) const
 Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. More...
 
void buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the manipulator window. More...
 

Protected Attributes

bool mySupportsOverride
 whether this detector supports virtual detector calls More...
 

Static Protected Attributes

static std::vector< GUIGlObject_AbstractAdd * > myObjectList
 The list of all addtional objects currently loaded. More...
 
static std::map< std::string, GUIGlObject_AbstractAdd * > myObjects
 Map from names of loaded additional objects to the objects themselves. More...
 

Private Member Functions

std::string createFullName () const
 create full name More...
 

Private Attributes

bool myAmBlocked = false
 whether the object can be deleted More...
 
std::string myFullName
 full name of GL Object More...
 
const GUIGlID myGlID
 The numerical id of the object. More...
 
const GUIGlObjectType myGLObjectType
 The type of the object. More...
 
FXIcon * myIcon
 icon associatd with this GL Object More...
 
std::string myMicrosimID
 ID of GL object. More...
 
std::set< GUIParameterTableWindow * > myParamWindows
 Parameter table windows which refer to this object. More...
 

Static Private Attributes

static StringBijection< GUIGlObjectType >::Entry GUIGlObjectTypeNamesInitializer []
 vector for TypeNames Initializer More...
 

Detailed Description

This is the base class for detector wrapper; As detectors may have a position only or additionally a length, different display mechanisms are necessary. These must be implemented in class erived from this one, according to the wrapped detectors' properties.

Definition at line 41 of file GUIDetectorWrapper.h.

Constructor & Destructor Documentation

◆ GUIDetectorWrapper()

GUIDetectorWrapper::GUIDetectorWrapper ( GUIGlObjectType  type,
const std::string &  id,
FXIcon *  icon 
)

Constructor.

Definition at line 46 of file GUIDetectorWrapper.cpp.

◆ ~GUIDetectorWrapper()

GUIDetectorWrapper::~GUIDetectorWrapper ( )

Destructor.

Definition at line 52 of file GUIDetectorWrapper.cpp.

Member Function Documentation

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow w)
inherited

Definition at line 360 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::GUIParameterTableWindow().

Here is the caller graph for this function:

◆ buildAdditionalsPopupOptions()

void GUIGlObject::buildAdditionalsPopupOptions ( GUIMainWindow app,
GUIGLObjectPopupMenu ret,
const std::string &  type 
)
protectedinherited

◆ buildCenterPopupEntry()

void GUIGlObject::buildCenterPopupEntry ( GUIGLObjectPopupMenu ret,
bool  addSeparator = true 
)
protectedinherited

Builds an entry which allows to center to the object.

Parameters
[in,filled]ret The popup menu to add the entry to
[in]addSeparatorWhether a separator shall be added, too

Definition at line 277 of file GUIGlObject.cpp.

References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_CENTER, RECENTERVIEW, and TL.

Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().

Here is the caller graph for this function:

◆ buildNameCopyPopupEntry()

◆ buildPopupHeader()

void GUIGlObject::buildPopupHeader ( GUIGLObjectPopupMenu ret,
GUIMainWindow app,
bool  addSeparator = true 
)
protectedinherited

Builds the header.

Parameters
[in,filled]ret The popup menu to add the entry to
[in]addSeparatorWhether a separator shall be added, too

Definition at line 268 of file GUIGlObject.cpp.

References GUIMainWindow::getBoldFont(), GUIGlObject::getFullName(), and GUIGlObject::myIcon.

Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().

Here is the caller graph for this function:

◆ buildPositionCopyEntry()

void GUIGlObject::buildPositionCopyEntry ( GUIGLObjectPopupMenu ret,
const GUIMainWindow app 
) const
protectedinherited

Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position.

Parameters
[in,filled]ret The popup menu to add the entry to
[in]addSeparatorWhether a separator shall be added, too

Definition at line 327 of file GUIGlObject.cpp.

References GUIDesigns::buildFXMenuCommand(), GEOHACK, GeoConvHelper::getFinal(), GUIIconSubSys::getIcon(), GUIMainWindow::getOnlineMaps(), GOOGLEMAPS, GUIGLObjectPopupMenu::insertMenuPaneChild(), MID_COPY_CURSOR_GEOPOSITION, MID_COPY_CURSOR_POSITION, MID_SHOW_GEOPOSITION_ONLINE, OSM, and TL.

Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNENet::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().

Here is the caller graph for this function:

◆ buildSelectionPopupEntry()

void GUIGlObject::buildSelectionPopupEntry ( GUIGLObjectPopupMenu ret,
bool  addSeparator = true 
)
protectedinherited

◆ buildShapePopupOptions()

void GUIGlObject::buildShapePopupOptions ( GUIMainWindow app,
GUIGLObjectPopupMenu ret,
const std::string &  type 
)
protectedinherited

build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI

Definition at line 375 of file GUIGlObject.cpp.

References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), and TLF.

Referenced by GUIPointOfInterest::getPopUpMenu().

Here is the caller graph for this function:

◆ buildShowManipulatorPopupEntry()

void GUIGlObject::buildShowManipulatorPopupEntry ( GUIGLObjectPopupMenu ret,
bool  addSeparator = true 
)
protectedinherited

Builds an entry which allows to open the manipulator window.

Parameters
[in,filled]ret The popup menu to add the entry to
[in]addSeparatorWhether a separator shall be added, too

Definition at line 351 of file GUIGlObject.cpp.

References GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MANIP, MID_MANIP, and TL.

Referenced by GUILaneSpeedTrigger::getPopUpMenu(), and GUITriggeredRerouter::getPopUpMenu().

Here is the caller graph for this function:

◆ buildShowParamsPopupEntry()

void GUIGlObject::buildShowParamsPopupEntry ( GUIGLObjectPopupMenu ret,
bool  addSeparator = true 
)
protectedinherited

Builds an entry which allows to open the parameter window.

Parameters
[in,filled]ret The popup menu to add the entry to
[in]addSeparatorWhether a separator shall be added, too

Definition at line 309 of file GUIGlObject.cpp.

References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_SHOWPARS, and TL.

Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GNEDemandElementPlan::getPlanPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), and GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu().

Here is the caller graph for this function:

◆ buildShowTypeParamsPopupEntry()

void GUIGlObject::buildShowTypeParamsPopupEntry ( GUIGLObjectPopupMenu ret,
bool  addSeparator = true 
)
protectedinherited

Builds an entry which allows to open the type parameter window.

Parameters
[in,filled]ret The popup menu to add the entry to
[in]addSeparatorWhether a separator shall be added, too

Definition at line 318 of file GUIGlObject.cpp.

References APP_TABLE, GUIDesigns::buildFXMenuCommand(), GUIIconSubSys::getIcon(), MID_SHOWTYPEPARS, and TL.

Referenced by GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), and GUIPerson::getPopUpMenu().

Here is the caller graph for this function:

◆ clearDictionary()

void GUIGlObject_AbstractAdd::clearDictionary ( )
staticinherited

Clears the dictionary (the objects will not be deleted)

!! delete (*i).second;

Definition at line 53 of file GUIGlObject_AbstractAdd.cpp.

References GUIGlObject_AbstractAdd::myObjectList, and GUIGlObject_AbstractAdd::myObjects.

Referenced by GUINet::~GUINet().

Here is the caller graph for this function:

◆ createFullName()

std::string GUIGlObject::createFullName ( ) const
privateinherited

create full name

Definition at line 421 of file GUIGlObject.cpp.

References GUIGlObject::getMicrosimID(), StringBijection< T >::getString(), GUIGlObject::myGLObjectType, and GUIGlObject::TypeNames.

Referenced by GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().

Here is the caller graph for this function:

◆ deleteGLObject()

void GUIGlObject::deleteGLObject ( )
virtualinherited

delete GLObject (Currently used only in netedit)

Reimplemented in GNENetworkElement, GNEWalkingArea, GNELaneType, GNELane, GNEJunction, GNEInternalLane, GNEEdgeType, GNEEdge, GNECrossing, GNEConnection, GNEDemandElement, GNEGenericData, and GNEAdditional.

Definition at line 215 of file GUIGlObject.cpp.

◆ drawGL()

virtual void GUIGlObject::drawGL ( const GUIVisualizationSettings s) const
pure virtualinherited

Draws the object.

Parameters
[in]sThe settings for the current view (may influence drawing)

Implemented in GUIPolygon, GUIPointOfInterest, GNEPoly, GNEPOI, GUIPerson, GUINet, GUILane, GUIInductLoop::MyWrapper, GUIEdge, GUIE2Collector::MyWrapper, GUIContainer, GNENetworkElement, GNEDemandElement, GNEGenericData, GNEStoppingPlace, GNEDetector, GNEAdditional, GNENet, GNEWalkingArea, GNELaneType, GNELane, GNEJunction, GNEInternalLane, GNEEdgeType, GNEEdge, GNECrossing, GNEConnection, GNEWalk, GNEVType, GNEVehicle, GNETransport, GNETranship, GNEStopPlan, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPerson, GNEDistribution, GNEContainer, GNETAZRelData, GNEEdgeRelData, GNEEdgeData, GNEVariableSpeedSignSymbol, GNEVariableSpeedSignStep, GNEVariableSpeedSign, GNEVaporizer, GNETractionSubstation, GNETAZSourceSink, GNETAZ, GNERouteProbReroute, GNERouteProbe, GNERerouterSymbol, GNERerouterInterval, GNERerouter, GNEParkingSpace, GNEParkingAreaReroute, GNEParkingArea, GNEOverheadWire, GNEMultiEntryExitDetector, GNELaneAreaDetector, GNEInstantInductionLoopDetector, GNEInductionLoopDetector, GNEEntryExitDetector, GNEDestProbReroute, GNEContainerStop, GNEClosingReroute, GNEClosingLaneReroute, GNEChargingStation, GNECalibratorFlow, GNECalibrator, GNEBusStop, GNEAccess, GUIMEInductLoop::MyWrapper, GUITriggeredRerouter::GUITriggeredRerouterEdge, GUITriggeredRerouter, GUITrafficLightLogicWrapper, GUIParkingArea, GUIOverheadWireClamp, GUIOverheadWire, GUILaneSpeedTrigger, GUIJunctionWrapper, GUIInstantInductLoop::MyWrapper, GUIE3Collector::MyWrapper, GUIChargingStation, GUICalibrator, GUIBusStop, and GUIBaseVehicle.

◆ drawGLAdditional()

void GUIGlObject::drawGLAdditional ( GUISUMOAbstractView *const  parent,
const GUIVisualizationSettings s 
) const
virtualinherited

Draws additional, user-triggered visualisations.

Parameters
[in]parentThe view
[in]sThe settings for the current view (may influence drawing)

Reimplemented in GUIPerson, GUIContainer, and GUIBaseVehicle.

Definition at line 247 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

◆ drawName()

◆ get()

GUIGlObject_AbstractAdd * GUIGlObject_AbstractAdd::get ( const std::string &  name)
staticinherited

Returns a named object.

Definition at line 64 of file GUIGlObject_AbstractAdd.cpp.

References GUIGlObject_AbstractAdd::myObjects.

◆ getCenteringBoundary()

◆ getClickPriority()

virtual double GUIGlObject::getClickPriority ( ) const
inlinevirtualinherited

Returns the priority of receiving mouse clicks.

Reimplemented in GUIPolygon, GUIPointOfInterest, GUILane, and GUIEdge.

Definition at line 161 of file GUIGlObject.h.

References GUIGlObject::myGLObjectType.

Referenced by GUISUMOAbstractView::getObjectAtPosition(), and ComparatorClickPriority::operator()().

Here is the caller graph for this function:

◆ getColorValue()

virtual double GUIGlObject::getColorValue ( const GUIVisualizationSettings ,
int   
) const
inlinevirtualinherited

Reimplemented in GUIPerson, GUILane, GUIEdge, GUIContainer, GUIBaseVehicle, GNELane, GNEJunction, GNETAZRelData, GNEEdgeRelData, GNEEdgeData, GUIMEVehicle, GUIVehicle, and GUIJunctionWrapper.

Definition at line 203 of file GUIGlObject.h.

Referenced by GNEContainer::drawGL(), GNEPerson::drawGL(), and GNEPerson::setColor().

Here is the caller graph for this function:

◆ getExaggeration()

double GUIDetectorWrapper::getExaggeration ( const GUIVisualizationSettings s) const
virtual

return exaggeration associated with this GLObject

Reimplemented from GUIGlObject.

Reimplemented in GUIE2Collector::MyWrapper, GUIMEInductLoop::MyWrapper, GUIInstantInductLoop::MyWrapper, and GUIE3Collector::MyWrapper.

Definition at line 77 of file GUIDetectorWrapper.cpp.

References GUIVisualizationSettings::addSize, and GUIVisualizationSizeSettings::getExaggeration().

◆ getFullName()

◆ getGLIcon()

FXIcon * GUIGlObject::getGLIcon ( ) const
inherited

get icon associated with this GL Object

Definition at line 188 of file GUIGlObject.cpp.

References GUIGlObject::myIcon.

◆ getGlID()

GUIGlID GUIGlObject::getGlID ( ) const
inlineinherited

Returns the numerical id of the object.

Returns
This object's gl-id

Definition at line 104 of file GUIGlObject.h.

References GUIGlObject::myGlID.

Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIContainer::drawGL(), GUIEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GUIJunctionWrapper::getColorValue(), GUIVehicle::getColorValue(), GUIMEVehicle::getColorValue(), GUIContainer::getColorValue(), GUIEdge::getColorValue(), GUIPerson::getColorValue(), GNEPOI::getGlID(), GNEPoly::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIShapeContainer::getPOIIds(), GUIShapeContainer::getPolygonIDs(), GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIEdge::getScaleValue(), GNEViewNet::getToolTipID(), GUITransportableControl::insertIDs(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), GUILane::isLaneOrEdgeSelected(), GUIVehicle::isSelected(), GUIContainer::isSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUIPerson::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GNEElementTree::onCmdCenterItem(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_ChooserAbstract::onCmdTrack(), GUIViewTraffic::onGamingClick(), ComparatorClickPriority::operator()(), GUIDialog_ChooserAbstract::refreshList(), GLObjectValuePassConnector< T >::removeObject(), GUIVehicle::selectBlockingFoes(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GUIViewTraffic::showLaneReachability(), GUIBaseVehicle::~GUIBaseVehicle(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().

◆ getIDList()

std::vector< GUIGlID > GUIGlObject_AbstractAdd::getIDList ( GUIGlObjectType  typeFilter)
staticinherited

Returns the list of gl-ids of all additional objects that match the given type.

Definition at line 88 of file GUIGlObject_AbstractAdd.cpp.

References GLO_ADDITIONALELEMENT, GLO_MAX, GLO_NETWORK, GLO_NETWORKELEMENT, GLO_ROUTEELEMENT, GLO_SHAPE, and GUIGlObject_AbstractAdd::myObjectList.

Referenced by GUISUMOViewParent::getObjectIDs().

Here is the caller graph for this function:

◆ getMicrosimID()

const std::string& GUIGlObject::getMicrosimID ( ) const
inlineinherited

Returns the id of the object as known to microsim.

Definition at line 143 of file GUIGlObject.h.

References GUIGlObject::myMicrosimID.

Referenced by SUMORTree::addAdditionalGLObject(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENetHelper::AttributeCarriers::deleteEdgeType(), GNENetHelper::AttributeCarriers::deleteSingleEdge(), GNENetHelper::AttributeCarriers::deleteSingleJunction(), GNEAdditional::drawAdditionalID(), GNEInternalLane::drawGL(), GUIGlObject::drawName(), GNEBusStop::getAttribute(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEChargingStation::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEContainerStop::getAttribute(), GNEDestProbReroute::getAttribute(), GNEInductionLoopDetector::getAttribute(), GNEInstantInductionLoopDetector::getAttribute(), GNELaneAreaDetector::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingArea::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouter::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNETAZ::getAttribute(), GNETAZSourceSink::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEContainer::getAttribute(), GNEDistribution::getAttribute(), GNEPerson::getAttribute(), GNERoute::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNEWalkingArea::getAttribute(), GNEWalkingArea::getNBWalkingArea(), GUIDialog_ChooserAbstract::getObjectName(), GNEDialogACChooser::getObjectName(), GNEMultiEntryExitDetector::getParentName(), GNERerouter::getParentName(), GNETAZ::getParentName(), GNETractionSubstation::getParentName(), GNEVariableSpeedSign::getParentName(), GNEDistribution::getParentName(), GNEVType::getParentName(), GNEPOI::getParentName(), GNEPoly::getParentName(), GNEChange_TLS::GNEChange_TLS(), GNETLSEditorFrame::handleMultiChange(), GNENetHelper::AttributeCarriers::insertEdgeType(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyName(), GNENetHelper::AttributeCarriers::registerEdge(), GNENetHelper::AttributeCarriers::registerEdgeType(), GNENetHelper::AttributeCarriers::registerJunction(), SUMORTree::removeAdditionalGLObject(), GNENetHelper::AttributeCarriers::retrieveConnection(), GNENetHelper::AttributeCarriers::retrieveCrossing(), GNENetHelper::AttributeCarriers::retrieveEdge(), GNENetHelper::AttributeCarriers::retrieveInternalLane(), GNENetHelper::AttributeCarriers::retrieveJunction(), GNENetHelper::AttributeCarriers::retrieveLane(), GNENetHelper::AttributeCarriers::retrieveWalkingArea(), GNEStop::setStopMicrosimID(), and GNENet::splitEdge().

◆ getObjectList()

const std::vector< GUIGlObject_AbstractAdd * > & GUIGlObject_AbstractAdd::getObjectList ( )
staticinherited

Returns the list of all additional objects.

Definition at line 82 of file GUIGlObject_AbstractAdd.cpp.

References GUIGlObject_AbstractAdd::myObjectList.

◆ getOptionalName()

const std::string GUIGlObject::getOptionalName ( ) const
virtualinherited

Returns the name of the object (default "")

Reimplemented in GUIPolygon, GUIPointOfInterest, GUIEdge, GNENetworkElement, GNEEdge, GNEAdditional, GUITrafficLightLogicWrapper, GUIParkingArea, GUIJunctionWrapper, GUIChargingStation, GUIBusStop, and GUIBaseVehicle.

Definition at line 233 of file GUIGlObject.cpp.

Referenced by GUIDialog_ChooserAbstract::getObjectName().

Here is the caller graph for this function:

◆ getParameterWindow()

virtual GUIParameterTableWindow* GUIGlObject::getParameterWindow ( GUIMainWindow app,
GUISUMOAbstractView parent 
)
pure virtualinherited

Returns an own parameter window.

Parameters
[in]appThe application needed to build the parameter window
[in]parentThe parent window needed to build the parameter window
Returns
The built parameter window

Implemented in GUIBaseVehicle, GUIPolygon, GUIPointOfInterest, GUIPerson, GUINet, GUILane, GUIInductLoop::MyWrapper, GUIEdge, GUIE2Collector::MyWrapper, GUIContainer, GNENet, GNENetworkElement, GNEInternalLane, GNEDemandElement, GNEGenericData, GNEAdditional, GUIMEVehicle, GUIMEInductLoop::MyWrapper, GUIVehicle, GUITriggeredRerouter::GUITriggeredRerouterEdge, GUITriggeredRerouter, GUITrafficLightLogicWrapper, GUIParkingArea, GUIOverheadWireClamp, GUIOverheadWire, GUILaneSpeedTrigger, GUIJunctionWrapper, GUIInstantInductLoop::MyWrapper, GUIE3Collector::MyWrapper, GUIChargingStation, GUICalibrator, and GUIBusStop.

Referenced by GUIGLObjectPopupMenu::onCmdShowPars().

Here is the caller graph for this function:

◆ getParentName()

std::string GUIGlObject::getParentName ( ) const
virtualinherited

◆ getPopUpMenu()

GUIGLObjectPopupMenu * GUIDetectorWrapper::getPopUpMenu ( GUIMainWindow app,
GUISUMOAbstractView parent 
)
virtual

Returns an own popup-menu.

Parameters
[in]appThe application needed to build the popup-menu
[in]parentThe parent window needed to build the popup-menu
Returns
The built popup-menu
See also
GUIGlObject::getPopUpMenu

Implements GUIGlObject.

Definition at line 56 of file GUIDetectorWrapper.cpp.

References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), haveOverride(), MID_VIRTUAL_DETECTOR, and mySupportsOverride.

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inlineinherited

Returns the type of the object as coded in GUIGlObjectType.

See also
GUIGlObjectType

Definition at line 156 of file GUIGlObject.h.

References GUIGlObject::myGLObjectType.

Referenced by GUIViewObjectsHandler::addElementUnderCursor(), GUIViewObjectsHandler::addGeometryPointUnderCursor(), GUIViewObjectsHandler::addPositionOverShape(), GUIGlObject::buildSelectionPopupEntry(), GNEViewNet::checkOverLockedElement(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNELaneAreaDetector::drawE2PartialJunction(), GNELaneAreaDetector::drawE2PartialLane(), GNEEntryExitDetector::drawE3Logo(), GNEEntryExitDetector::drawEntryLogo(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNETAZ::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GUIContainer::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIPerson::drawGLAdditional(), GNEDemandElement::drawJunctionLine(), GNEOverheadWire::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNEOverheadWire::drawLanePartialGL(), GNEEdgeData::drawLanePartialGL(), GNEEdgeRelData::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEAdditional::drawListedAdditional(), GUIBaseVehicle::drawOnPos(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEDemandElementPlan::drawPlanLanePartial(), GNEPOI::drawPOI(), GNERoute::drawRoutePartialJunction(), GNERoute::drawRoutePartialLane(), GNEAdditional::drawSquaredAdditional(), GNEDemandElement::drawStackLabel(), GNEStopPlan::drawStopOverEdge(), GNEStopPlan::drawStopOverStoppingPlace(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GNESelectorFrame::SelectionOperation::loadFromFile(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), LayeredRTree::selectLayer(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GNEJunction::setJunctionType(), GNEViewNetHelper::ViewObjectsSelector::updateGenericDataElements(), GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements(), GNEViewNetHelper::ViewObjectsSelector::updateShapeElements(), and GNEViewNetHelper::ViewObjectsSelector::updateTAZElements().

◆ getTypeParameterWindow()

GUIParameterTableWindow * GUIGlObject::getTypeParameterWindow ( GUIMainWindow app,
GUISUMOAbstractView parent 
)
virtualinherited

Returns an own type parameter window (optional)

Parameters
[in]appThe application needed to build the parameter window
[in]parentThe parent window needed to build the parameter window
Returns
The built parameter window

Reimplemented in GUIBaseVehicle, GUIPerson, GUIEdge, GUIContainer, GUIMEVehicle, and GUIVehicle.

Definition at line 194 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().

Here is the caller graph for this function:

◆ haveOverride()

virtual bool GUIDetectorWrapper::haveOverride ( ) const
inlineprotectedvirtual

whether this detector has an active virtual detector call

Reimplemented in GUIInductLoop::MyWrapper, and GUIE2Collector::MyWrapper.

Definition at line 92 of file GUIDetectorWrapper.h.

Referenced by getPopUpMenu().

Here is the caller graph for this function:

◆ isBlocked()

bool GUIGlObject::isBlocked ( ) const
inlineinherited

get blocking status

Definition at line 166 of file GUIGlObject.h.

References GUIGlObject::myAmBlocked.

◆ isGLObjectLocked()

bool GUIGlObject::isGLObjectLocked ( ) const
virtualinherited

check if element is locked (Currently used only in netedit)

Reimplemented in GNENetworkElement, GNEDemandElement, and GNEAdditional.

Definition at line 202 of file GUIGlObject.cpp.

Referenced by GNEViewNetHelper::ViewObjectsSelector::filterLockedElements(), and GNEViewNet::processLeftButtonPressNetwork().

Here is the caller graph for this function:

◆ markAsFrontElement()

void GUIGlObject::markAsFrontElement ( )
virtualinherited

mark element as front element (Currently used only in netedit)

Reimplemented in GNENetworkElement, GNEDemandElement, and GNEAdditional.

Definition at line 209 of file GUIGlObject.cpp.

◆ onLeftBtnPress()

virtual void GUIGlObject::onLeftBtnPress ( void *  )
inlinevirtualinherited

notify object about left click

Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.

Definition at line 218 of file GUIGlObject.h.

Referenced by GUISUMOAbstractView::onLeftBtnPress().

Here is the caller graph for this function:

◆ remove()

void GUIGlObject_AbstractAdd::remove ( GUIGlObject_AbstractAdd o)
staticinherited

◆ removeActiveAddVisualisation()

virtual void GUIGlObject::removeActiveAddVisualisation ( GUISUMOAbstractView * const  ,
int   
)
inlinevirtualinherited

remove additional user-griggered visualisations

Reimplemented in GUIPerson, and GUIBaseVehicle.

Definition at line 215 of file GUIGlObject.h.

◆ removedPopupMenu()

virtual void GUIGlObject::removedPopupMenu ( )
inlinevirtualinherited

notify object about popup menu removal

Reimplemented in GUIBaseVehicle.

Definition at line 124 of file GUIGlObject.h.

Referenced by GUIGLObjectPopupMenu::removePopupFromObject().

Here is the caller graph for this function:

◆ removeParameterTable()

void GUIGlObject::removeParameterTable ( GUIParameterTableWindow w)
inherited

Lets this object know a parameter window showing the object's values was closed.

Parameters
[in]wThe closed parameter window

Definition at line 366 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().

Here is the caller graph for this function:

◆ selectGLObject()

void GUIGlObject::selectGLObject ( )
virtualinherited

select GLObject (Currently used only in netedit)

Reimplemented in GNENetworkElement, GNEDemandElement, GNEGenericData, and GNEAdditional.

Definition at line 221 of file GUIGlObject.cpp.

◆ setBlocked()

void GUIGlObject::setBlocked ( const bool  state = true)
inlineinherited

set blocking status

Definition at line 171 of file GUIGlObject.h.

References GUIGlObject::myAmBlocked.

Referenced by GUIGlObjectStorage::getObjectBlocking().

Here is the caller graph for this function:

◆ setMicrosimID()

void GUIGlObject::setMicrosimID ( const std::string &  newID)
virtualinherited

Changes the microsimID of the object.

Note
happens in netedit

Definition at line 239 of file GUIGlObject.cpp.

References GUIGlObjectStorage::changeName(), GUIGlObject::createFullName(), GUIGlObjectStorage::gIDStorage, GUIGlObject::myFullName, and GUIGlObject::myMicrosimID.

Referenced by GNEAdditional::setAdditionalID(), GNEDemandElement::setDemandElementID(), and GNENetworkElement::setNetworkElementID().

Here is the caller graph for this function:

◆ toggleOverride()

virtual void GUIDetectorWrapper::toggleOverride ( ) const
inlineprotectedvirtual

Reimplemented in GUIInductLoop::MyWrapper, and GUIE2Collector::MyWrapper.

Definition at line 96 of file GUIDetectorWrapper.h.

Referenced by GUIDetectorWrapper::PopupMenu::onCmdSetOverride().

Here is the caller graph for this function:

◆ updateGLObject()

void GUIGlObject::updateGLObject ( )
virtualinherited

update GLObject (geometry, ID, etc.) (optional)

Reimplemented in GNEWalkingArea, GNELaneType, GNELane, GNEJunction, GNEInternalLane, GNEEdgeType, GNEEdge, GNECrossing, GNEConnection, GNEDemandElement, GNEGenericData, and GNEAdditional.

Definition at line 227 of file GUIGlObject.cpp.

Field Documentation

◆ GUIGlObjectTypeNamesInitializer

StringBijection< GUIGlObjectType >::Entry GUIGlObject::GUIGlObjectTypeNamesInitializer
staticprivateinherited

vector for TypeNames Initializer

Definition at line 332 of file GUIGlObject.h.

◆ INVALID_ID

◆ INVALID_PRIORITY

const double GUIGlObject::INVALID_PRIORITY
staticinherited

◆ myAmBlocked

bool GUIGlObject::myAmBlocked = false
privateinherited

whether the object can be deleted

Definition at line 318 of file GUIGlObject.h.

Referenced by GUIGlObject::isBlocked(), and GUIGlObject::setBlocked().

◆ myFullName

std::string GUIGlObject::myFullName
privateinherited

full name of GL Object

Definition at line 312 of file GUIGlObject.h.

Referenced by GUIGlObject::getFullName(), GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().

◆ myGlID

const GUIGlID GUIGlObject::myGlID
privateinherited

The numerical id of the object.

Definition at line 303 of file GUIGlObject.h.

Referenced by GUIGlObject::getGlID().

◆ myGLObjectType

const GUIGlObjectType GUIGlObject::myGLObjectType
privateinherited

◆ myIcon

FXIcon* GUIGlObject::myIcon
privateinherited

icon associatd with this GL Object

Definition at line 315 of file GUIGlObject.h.

Referenced by GUIGlObject::buildPopupHeader(), and GUIGlObject::getGLIcon().

◆ myMicrosimID

std::string GUIGlObject::myMicrosimID
privateinherited

ID of GL object.

Definition at line 309 of file GUIGlObject.h.

Referenced by GUIGlObject::getMicrosimID(), and GUIGlObject::setMicrosimID().

◆ myObjectList

std::vector< GUIGlObject_AbstractAdd * > GUIGlObject_AbstractAdd::myObjectList
staticprotectedinherited

◆ myObjects

std::map< std::string, GUIGlObject_AbstractAdd * > GUIGlObject_AbstractAdd::myObjects
staticprotectedinherited

Map from names of loaded additional objects to the objects themselves.

Definition at line 64 of file GUIGlObject_AbstractAdd.h.

Referenced by GUIGlObject_AbstractAdd::clearDictionary(), GUIGlObject_AbstractAdd::get(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), and GUIGlObject_AbstractAdd::remove().

◆ myParamWindows

std::set<GUIParameterTableWindow*> GUIGlObject::myParamWindows
privateinherited

Parameter table windows which refer to this object.

Definition at line 321 of file GUIGlObject.h.

Referenced by GUIGlObject::addParameterTable(), GUIGlObject::removeParameterTable(), and GUIGlObject::~GUIGlObject().

◆ mySupportsOverride

bool GUIDetectorWrapper::mySupportsOverride
protected

whether this detector supports virtual detector calls

Definition at line 99 of file GUIDetectorWrapper.h.

Referenced by getPopUpMenu(), GUIE2Collector::MyWrapper::MyWrapper(), and GUIInductLoop::MyWrapper::MyWrapper().

◆ TypeNames

StringBijection< GUIGlObjectType > GUIGlObject::TypeNames
staticinherited

The documentation for this class was generated from the following files: