![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GUIMEInductLoop.h>
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) const |
draw name of item More... | |
MyWrapper (GUIMEInductLoop &detector, double pos) | |
Constructor. More... | |
virtual void | onLeftBtnPress (void *) |
notify object about left click More... | |
virtual void | removeActiveAddVisualisation (GUISUMOAbstractView *const, int) |
remove additional user-griggered visualisations More... | |
~MyWrapper () | |
Destructor. More... | |
inherited from GUIGlObject | |
GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) |
Returns an own popup-menu. More... | |
inherited from GUIGlObject | |
GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) |
Returns an own popup-menu. More... | |
inherited from GUIGlObject | |
GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) |
Returns an own popup-menu. More... | |
inherited from GUIGlObject | |
GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) |
Returns an own popup-menu. More... | |
inherited from GUIGlObject | |
GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) |
Returns an own popup-menu. More... | |
inherited from GUIGlObject | |
GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) |
Returns an own popup-menu. More... | |
Static Public Member Functions | |
static void | clearDictionary () |
Clears the dictionary (the objects will not be deleted) More... | |
static GUIGlObject_AbstractAdd * | get (const std::string &name) |
Returns a named object. More... | |
static std::vector< GUIGlID > | getIDList (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 StringBijection< GUIGlObjectType > | TypeNames |
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... | |
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 | |
std::string | myFullName |
full name of GL Object More... | |
GUIGlID | myGlID |
The numerical id of the object. More... | |
const GUIGlObjectType | myGLObjectType |
The type of the 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 [] |
LinkStates (Currently unused) More... | |
inherited from GUIGlObject | |
GUIMEInductLoop & | myDetector |
The wrapped detector. More... | |
Boundary | myBoundary |
The detector's boundary. More... | |
Position | myFGPosition |
The position in full-geometry mode. More... | |
double | myFGRotation |
The rotation in full-geometry mode. More... | |
double | myPosition |
The position on the lane. More... | |
GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) |
Returns an own parameter window. More... | |
void | drawGL (const GUIVisualizationSettings &s) const |
Draws the object. More... | |
Boundary | getCenteringBoundary () const |
Returns the boundary to which the view shall be centered in order to show the object. More... | |
GUIMEInductLoop & | getLoop () |
Returns the detector itself. More... | |
MyWrapper (const MyWrapper &) | |
Invalidated copy constructor. More... | |
MyWrapper & | operator= (const MyWrapper &) |
Invalidated assignment operator. More... | |
interfaces to be implemented by derived classes | |
virtual void | removedPopupMenu () |
notify object about popup menu removal More... | |
virtual GUIParameterTableWindow * | getTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) |
Returns an own type parameter window (optional) More... | |
virtual 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 | getColorValue (const GUIVisualizationSettings &, int) const |
A MSInductLoop-visualiser
Definition at line 66 of file GUIMEInductLoop.h.
GUIMEInductLoop::MyWrapper::MyWrapper | ( | GUIMEInductLoop & | detector, |
double | pos | ||
) |
Constructor.
Definition at line 60 of file GUIMEInductLoop.cpp.
References Boundary::add(), MSLane::geometryPositionAtOffset(), MESegment::getEdge(), MSEdge::getLanes(), MSLane::getShape(), myBoundary, myFGPosition, myFGRotation, MEInductLoop::mySegment, PositionVector::rotationDegreeAtOffset(), Position::x(), and Position::y().
GUIMEInductLoop::MyWrapper::~MyWrapper | ( | ) |
Destructor.
Definition at line 71 of file GUIMEInductLoop.cpp.
|
private |
Invalidated copy constructor.
|
inherited |
Definition at line 287 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::GUIParameterTableWindow().
|
protectedinherited |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 325 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
|
protectedinherited |
Builds an entry which allows to center to the object.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 216 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_RECENTERVIEW, and MID_CENTER.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNELane::getPopUpMenu(), GUINet::getPopUpMenu(), GNENet::getPopUpMenu(), GNERide::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEWalk::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNERoute::getPopUpMenu(), GUILane::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds entries which allow to copy the name / typed name into the clipboard.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 225 of file GUIGlObject.cpp.
References MID_COPY_NAME, and MID_COPY_TYPED_NAME.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNELane::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
Builds the header.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 207 of file GUIGlObject.cpp.
References GUIMainWindow::getBoldFont(), and GUIGlObject::getFullName().
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNELane::getPopUpMenu(), GUINet::getPopUpMenu(), GNENet::getPopUpMenu(), GNERide::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEWalk::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNERoute::getPopUpMenu(), GUILane::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
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.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 266 of file GUIGlObject.cpp.
References GeoConvHelper::getFinal(), MID_COPY_CURSOR_GEOPOSITION, and MID_COPY_CURSOR_POSITION.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNELane::getPopUpMenu(), GUINet::getPopUpMenu(), GNENet::getPopUpMenu(), GNERide::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEWalk::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNERoute::getPopUpMenu(), GUILane::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds an entry which allows to (de)select the object.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 235 of file GUIGlObject.cpp.
References GUIGlObject::getGlID(), GUIIconSubSys::getIcon(), GUIGlObject::getType(), gSelected, ICON_FLAG_MINUS, ICON_FLAG_PLUS, GUISelectedStorage::isSelected(), MID_ADDSELECT, and MID_REMOVESELECT.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 302 of file GUIGlObject.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
Referenced by GUIPointOfInterest::getPopUpMenu(), and GNEPOI::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the manipulator window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 278 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_MANIP, and MID_MANIP.
Referenced by GUILaneSpeedTrigger::getPopUpMenu(), and GUITriggeredRerouter::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the parameter window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 248 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWPARS.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GNECrossing::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GNEJunction::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNELane::getPopUpMenu(), GUINet::getPopUpMenu(), GNERide::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEWalk::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNERoute::getPopUpMenu(), GUILane::getPopUpMenu(), GNEAdditional::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), and GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu().
|
protectedinherited |
Builds an entry which allows to open the type parameter window.
[in,filled] | ret The popup menu to add the entry to | |
[in] | addSeparator | Whether a separator shall be added, too |
Definition at line 257 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWTYPEPARS.
Referenced by GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), and GUIBaseVehicle::getPopUpMenu().
|
staticinherited |
Clears the dictionary (the objects will not be deleted)
!! delete (*i).second;
Definition at line 54 of file GUIGlObject_AbstractAdd.cpp.
References GUIGlObject_AbstractAdd::myObjectList, and GUIGlObject_AbstractAdd::myObjects.
Referenced by GUINet::~GUINet().
|
privateinherited |
create full name
Definition at line 348 of file GUIGlObject.cpp.
References GUIGlObject::getMicrosimID(), StringBijection< T >::getString(), GUIGlObject::myGLObjectType, and GUIGlObject::TypeNames.
Referenced by GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
|
virtual |
Draws the object.
[in] | s | Current visualization settings |
Implements GUIGlObject.
Definition at line 116 of file GUIMEInductLoop.cpp.
References GUIVisualizationSettings::addName, GUIVisualizationSettings::addSize, GUIVisualizationSizeSettings::getExaggeration(), and GUIVisualizationSettings::scale.
|
virtualinherited |
Draws additional, user-triggered visualisations.
[in] | parent | The view |
[in] | s | The settings for the current view (may influence drawing) |
Reimplemented in GUIBaseVehicle, GUIContainer, and GUIPerson.
Definition at line 186 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
|
inherited |
draw name of item
Definition at line 354 of file GUIGlObject.cpp.
References GLHelper::drawTextSettings(), GUIGlObject::getMicrosimID(), and GUIVisualizationTextSettings::show.
Referenced by GNEEdge::drawEdgeName(), GNEContainerStop::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEVariableSpeedSign::drawGL(), GNEDetectorE1Instant::drawGL(), GNERerouter::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPerson::drawGL(), GUIContainer::drawGL(), GUICalibrator::drawGL(), GNEJunction::drawGL(), GUIJunctionWrapper::drawGL(), GNECalibrator::drawGL(), GNEDetectorE2::drawGL(), GNETAZ::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GNEStop::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GUIPointOfInterest::drawInnerPOI(), GUIPolygon::drawInnerPolygon(), GUIBaseVehicle::drawOnPos(), GNELane::drawPartialE2DetectorPlan(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), and GNEEdge::drawPartialTripFromTo().
|
staticinherited |
Returns a named object.
Definition at line 65 of file GUIGlObject_AbstractAdd.cpp.
References GUIGlObject_AbstractAdd::myObjects.
|
virtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GUIGlObject.
Definition at line 75 of file GUIMEInductLoop.cpp.
References Boundary::grow().
|
inlinevirtualinherited |
Reimplemented in GUIBaseVehicle, GNEJunction, GUILane, GUIPerson, GNELane, GUIContainer, GUIEdge, GUIJunctionWrapper, GUIVehicle, and GUIMEVehicle.
Definition at line 150 of file GUIGlObject.h.
Referenced by GNEPerson::drawGL(), GNEPerson::setColor(), and GUISUMOAbstractView::showToolTipFor().
|
inherited |
Definition at line 137 of file GUIGlObject.cpp.
References GUIGlObject::myFullName.
Referenced by SUMORTree::addAdditionalGLObject(), GUIGlObject::buildPopupHeader(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUIGLObjectPopupMenu::onCmdCopyTypedName(), GUIParam_PopupMenuInterface::onCmdOpenTracker(), GUILaneSpeedTrigger::openManipulator(), GUICalibrator::openManipulator(), GUITriggeredRerouter::openManipulator(), GUIDialog_GLChosenEditor::rebuildList(), GUIGlObject_AbstractAdd::remove(), GUIGlObjectStorage::remove(), SUMORTree::removeAdditionalGLObject(), and GUISelectedStorage::save().
|
inherited |
Returns the numerical id of the object.
Definition at line 149 of file GUIGlObject.cpp.
References GUIGlObject::myGlID.
Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GNEEdge::drawEdgeName(), GNEEdge::drawGeometryPoints(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingSpace::drawGL(), GNEInternalLane::drawGL(), GNEVariableSpeedSign::drawGL(), GNEDetectorE1Instant::drawGL(), GNERerouter::drawGL(), GNEAccess::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPerson::drawGL(), GUIPolygon::drawGL(), GNECrossing::drawGL(), GUIContainer::drawGL(), GUICalibrator::drawGL(), GNEJunction::drawGL(), GUIPointOfInterest::drawGL(), GUIJunctionWrapper::drawGL(), GNECalibrator::drawGL(), GNEDetectorE2::drawGL(), GUIChargingStation::drawGL(), GNETAZ::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEConnection::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GNELane::drawGL(), GNEStop::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GUIPerson::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GNELane::drawPartialE2DetectorPlan(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEEdge::drawRerouterSymbol(), GNELane::drawVSSSymbol(), GUIMEVehicle::getColorValue(), GUIVehicle::getColorValue(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GUIContainer::getColorValue(), GUIPerson::getColorValue(), GNEPoly::getGlID(), GNEPOI::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIShapeContainer::getPOIIds(), GUIShapeContainer::getPolygonIDs(), GUIPerson::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIEdge::getScaleValue(), GUITransportableControl::insertPersonIDs(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), GUILane::isLaneOrEdgeSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIVehicle::isSelected(), GUIPerson::isSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIViewTraffic::onCmdShowReachability(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIDialog_GLObjChooser::onCmdTrack(), GUIViewTraffic::onGamingClick(), TraCIServerAPI_GUI::processSet(), GUIDialog_GLObjChooser::refreshList(), GLObjectValuePassConnector< std::pair< SUMOTime, MSPhaseDefinition > >::removeObject(), GNENetElement::selectAttributeCarrier(), GNEVehicleType::selectAttributeCarrier(), GNEStop::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), GUIVehicle::selectBlockingFoes(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GNENetElement::unselectAttributeCarrier(), GNEVehicleType::unselectAttributeCarrier(), GNEStop::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), GNEAdditional::unselectAttributeCarrier(), GNEVehicle::unselectAttributeCarrier(), GUIBaseVehicle::~GUIBaseVehicle(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().
|
staticinherited |
Returns the list of gl-ids of all additional objects that match the given type.
Definition at line 89 of file GUIGlObject_AbstractAdd.cpp.
References GLO_ADDITIONAL, GLO_MAX, GLO_NETELEMENT, GLO_NETWORK, GLO_ROUTEELEMENT, GLO_SHAPE, and GUIGlObject_AbstractAdd::myObjectList.
Referenced by GUISUMOViewParent::onCmdLocate().
GUIMEInductLoop & GUIMEInductLoop::MyWrapper::getLoop | ( | ) |
Returns the detector itself.
Definition at line 170 of file GUIMEInductLoop.cpp.
|
virtualinherited |
Returns the id of the object as known to microsim.
Definition at line 163 of file GUIGlObject.cpp.
References GUIGlObject::myMicrosimID.
Referenced by SUMORTree::addAdditionalGLObject(), GNEAdditional::changeAdditionalID(), GNEDemandElement::changeDemandElementID(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GUIGlObject::drawName(), GNEAdditional::getAdditionalID(), GNEConnection::getAttribute(), GNELane::getAttribute(), GNEJunction::getAttribute(), GNEEdge::getAttribute(), GNEDemandElement::getDemandElementID(), GNEDialogACChooser::getObjectName(), GUIDialog_GLObjChooser::getObjectName(), GNEDetectorE3::getParentName(), GNEVariableSpeedSign::getParentName(), GNERerouter::getParentName(), GNELane::getParentName(), GNEVehicleType::getParentName(), GNETAZ::getParentName(), GNEDetector::getParentName(), GNEPoly::getParentName(), GNEPOI::getParentName(), GNERide::getParentName(), GNEPersonTrip::getParentName(), GNEWalk::getParentName(), GNERoute::getParentName(), GNEPerson::getParentName(), GNETLSEditorFrame::handleMultiChange(), GNEEdge::isValid(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyName(), GNENet::registerEdge(), GNENet::registerJunction(), SUMORTree::removeAdditionalGLObject(), GNEEdge::removeConnection(), GNEEdge::setAttribute(), GNENet::splitEdge(), and GNEConnection::updateID().
|
staticinherited |
Returns the list of all additional objects.
Definition at line 83 of file GUIGlObject_AbstractAdd.cpp.
References GUIGlObject_AbstractAdd::myObjectList.
|
virtualinherited |
Returns the name of the object (default "")
Reimplemented in GNEEdge, GUIBaseVehicle, GUIEdge, GUIParkingArea, GUIBusStop, GUIContainerStop, GUIChargingStation, and GUIJunctionWrapper.
Definition at line 168 of file GUIGlObject.cpp.
Referenced by GUIDialog_GLObjChooser::getObjectName().
|
virtual |
Returns an own parameter window.
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Implements GUIGlObject.
Definition at line 84 of file GUIMEInductLoop.cpp.
References GUIParameterTableWindow::closeBuilding(), GUIParameterTableWindow::mkItem(), and MEInductLoop::myPosition.
|
virtualinherited |
Returns the name of the parent object (if any)
Reimplemented in GNEVehicle, GNEPerson, GNERoute, GNEWalk, GNEPersonTrip, GNERide, GNEPOI, GNEPoly, GNEDetector, GNEStop, GNETAZ, GNEVehicleType, GNECalibrator, GNELane, GNEStoppingPlace, GNERerouter, GUILane, GNEAccess, GNEVariableSpeedSign, GNERerouterInterval, GNETAZSourceSink, GNECalibratorFlow, GNEVariableSpeedSignStep, GNEParkingAreaReroute, GNEParkingSpace, GNEClosingLaneReroute, GNEDestProbReroute, GNEDetectorE3, GNERouteProbReroute, GNEClosingReroute, GNERouteProbe, and GNEVaporizer.
Definition at line 143 of file GUIGlObject.cpp.
References StringUtils::emptyString.
Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().
|
virtualinherited |
Returns an own popup-menu.
[in] | app | The application needed to build the popup-menu |
[in] | parent | The parent window needed to build the popup-menu |
Implements GUIGlObject.
Definition at line 45 of file GUIDetectorWrapper.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GUIGlObject::buildSelectionPopupEntry(), and GUIGlObject::buildShowParamsPopupEntry().
|
inherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 180 of file GUIGlObject.cpp.
References GUIGlObject::myGLObjectType.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNECalibrator::drawCalibratorSymbol(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEChargingStation::drawGL(), GNEParkingArea::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingSpace::drawGL(), GNEVariableSpeedSign::drawGL(), GNEDetectorE1Instant::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPerson::drawGL(), GNECrossing::drawGL(), GUIContainer::drawGL(), GUICalibrator::drawGL(), GNEJunction::drawGL(), GUIJunctionWrapper::drawGL(), GNEDetectorE2::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GNEConnection::drawGL(), GUIParkingArea::drawGL(), GNELane::drawGL(), GNEStop::drawGL(), GNEPoly::drawGL(), GNEPOI::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUIBaseVehicle::drawOnPos(), GNELane::drawPartialE2DetectorPlan(), GNEEdge::drawPartialPersonPlan(), GNEEdge::drawPartialRoute(), GNEEdge::drawPartialTripFromTo(), GNEEdge::drawRerouterSymbol(), GNEJunction::drawTLSIcon(), GNELane::drawVSSSymbol(), GNEViewNet::getAttributeCarriersInBoundary(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_GLObjChooser::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), GNENetElement::selectAttributeCarrier(), GNERide::selectAttributeCarrier(), GNEPersonTrip::selectAttributeCarrier(), GNEWalk::selectAttributeCarrier(), GNERoute::selectAttributeCarrier(), GNEPerson::selectAttributeCarrier(), GNEVehicle::selectAttributeCarrier(), LayeredRTree::selectLayer(), GNEJunction::setAttribute(), GUISUMOAbstractView::showToolTipFor(), GUISelectedStorage::toggleSelection(), GNENetElement::unselectAttributeCarrier(), GNERide::unselectAttributeCarrier(), GNEPersonTrip::unselectAttributeCarrier(), GNEWalk::unselectAttributeCarrier(), GNERoute::unselectAttributeCarrier(), GNEPerson::unselectAttributeCarrier(), and GNEVehicle::unselectAttributeCarrier().
|
virtualinherited |
Returns an own type parameter window (optional)
[in] | app | The application needed to build the parameter window |
[in] | parent | The parent window needed to build the parameter window |
Reimplemented in GUIBaseVehicle, GUIMEVehicle, GUIVehicle, GUIContainer, and GUIPerson.
Definition at line 155 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().
|
inlinevirtualinherited |
notify object about left click
Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.
Definition at line 165 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::onLeftBtnPress().
Invalidated assignment operator.
|
staticinherited |
Removes an object.
Definition at line 76 of file GUIGlObject_AbstractAdd.cpp.
References GUIGlObject::getFullName(), GUIGlObject_AbstractAdd::myObjectList, and GUIGlObject_AbstractAdd::myObjects.
|
inlinevirtualinherited |
remove additional user-griggered visualisations
Reimplemented in GUIPerson, and GUIBaseVehicle.
Definition at line 162 of file GUIGlObject.h.
|
inlinevirtualinherited |
notify object about popup menu removal
Reimplemented in GUIBaseVehicle.
Definition at line 111 of file GUIGlObject.h.
Referenced by GUIGLObjectPopupMenu::~GUIGLObjectPopupMenu().
|
inherited |
Lets this object know a parameter window showing the object's values was closed.
[in] | w | The closed parameter window |
Definition at line 293 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
virtualinherited |
Changes the microsimID of the object.
Reimplemented in GNEEdge.
Definition at line 173 of file GUIGlObject.cpp.
References GUIGlObject::createFullName(), GUIGlObject::myFullName, and GUIGlObject::myMicrosimID.
Referenced by GNEAdditional::changeAdditionalID(), GNEDemandElement::changeDemandElementID(), GNENet::renameJunction(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNELane::setIndex(), GNEEdge::setMicrosimID(), and GNEConnection::updateID().
|
staticprivateinherited |
LinkStates (Currently unused)
vector for TypeNames Initializer
Definition at line 277 of file GUIGlObject.h.
|
staticinherited |
Definition at line 69 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOViewParent::onCmdSpeedFactor(), GUISUMOViewParent::onUpdSpeedFactor(), GUISUMOAbstractView::paintGL(), TraCIServerAPI_GUI::processGet(), and GUIViewTraffic::stopTrack().
|
private |
The detector's boundary.
Definition at line 115 of file GUIMEInductLoop.h.
Referenced by MyWrapper().
|
private |
The wrapped detector.
Definition at line 112 of file GUIMEInductLoop.h.
|
private |
The position in full-geometry mode.
Definition at line 118 of file GUIMEInductLoop.h.
Referenced by MyWrapper().
|
private |
The rotation in full-geometry mode.
Definition at line 121 of file GUIMEInductLoop.h.
Referenced by MyWrapper().
|
privateinherited |
full name of GL Object
Definition at line 260 of file GUIGlObject.h.
Referenced by GUIGlObject::getFullName(), GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().
|
privateinherited |
The numerical id of the object.
Definition at line 251 of file GUIGlObject.h.
Referenced by GUIGlObject::getGlID(), and GUIGlObject::GUIGlObject().
|
privateinherited |
The type of the object.
Definition at line 254 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), GUIGlObject::getType(), and GUIGlObject::GUIGlObject().
|
privateinherited |
ID of GL object.
Definition at line 257 of file GUIGlObject.h.
Referenced by GUIGlObject::getMicrosimID(), and GUIGlObject::setMicrosimID().
|
staticprotectedinherited |
The list of all addtional objects currently loaded.
Definition at line 68 of file GUIGlObject_AbstractAdd.h.
Referenced by GUIGlObject_AbstractAdd::clearDictionary(), GUIGlObject_AbstractAdd::getIDList(), GUIGlObject_AbstractAdd::getObjectList(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), and GUIGlObject_AbstractAdd::remove().
|
staticprotectedinherited |
Map from names of loaded additional objects to the objects themselves.
Definition at line 65 of file GUIGlObject_AbstractAdd.h.
Referenced by GUIGlObject_AbstractAdd::clearDictionary(), GUIGlObject_AbstractAdd::get(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), and GUIGlObject_AbstractAdd::remove().
|
privateinherited |
Parameter table windows which refer to this object.
Definition at line 263 of file GUIGlObject.h.
Referenced by GUIGlObject::addParameterTable(), GUIGlObject::removeParameterTable(), and GUIGlObject::~GUIGlObject().
|
private |
The position on the lane.
Definition at line 124 of file GUIMEInductLoop.h.
|
staticinherited |
associates object types with strings
Definition at line 68 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), and GNESelectorFrame::SelectionOperation::onCmdSave().