![]() |
SUMO - Simulation of Urban MObility
|
#include <GNEJunction.h>


Public Member Functions | ||||
| void | addAdditionalChild (GNEAdditional *additional) | |||
| add additional child to this edge More... | ||||
| void | addAdditionalParent (GNEAdditional *additional) | |||
| add additional child to this edge More... | ||||
| void | addIncomingGNEEdge (GNEEdge *edge) | |||
| add incoming GNEEdge More... | ||||
| void | addOutgoingGNEEdge (GNEEdge *edge) | |||
| add outgoing GNEEdge More... | ||||
| void | decRef (const std::string &debugMsg="") | |||
| Decrease reference. More... | ||||
| 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... | ||||
| const std::vector< GNEAdditional * > & | getAdditionalChilds () const | |||
| return vector of additionals that have as Parent this edge (For example, Calibrators) More... | ||||
| const std::vector< GNEAdditional * > & | getAdditionalParents () const | |||
| return vector of additionals that have as Parameter this edge (For example, Rerouters) More... | ||||
| virtual std::string | getAttributeForSelection (SumoXMLAttr key) const | |||
| method for getting the attribute in the context of object selection More... | ||||
| Boundary | getBoundary () const | |||
| Returns the boundary of the junction. More... | ||||
| std::vector< GNEConnection * > | getGNEConnections () const | |||
| Returns all GNEConnections vinculated with this junction. More... | ||||
| const std::vector< GNECrossing * > & | getGNECrossings () const | |||
| Returns GNECrossings. More... | ||||
| const std::vector< GNEEdge * > & | getGNEEdges () const | |||
| Returns all GNEEdges vinculated with this Junction. More... | ||||
| const std::vector< GNEEdge * > & | getGNEIncomingEdges () const | |||
| Returns incoming GNEEdges. More... | ||||
| const std::vector< GNEEdge * > & | getGNEOutgoingEdges () const | |||
| Returns incoming GNEEdges. More... | ||||
| FXIcon * | getIcon () const | |||
| get FXIcon associated to this AC More... | ||||
| const std::string | getID () const | |||
| function to support debugging More... | ||||
| std::vector< GNEJunction * > | getJunctionNeighbours () const | |||
| return GNEJunction neighbours More... | ||||
| NBNode * | getNBNode () const | |||
| Return net build node. More... | ||||
| GNENet * | getNet () const | |||
| get Net in which this element is placed More... | ||||
| Position | getPositionInView () const | |||
| Return current position. More... | ||||
| SumoXMLTag | getTag () const | |||
| get XML Tag assigned to this object More... | ||||
| GNEJunction (NBNode &nbn, GNENet *net, bool loaded=false) | ||||
| Constructor. More... | ||||
| void | incRef (const std::string &debugMsg="") | |||
| Increarse reference. More... | ||||
| void | invalidateShape () | |||
| void | invalidateTLS (GNEUndoList *undoList, const NBConnection &deletedConnection=NBConnection::InvalidConnection, const NBConnection &addedConnection=NBConnection::InvalidConnection) | |||
| bool | isLogicValid () | |||
| whether this junction has a valid logic More... | ||||
| void | markAsCreateEdgeSource () | |||
| marks as first junction in createEdge-mode More... | ||||
| void | markAsModified (GNEUndoList *undoList) | |||
| prevent re-guessing connections at this junction More... | ||||
| void | markConnectionsDeprecated (bool includingNeighbours) | |||
| mark connections as deprecated More... | ||||
| template<> | ||||
| int | parse (const std::string &string) | |||
| template<> | ||||
| double | parse (const std::string &string) | |||
| template<> | ||||
| bool | parse (const std::string &string) | |||
| template<> | ||||
| std::string | parse (const std::string &string) | |||
| template<> | ||||
| SUMOVehicleClass | parse (const std::string &string) | |||
| template<> | ||||
| RGBColor | parse (const std::string &string) | |||
| template<> | ||||
| Position | parse (const std::string &string) | |||
| template<> | ||||
| SUMOVehicleShape | parse (const std::string &string) | |||
| template<> | ||||
| std::vector< std::string > | parse (const std::string &string) | |||
| template<> | ||||
| std::vector< int > | parse (const std::string &string) | |||
| template<> | ||||
| std::vector< double > | parse (const std::string &string) | |||
| template<> | ||||
| std::vector< bool > | parse (const std::string &string) | |||
| template<> | ||||
| std::vector< GNEEdge * > | parse (GNENet *net, const std::string &value) | |||
| template<> | ||||
| std::vector< GNELane * > | parse (GNENet *net, const std::string &value) | |||
| template<> | ||||
| std::string | parseIDs (const std::vector< GNEEdge *> &ACs) | |||
| template<> | ||||
| std::string | parseIDs (const std::vector< GNELane *> &ACs) | |||
| void | removeAdditionalChild (GNEAdditional *additional) | |||
| remove additional child from this edge More... | ||||
| void | removeAdditionalParent (GNEAdditional *additional) | |||
| remove additional child from this edge More... | ||||
| void | removeConnectionsFrom (GNEEdge *edge, GNEUndoList *undoList, bool updateTLS, int lane=-1) | |||
| remove all connections from the given edge More... | ||||
| void | removeConnectionsTo (GNEEdge *edge, GNEUndoList *undoList, bool updateTLS, int lane=-1) | |||
| remove all connections to the given edge More... | ||||
| void | removeEdgeFromCrossings (GNEEdge *edge, GNEUndoList *undoList) | |||
| removes the given edge from all pedestrian crossings More... | ||||
| void | removeIncomingGNEEdge (GNEEdge *edge) | |||
| remove incoming GNEEdge More... | ||||
| void | removeOutgoingGNEEdge (GNEEdge *edge) | |||
| remove outgoing GNEEdge More... | ||||
| void | replaceIncomingConnections (GNEEdge *which, GNEEdge *by, GNEUndoList *undoList) | |||
| replace one edge by another in all tls connections More... | ||||
| GNECrossing * | retrieveGNECrossing (NBNode::Crossing *crossing, bool createIfNoExist=true) | |||
| get GNECrossing if exist, and if not create it if create is enabled More... | ||||
| void | selectTLS (bool selected) | |||
| notify the junction of being selected in tls-mode. (used to control drawing) More... | ||||
| void | setLogicValid (bool valid, GNEUndoList *undoList, const std::string &status=FEATURE_GUESSED) | |||
| void | setResponsible (bool newVal) | |||
| set responsibility for deleting internal strctures More... | ||||
| void | unMarkAsCreateEdgeSource () | |||
| removes mark as first junction in createEdge-mode More... | ||||
| bool | unreferenced () | |||
| check if object ins't referenced More... | ||||
| void | updateGeometry (bool updateGrid) | |||
| Update the boundary of the junction. More... | ||||
| ~GNEJunction () | ||||
| Destructor. More... | ||||
inherited from GUIGlObject | ||||
| GUIGLObjectPopupMenu * | getPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
| Returns an own popup-menu. More... | ||||
| Boundary | getCenteringBoundary () const | |||
| Returns the boundary to which the view shall be centered in order to show the object. More... | ||||
| void | drawGL (const GUIVisualizationSettings &s) const | |||
| Draws the object. More... | ||||
functions related with geometry movement | ||||
| void | startGeometryMoving (bool extendToNeighbors=true) | |||
| begin movement (used when user click over edge to start a movement, to avoid problems with problems with GL Tree) More... | ||||
| void | endGeometryMoving (bool extendToNeighbors=true) | |||
| begin movement (used when user click over edge to start a movement, to avoid problems with problems with GL Tree) More... | ||||
| void | moveGeometry (const Position &oldPos, const Position &offset) | |||
| change the position of the element geometry without saving in undoList More... | ||||
| void | commitGeometryMoving (const Position &oldPos, GNEUndoList *undoList) | |||
| registers completed movement with the undoList More... | ||||
| void | updateShapesAndGeometries (bool updateGrid) | |||
| update shapes of all elements associated to the junction More... | ||||
inherited from GNEAttributeCarrier | ||||
| std::string | getAttribute (SumoXMLAttr key) const | |||
| void | setAttribute (SumoXMLAttr key, const std::string &value, GNEUndoList *undoList) | |||
| bool | isValid (SumoXMLAttr key, const std::string &value) | |||
Function related with Generic Parameters | ||||
| bool | addGenericParameter (const std::string &key, const std::string &value) | |||
| add generic parameter More... | ||||
| bool | removeGenericParameter (const std::string &key) | |||
| remove generic parameter More... | ||||
| bool | updateGenericParameter (const std::string &oldKey, const std::string &newKey) | |||
| update generic parameter More... | ||||
| bool | updateGenericParameterValue (const std::string &key, const std::string &newValue) | |||
| update value generic parameter More... | ||||
| std::string | getGenericParametersStr () const | |||
| return generic parameters in string format More... | ||||
| std::vector< std::pair< std::string, std::string > > | getGenericParameters () const | |||
| return generic parameters as vector of pairs format More... | ||||
| void | setGenericParametersStr (const std::string &value) | |||
| set generic parameters in string format More... | ||||
inherited from GUIGlObject | ||||
| GUIParameterTableWindow * | getParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) | |||
| Returns an own parameter window. More... | ||||
inherited from GNEAttributeCarrier | ||||
| void | selectAttributeCarrier (bool changeFlag=true) | |||
| select attribute carrier using GUIGlobalSelection More... | ||||
| void | unselectAttributeCarrier (bool changeFlag=true) | |||
| unselect attribute carrier using GUIGlobalSelection More... | ||||
| bool | isAttributeCarrierSelected () const | |||
| check if attribute carrier is selected More... | ||||
| std::string | getPopUpID () const | |||
| get PopPup ID (Used in AC Hierarchy) More... | ||||
| std::string | getHierarchyName () const | |||
| get Hierarchy Name (Used in AC Hierarchy) More... | ||||
Atomar getter methods | ||||
Returns the full name appearing in the tool tip
| ||||
| 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... | ||||
interfaces to be implemented by derived classes | ||||
| 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 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... | ||||
Parameter table window I/O | ||||
Lets this object know a parameter window showing the object's values was opened
| ||||
| 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 std::vector< SumoXMLTag > | allowedAdditionalTags (bool onlyDrawables) |
| get all editable for tag additional elements More... | |
| static std::vector< SumoXMLTag > | allowedNetElementsTags (bool onlyDrawables) |
| get all editable for tag net elements More... | |
| static std::vector< SumoXMLTag > | allowedShapeTags (bool onlyDrawables) |
| get all editable for tag shape elements More... | |
| static std::vector< SumoXMLTag > | allowedTags (bool onlyDrawables) |
| get all editable for tag elements of all types More... | |
| template<typename T > | |
| static bool | canParse (const std::string &string) |
| true if a value of type T can be parsed from string More... | |
| template<typename T > | |
| static bool | canParse (GNENet *net, const std::string &value, bool report) |
| true if a value of type T can be parsed from string More... | |
| static int | getCircleResolution (const GUIVisualizationSettings &settings) |
| function to calculate circle resolution for all circles drawn in drawGL(...) functions More... | |
| static int | getHigherNumberOfAttributes () |
| return the number of attributes of the tag with the most highter number of attributes More... | |
| static const TagValues & | getTagProperties (SumoXMLTag tag) |
| get Tag Properties More... | |
| static bool | isGenericParametersValid (const std::string &value) |
| check if given string can be parsed to a map/list of generic parameters More... | |
| template<typename T > | |
| static T | parse (const std::string &string) |
| parses a value of type T from string (used for basic types: int, double, bool, etc.) More... | |
| template<typename T > | |
| static T | parse (GNENet *net, const std::string &value) |
| parses a complex value of type T from string (use for list of edges, list of lanes, etc.) More... | |
| template<typename T > | |
| static T | parseAttributeFromXML (const SUMOSAXAttributes &attrs, const std::string &objectID, const SumoXMLTag tag, const SumoXMLAttr attribute, bool &abort) |
| Parse attribute from XML and show warnings if there are problems parsing it. More... | |
| template<typename T > | |
| static std::string | parseIDs (const std::vector< T > &ACs) |
| parses a list of specific Attribute Carriers into a string of IDs More... | |
| static bool | parseStringToANDBool (const std::string &string) |
| parse a string of booleans (1 0 1 1....) using AND operation More... | |
Static Public Attributes | |
| static const double | BUBBLE_RADIUS |
| constant values for drawing buubles More... | |
| static const GUIGlID | INVALID_ID = 0 |
| static const double | INVALID_POSITION = -1000000 |
| default value for invalid positions (used by POIs and Polygons) More... | |
| static StringBijection< GUIGlObjectType > | TypeNames |
| associates object types with strings More... | |
Certain attributes and ACs (for example, connections) can be either loaded or guessed. The following static variables are used to remark it. | |
feature is still unchanged after being loaded (implies approval) | |
| static const std::string | FEATURE_LOADED = "loaded" |
| static const std::string | FEATURE_GUESSED = "guessed" |
| feature has been reguessed (may still be unchanged be we can't tell (yet) More... | |
| static const std::string | FEATURE_MODIFIED = "modified" |
| feature has been manually modified (implies approval) More... | |
| static const std::string | FEATURE_APPROVED = "approved" |
| feature has been approved but not changed (i.e. after being reguessed) 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... | |
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, bool addSeparator=true) |
| 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... | |
Static Protected Member Functions | |
| static void | fillAttributeCarriers () |
| fill Attribute Carriers More... | |
Protected Attributes | |
| std::vector< GNEAdditional * > | myAdditionalChilds |
| list of Additional Childs of this NetElement More... | |
| std::vector< GNEAdditional * > | myFirstAdditionalParents |
| list of Additional parents of this NetElement More... | |
| Boundary | myMovingGeometryBoundary |
| boundary used during moving of elements More... | |
| GNENet * | myNet |
| the net to inform about updates More... | |
| bool | mySelected |
| boolean to check if this AC is selected (instead of GUIGlObjectStorage) More... | |
| const SumoXMLTag | myTag |
| the xml tag to which this attribute carrier corresponds More... | |
Static Protected Attributes | |
| static std::map< SumoXMLTag, TagValues > | myAllowedTags |
| map with the tags values More... | |
Private Member Functions | |
| void | addTrafficLight (NBTrafficLightDefinition *tlDef, bool forceInsert) |
| adds a traffic light More... | |
| double | getColorValue (const GUIVisualizationSettings &s, bool bubble) const |
| determines color value More... | |
| GNEJunction (const GNEJunction &)=delete | |
| Invalidated copy constructor. More... | |
| void | mouseOverObject (const GUIVisualizationSettings &s) const |
| method for check if mouse is over objects More... | |
| void | moveJunctionGeometry (const Position &pos, bool updateGrid) |
| reposition the node at pos and informs the edges More... | |
| GNEJunction & | operator= (const GNEJunction &)=delete |
| Invalidated assignment operator. More... | |
| void | rebuildGNECrossings (bool rebuildNBNodeCrossings=true) |
| rebuilds crossing objects for this junction More... | |
| void | removeTLSConnections (std::vector< NBConnection > &connections, GNEUndoList *undoList) |
| remove the given connections from all traffic light definitions of this junction More... | |
| void | removeTrafficLight (NBTrafficLightDefinition *tlDef) |
| removes a traffic light More... | |
| void | setAttribute (SumoXMLAttr key, const std::string &value) |
| method for setting the attribute and nothing else (used in GNEChange_Attribute) More... | |
| void | setColor (const GUIVisualizationSettings &s, bool bubble) const |
| sets junction color depending on circumstances More... | |
Private Attributes | |
| bool | myAmCreateEdgeSource |
| whether this junction is the first junction for a newly creatededge More... | |
| bool | myAmResponsible |
| whether we are responsible for deleting myNBNode More... | |
| bool | myAmTLSSelected |
| whether this junction is selected in tls-mode More... | |
| std::vector< GNECrossing * > | myGNECrossings |
| the built crossing objects More... | |
| std::vector< GNEEdge * > | myGNEEdges |
| vector with the GNEEdges vinculated with this junction More... | |
| std::vector< GNEEdge * > | myGNEIncomingEdges |
| vector with the incomings GNEEdges vinculated with this junction More... | |
| std::vector< GNEEdge * > | myGNEOutgoingEdges |
| vector with the outgoings GNEEdges vinculated with this junction More... | |
| bool | myHasValidLogic |
| whether this junctions logic is valid More... | |
| Boundary | myJunctionBoundary |
| junction boundary More... | |
| std::string | myLogicStatus |
| modification status of the junction logic (all connections across this junction) More... | |
| double | myMaxSize |
| The maximum size (in either x-, or y-dimension) for determining whether to draw or not. More... | |
| NBNode & | myNBNode |
| A reference to the represented junction. More... | |
Friends | |
| class | GNEChange_Crossing |
| class | GNEChange_TLS |
| Declare friend class. More... | |
In the case the represented junction's shape is empty, the boundary is computed using the junction's position to which an offset of 1m to each side is added.
Definition at line 48 of file GNEJunction.h.
|
inherited |
struct with the tag Properties
Definition at line 68 of file GNEAttributeCarrier.h.
|
inherited |
Definition at line 202 of file GNEAttributeCarrier.h.
Constructor.
| [in] | nbn | The represented node |
| [in] | net | The net to inform about gui updates |
| [in] | loaded | Whether the junction was loaded from a file |
Definition at line 67 of file GNEJunction.cpp.
References NBNode::getPosition(), myJunctionBoundary, myNBNode, Position::x(), and Position::y().
| GNEJunction::~GNEJunction | ( | ) |
Destructor.
Definition at line 80 of file GNEJunction.cpp.
References GNEAttributeCarrier::getID(), myAmResponsible, myGNECrossings, myNBNode, toString(), and WRITE_DEBUG.
|
privatedelete |
Invalidated copy constructor.
|
inherited |
add additional child to this edge
Definition at line 83 of file GNENetElement.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTag(), GNENetElement::myAdditionalChilds, toString(), and GNENetElement::updateGeometry().
Referenced by GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE2(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildVaporizer(), GNEAdditional::changeEdge(), GNEAdditional::changeLane(), GNEChange_Additional::redo(), and GNEChange_Additional::undo().
|
inherited |
add additional child to this edge
Definition at line 56 of file GNENetElement.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTag(), GNENetElement::myFirstAdditionalParents, toString(), and GNENetElement::updateGeometry().
|
virtual |
add generic parameter
Implements GNENetElement.
Definition at line 1130 of file GNEJunction.cpp.
References Parameterised::knowsParameter(), myNBNode, and Parameterised::setParameter().
| void GNEJunction::addIncomingGNEEdge | ( | GNEEdge * | edge | ) |
add incoming GNEEdge
Definition at line 372 of file GNEJunction.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTag(), myGNEEdges, myGNEIncomingEdges, SUMO_TAG_EDGE, and toString().
Referenced by GNENet::registerEdge(), and GNEEdge::setAttribute().
| void GNEJunction::addOutgoingGNEEdge | ( | GNEEdge * | edge | ) |
add outgoing GNEEdge
Definition at line 387 of file GNEJunction.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTag(), myGNEEdges, myGNEOutgoingEdges, SUMO_TAG_EDGE, and toString().
Referenced by GNENet::registerEdge(), and GNEEdge::setAttribute().
|
inherited |
Definition at line 262 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::GUIParameterTableWindow().
|
private |
adds a traffic light
Definition at line 1415 of file GNEJunction.cpp.
References NBTrafficLightDefinition::addNode(), GNENet::getTLLogicCont(), NBTrafficLightLogicCont::insert(), myNBNode, and GNENetElement::myNet.
Referenced by GNEChange_TLS::redo(), and GNEChange_TLS::undo().
|
staticinherited |
get all editable for tag additional elements
Definition at line 856 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), and GNEAttributeCarrier::myAllowedTags.
Referenced by GNEAdditionalFrame::AdditionalSelector::AdditionalSelector(), GNENet::computeEverything(), GNESelectorFrame::MatchAttribute::enableMatchAttribute(), GNENet::GNENet(), GNEAdditionalFrame::AdditionalSelector::onCmdselectAttributeCarrier(), and GNESelectorFrame::MatchAttribute::onCmdSelMBTag().
|
staticinherited |
get all editable for tag net elements
Definition at line 839 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), and GNEAttributeCarrier::myAllowedTags.
Referenced by GNESelectorFrame::MatchAttribute::enableMatchAttribute(), and GNESelectorFrame::MatchAttribute::onCmdSelMBTag().
|
staticinherited |
get all editable for tag shape elements
Definition at line 873 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), and GNEAttributeCarrier::myAllowedTags.
Referenced by GNESelectorFrame::MatchAttribute::enableMatchAttribute(), GNEPolygonFrame::ShapeSelector::onCmdselectAttributeCarrier(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), and GNEPolygonFrame::ShapeSelector::ShapeSelector().
|
staticinherited |
get all editable for tag elements of all types
Definition at line 822 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), and GNEAttributeCarrier::myAllowedTags.
|
protectedinherited |
build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
Definition at line 300 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.
Definition at line 191 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_RECENTERVIEW, and MID_CENTER.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GUINet::getPopUpMenu(), GNENet::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
protectedinherited |
Builds entries which allow to copy the name / typed name into the clipboard.
Definition at line 200 of file GUIGlObject.cpp.
References MID_COPY_NAME, and MID_COPY_TYPED_NAME.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), and GUILane::getPopUpMenu().
|
protectedinherited |
Builds the header.
Definition at line 182 of file GUIGlObject.cpp.
References GUIMainWindow::getBoldFont(), and GUIGlObject::getFullName().
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GNEInternalLane::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GUINet::getPopUpMenu(), GNENet::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
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.
Definition at line 241 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(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GNEConnection::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUINet::getPopUpMenu(), GNENet::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to (de)select the object.
Definition at line 210 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(), GUIContainer::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::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 277 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.
Definition at line 253 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.
Definition at line 223 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWPARS.
Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildShapePopupOptions(), GUIDetectorWrapper::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPolygon::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), getPopUpMenu(), GNECrossing::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUIContainerStop::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GNELane::getPopUpMenu(), GUIEdge::getPopUpMenu(), GNEConnection::getPopUpMenu(), GUINet::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEPOI::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GNEEdge::getPopUpMenu(), GUILane::getPopUpMenu(), and GNEAdditional::getPopUpMenu().
|
protectedinherited |
Builds an entry which allows to open the type parameter window.
Definition at line 232 of file GUIGlObject.cpp.
References GUIIconSubSys::getIcon(), ICON_APP_TABLE, and MID_SHOWTYPEPARS.
Referenced by GUIPerson::getPopUpMenu(), and GUIBaseVehicle::getPopUpMenu().
|
inlinestaticinherited |
true if a value of type T can be parsed from string
Definition at line 480 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::parse().
Referenced by GNECrossing::isValid(), GNECalibratorRoute::isValid(), GNEAdditionalHandler::parseAndBuildCalibratorRoute(), GNEAdditionalHandler::parseAndBuildRerouter(), and GNEAdditionalHandler::parseAndBuildVariableSpeedSign().
|
inlinestaticinherited |
true if a value of type T can be parsed from string
Definition at line 499 of file GNEAttributeCarrier.h.
References GNEAttributeCarrier::parse(), GNEAttributeCarrier::parseIDs(), GNEAttributeCarrier::parseStringToANDBool(), and WRITE_WARNING.
| void GNEJunction::commitGeometryMoving | ( | const Position & | oldPos, |
| GNEUndoList * | undoList | ||
| ) |
registers completed movement with the undoList
Definition at line 585 of file GNEJunction.cpp.
References NBNode::getPosition(), GNEAttributeCarrier::getTag(), GNEAttributeCarrier::GNEChange_Attribute, isValid(), moveJunctionGeometry(), myNBNode, GNEUndoList::p_add(), GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_ATTR_POSITION, and toString().
Referenced by GNEViewNet::onLeftBtnRelease().
|
inlineinherited |
Decrease reference.
Definition at line 55 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), UNUSED_PARAMETER, and WRITE_ERROR.
Referenced by GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNEEdge::removeConnection(), GNEEdge::removeLane(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), GNENet::~GNENet(), and GNEInspectorFrame::TemplateEditor::~TemplateEditor().
|
virtual |
Draws the object.
| [in] | s | The settings for the current view (may influence drawing) |
Implements GNENetElement.
Definition at line 247 of file GNEJunction.cpp.
References PositionVector::area(), BUBBLE_RADIUS, PositionVector::closePolygon(), Position::distanceSquaredTo(), GLHelper::drawBoxLine(), GLHelper::drawFilledCircleReturnVertices(), GLHelper::drawFilledPoly(), GLHelper::drawFilledPolyTesselated(), GUIVisualizationSettings::drawForSelecting, GUIVisualizationSettings::drawJunctionShape, GUIGlObject::drawName(), GLHelper::drawShapeDottedContour(), GUITexturesHelper::drawTexturedBox(), GUIVisualizationSettings::editMode, GNEViewNet::getACUnderCursor(), GNEAttributeCarrier::getCircleResolution(), GUIVisualizationSizeSettings::getExaggeration(), GUIGlObject::getGlID(), NBNode::getPosition(), GUISUMOAbstractView::getPositionInformation(), NBNode::getShape(), GUITextureSubSys::getTexture(), GUIGlObject::getType(), GNENet::getViewNet(), GNE_MODE_TLS, GNETEXTURE_TLS, GNENetElement::isAttributeCarrierSelected(), NBNode::isTLControlled(), GUIVisualizationSettings::junctionName, GUIVisualizationSettings::junctionSize, myAmTLSSelected, myGNECrossings, myMaxSize, myNBNode, GNENetElement::myNet, GUIVisualizationSettings::scale, PositionVector::scaleRelative(), GUIVisualizationSettings::selectionScale, setColor(), GNEViewNet::showJunctionAsBubbles(), Position::x(), and Position::y().
|
virtualinherited |
Draws additional, user-triggered visualisations.
| [in] | parent | The view |
| [in] | s | The settings for the current view (may influence drawing) |
Reimplemented in GUIBaseVehicle, GUIPerson, and GUIContainer.
Definition at line 161 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
|
inherited |
draw name of item
Definition at line 329 of file GUIGlObject.cpp.
References GUIVisualizationTextSettings::color, GLHelper::drawText(), GUIGlObject::getMicrosimID(), GLO_MAX, GUIVisualizationTextSettings::scaledSize(), and GUIVisualizationTextSettings::show.
Referenced by GNEChargingStation::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEContainerStop::drawGL(), GNEBusStop::drawGL(), GNEParkingArea::drawGL(), GNEDetectorE2::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPolygon::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GUIJunctionWrapper::drawGL(), GNECalibrator::drawGL(), GUIPointOfInterest::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GNEEdge::drawGL(), and GUIBaseVehicle::drawOnPos().
| void GNEJunction::endGeometryMoving | ( | bool | extendToNeighbors = true | ) |
begin movement (used when user click over edge to start a movement, to avoid problems with problems with GL Tree)
Definition at line 522 of file GNEJunction.cpp.
References GNENet::addGLObjectIntoGrid(), myGNEEdges, GNENetElement::myMovingGeometryBoundary, GNENetElement::myNet, GNENet::removeGLObjectFromGrid(), Boundary::reset(), and updateGeometry().
Referenced by GNEViewNet::onLeftBtnRelease().
|
staticprotectedinherited |
fill Attribute Carriers
Definition at line 949 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::ATTRPROPERTY_ANGLE, GNEAttributeCarrier::ATTRPROPERTY_BOOL, GNEAttributeCarrier::ATTRPROPERTY_COLOR, GNEAttributeCarrier::ATTRPROPERTY_COMBINABLE, GNEAttributeCarrier::ATTRPROPERTY_DEFAULTVALUE, GNEAttributeCarrier::ATTRPROPERTY_DISCRETE, GNEAttributeCarrier::ATTRPROPERTY_FILENAME, GNEAttributeCarrier::ATTRPROPERTY_FLOAT, GNEAttributeCarrier::ATTRPROPERTY_INT, GNEAttributeCarrier::ATTRPROPERTY_LIST, GNEAttributeCarrier::ATTRPROPERTY_NONEDITABLE, GNEAttributeCarrier::ATTRPROPERTY_OPTIONAL, GNEAttributeCarrier::ATTRPROPERTY_POSITION, GNEAttributeCarrier::ATTRPROPERTY_POSITIVE, GNEAttributeCarrier::ATTRPROPERTY_PROBABILITY, GNEAttributeCarrier::ATTRPROPERTY_STRING, GNEAttributeCarrier::ATTRPROPERTY_SYNONYM, GNEAttributeCarrier::ATTRPROPERTY_TIME, GNEAttributeCarrier::ATTRPROPERTY_UNIQUE, GNEAttributeCarrier::ATTRPROPERTY_VCLASS, SUMOXMLDefinitions::CarFollowModels, Shape::DEFAULT_ANGLE, Shape::DEFAULT_IMG_FILE, Shape::DEFAULT_IMG_HEIGHT, Shape::DEFAULT_IMG_WIDTH, Shape::DEFAULT_LAYER, Shape::DEFAULT_LAYER_POI, Shape::DEFAULT_RELATIVEPATH, Shape::DEFAULT_TYPE, DEFAULT_VTYPE_ID, OptionsCont::getFloat(), OptionsCont::getInt(), OptionsCont::getOptions(), StringBijection< T >::getStrings(), GNE_ATTR_BIDIR, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, ICON_ACCESS, ICON_BUSSTOP, ICON_CALIBRATOR, ICON_CHARGINGSTATION, ICON_CLOSINGLANEREROUTE, ICON_CLOSINGREROUTE, ICON_CONNECTION, ICON_CONTAINERSTOP, ICON_CROSSING, ICON_DESTPROBREROUTE, ICON_E1, ICON_E1INSTANT, ICON_E2, ICON_E3, ICON_E3ENTRY, ICON_E3EXIT, ICON_EDGE, ICON_FLOW, ICON_JUNCTION, ICON_LANE, ICON_LOCATEPOI, ICON_LOCATEPOLY, ICON_PARKINGAREA, ICON_PARKINGSPACE, ICON_PARKINGZONEREROUTE, ICON_REROUTER, ICON_REROUTERINTERVAL, ICON_ROUTE, ICON_ROUTEPROBE, ICON_ROUTEPROBREROUTE, ICON_VAPORIZER, ICON_VARIABLESPEEDSIGN, ICON_VSSSTEP, ICON_VTYPE, SUMOXMLDefinitions::LaneChangeModels, SUMOXMLDefinitions::LaneSpreadFunctions, SUMOXMLDefinitions::LateralAlignments, GNEAttributeCarrier::myAllowedTags, NODETYPE_DEAD_END_DEPRECATED, SUMOXMLDefinitions::NodeTypes, SUMO_ATTR_ACCEL, SUMO_ATTR_ACCELERATION, SUMO_ATTR_ALLOW, SUMO_ATTR_ANGLE, SUMO_ATTR_ARRIVALLANE, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_ARRIVALPOS_LAT, SUMO_ATTR_ARRIVALSPEED, SUMO_ATTR_BEGIN, SUMO_ATTR_BOARDING_DURATION, SUMO_ATTR_CAR_FOLLOW_MODEL, SUMO_ATTR_CHARGEDELAY, SUMO_ATTR_CHARGEINTRANSIT, SUMO_ATTR_CHARGINGPOWER, SUMO_ATTR_COLOR, SUMO_ATTR_CONT, SUMO_ATTR_CONTAINER_CAPACITY, SUMO_ATTR_CONTAINER_NUMBER, SUMO_ATTR_CONTPOS, SUMO_ATTR_CUSTOMSHAPE, SUMO_ATTR_DECEL, SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_DEPARTPOS_LAT, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_DISALLOW, SUMO_ATTR_EDGE, SUMO_ATTR_EDGES, SUMO_ATTR_EFFICIENCY, SUMO_ATTR_EMISSIONCLASS, SUMO_ATTR_END, SUMO_ATTR_ENDOFFSET, SUMO_ATTR_ENDPOS, SUMO_ATTR_FILE, SUMO_ATTR_FILL, SUMO_ATTR_FREQUENCY, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_FROM, SUMO_ATTR_FROM_LANE, SUMO_ATTR_GUISHAPE, SUMO_ATTR_HALTING_SPEED_THRESHOLD, SUMO_ATTR_HALTING_TIME_THRESHOLD, SUMO_ATTR_HEIGHT, SUMO_ATTR_ID, SUMO_ATTR_IMGFILE, SUMO_ATTR_IMPATIENCE, SUMO_ATTR_INDEX, SUMO_ATTR_JAM_DIST_THRESHOLD, SUMO_ATTR_KEEP_CLEAR, SUMO_ATTR_LANE, SUMO_ATTR_LANE_CHANGE_MODEL, SUMO_ATTR_LANES, SUMO_ATTR_LATALIGNMENT, SUMO_ATTR_LAYER, SUMO_ATTR_LENGTH, SUMO_ATTR_LINE, SUMO_ATTR_LINES, SUMO_ATTR_LOADING_DURATION, SUMO_ATTR_MAXSPEED, SUMO_ATTR_MAXSPEED_LAT, SUMO_ATTR_MINGAP, SUMO_ATTR_MINGAP_LAT, SUMO_ATTR_NAME, SUMO_ATTR_NUMLANES, SUMO_ATTR_OFF, SUMO_ATTR_OUTPUT, SUMO_ATTR_PARKING, SUMO_ATTR_PASS, SUMO_ATTR_PERSON_CAPACITY, SUMO_ATTR_PERSON_NUMBER, SUMO_ATTR_POSITION, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_PRIORITY, SUMO_ATTR_PROB, SUMO_ATTR_RADIUS, SUMO_ATTR_RELATIVEPATH, SUMO_ATTR_REROUTE, SUMO_ATTR_ROADSIDE_CAPACITY, SUMO_ATTR_ROUTE, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_SHAPE, SUMO_ATTR_SIGMA, SUMO_ATTR_SPEED, SUMO_ATTR_SPEEDDEV, SUMO_ATTR_SPEEDFACTOR, SUMO_ATTR_SPREADTYPE, SUMO_ATTR_STARTPOS, SUMO_ATTR_TAU, SUMO_ATTR_TIME, SUMO_ATTR_TLID, SUMO_ATTR_TLLINKINDEX, SUMO_ATTR_TLLINKINDEX2, SUMO_ATTR_TLTYPE, SUMO_ATTR_TO, SUMO_ATTR_TO_LANE, SUMO_ATTR_TYPE, SUMO_ATTR_UNCONTROLLED, SUMO_ATTR_VCLASS, SUMO_ATTR_VEHSPERHOUR, SUMO_ATTR_VISIBILITY_DISTANCE, SUMO_ATTR_VISIBLE, SUMO_ATTR_VTYPES, SUMO_ATTR_WIDTH, SUMO_ATTR_X, SUMO_ATTR_Y, SUMO_ATTR_Z, SUMO_TAG_ACCESS, SUMO_TAG_BUS_STOP, SUMO_TAG_CALIBRATOR, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CLOSING_LANE_REROUTE, SUMO_TAG_CLOSING_REROUTE, SUMO_TAG_CONNECTION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_CROSSING, SUMO_TAG_DEST_PROB_REROUTE, SUMO_TAG_DET_ENTRY, SUMO_TAG_DET_EXIT, SUMO_TAG_E1DETECTOR, SUMO_TAG_E2DETECTOR, SUMO_TAG_E3DETECTOR, SUMO_TAG_EDGE, SUMO_TAG_FLOW, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_INTERVAL, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_LANECALIBRATOR, SUMO_TAG_NOTHING, SUMO_TAG_PARKING_AREA, SUMO_TAG_PARKING_SPACE, SUMO_TAG_PARKING_ZONE_REROUTE, SUMO_TAG_POI, SUMO_TAG_POILANE, SUMO_TAG_POLY, SUMO_TAG_REROUTER, SUMO_TAG_ROUTE, SUMO_TAG_ROUTE_PROB_REROUTE, SUMO_TAG_ROUTEPROBE, SUMO_TAG_STEP, SUMO_TAG_VAPORIZER, SUMO_TAG_VSS, SUMO_TAG_VTYPE, SumoVehicleClassStrings, SumoVehicleShapeStrings, GNEAttributeCarrier::TAGPROPERTY_ADDITIONAL, GNEAttributeCarrier::TAGPROPERTY_AUTOMATICSORTING, GNEAttributeCarrier::TAGPROPERTY_BLOCKMOVEMENT, GNEAttributeCarrier::TAGPROPERTY_BLOCKSHAPE, GNEAttributeCarrier::TAGPROPERTY_CLOSESHAPE, GNEAttributeCarrier::TAGPROPERTY_DETECTOR, GNEAttributeCarrier::TAGPROPERTY_DIALOG, GNEAttributeCarrier::TAGPROPERTY_DRAWABLE, GNEAttributeCarrier::TAGPROPERTY_GEOPOSITION, GNEAttributeCarrier::TAGPROPERTY_GEOSHAPE, GNEAttributeCarrier::TAGPROPERTY_MINIMUMCHILDS, GNEAttributeCarrier::TAGPROPERTY_NETELEMENT, GNEAttributeCarrier::TAGPROPERTY_PARENT, GNEAttributeCarrier::TAGPROPERTY_REPARENT, GNEAttributeCarrier::TAGPROPERTY_SELECTABLE, GNEAttributeCarrier::TAGPROPERTY_SHAPE, GNEAttributeCarrier::TAGPROPERTY_STOPPINGPLACE, GNEAttributeCarrier::TAGPROPERTY_SYNONYM, GNEAttributeCarrier::TAGPROPERTY_WRITECHILDSSEPARATE, toString(), SUMOXMLDefinitions::TrafficLightTypes, NBEdge::UNSPECIFIED_CONTPOS, NBEdge::UNSPECIFIED_SPEED, and NBEdge::UNSPECIFIED_VISIBILITY_DISTANCE.
Referenced by GNEAttributeCarrier::allowedAdditionalTags(), GNEAttributeCarrier::allowedNetElementsTags(), GNEAttributeCarrier::allowedShapeTags(), GNEAttributeCarrier::allowedTags(), GNEAttributeCarrier::getHigherNumberOfAttributes(), GNEAttributeCarrier::getIcon(), GNEAttributeCarrier::getTagProperties(), and GNEAttributeCarrier::parseAttributeFromXML().
|
inherited |
return vector of additionals that have as Parent this edge (For example, Calibrators)
Definition at line 116 of file GNENetElement.cpp.
References GNENetElement::myAdditionalChilds.
Referenced by GNENet::deleteEdge(), GNENet::deleteLane(), GNEDeleteFrame::removeAttributeCarrier(), GNENet::replaceIncomingEdge(), and GNEFrame::ACHierarchy::showAttributeCarrierChilds().
|
inherited |
return vector of additionals that have as Parameter this edge (For example, Rerouters)
Definition at line 110 of file GNENetElement.cpp.
References GNENetElement::myFirstAdditionalParents.
Referenced by GNEDeleteFrame::removeAttributeCarrier(), and GNENet::replaceIncomingEdge().
|
virtual |
Implements GNENetElement.
Definition at line 924 of file GNEJunction.cpp.
References NBNode::getControllingTLS(), getGenericParametersStr(), GNEAttributeCarrier::getID(), NBNode::getKeepClear(), GUIGlObject::getMicrosimID(), NBNode::getPosition(), NBNode::getRadius(), NBNode::getShape(), GNEAttributeCarrier::getTag(), GUIGlObject::getType(), NBNode::getType(), GNE_ATTR_GENERIC, GNE_ATTR_MODIFICATION_STATUS, GNE_ATTR_SELECTED, GNENetElement::isAttributeCarrierSelected(), NBNode::isTLControlled(), myGNEIncomingEdges, myLogicStatus, myNBNode, SUMO_ATTR_ID, SUMO_ATTR_KEEP_CLEAR, SUMO_ATTR_POSITION, SUMO_ATTR_RADIUS, SUMO_ATTR_SHAPE, SUMO_ATTR_TLID, SUMO_ATTR_TLTYPE, SUMO_ATTR_TYPE, and toString().
Referenced by GNENet::mergeJunctions(), GNETLSEditorFrame::onCmdDefCreate(), and setAttribute().
|
virtualinherited |
method for getting the attribute in the context of object selection
Reimplemented in GNEEdge, and GNELane.
Definition at line 776 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::getAttribute().
| Boundary GNEJunction::getBoundary | ( | ) | const |
Returns the boundary of the junction.
Definition at line 340 of file GNEJunction.cpp.
References myJunctionBoundary.
Referenced by GNENet::registerJunction().
|
virtual |
Returns the boundary to which the view shall be centered in order to show the object.
Implements GNENetElement.
Definition at line 234 of file GNEJunction.cpp.
References Boundary::grow(), Boundary::isInitialised(), myJunctionBoundary, and GNENetElement::myMovingGeometryBoundary.
Referenced by startGeometryMoving().
|
staticinherited |
function to calculate circle resolution for all circles drawn in drawGL(...) functions
Definition at line 935 of file GNEAttributeCarrier.cpp.
References GUIVisualizationSettings::drawForSelecting, and GUIVisualizationSettings::scale.
Referenced by GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEBusStop::drawGL(), GNEParkingArea::drawGL(), drawGL(), GNELane::drawGL(), GNEPoly::drawGL(), GNEEdge::drawGL(), and GNEAttributeCarrier::parseAttributeFromXML().
|
private |
determines color value
Definition at line 1336 of file GNEJunction.cpp.
References GUIPropertySchemeStorage< T >::getActive(), NBNode::getPosition(), NBNode::getType(), GNENetElement::isAttributeCarrierSelected(), GUIVisualizationSettings::junctionColorer, myNBNode, NODETYPE_ALLWAY_STOP, NODETYPE_DEAD_END, NODETYPE_DEAD_END_DEPRECATED, NODETYPE_DISTRICT, NODETYPE_INTERNAL, NODETYPE_NOJUNCTION, NODETYPE_PRIORITY, NODETYPE_PRIORITY_STOP, NODETYPE_RAIL_CROSSING, NODETYPE_RAIL_SIGNAL, NODETYPE_RIGHT_BEFORE_LEFT, NODETYPE_TRAFFIC_LIGHT, NODETYPE_TRAFFIC_LIGHT_NOJUNCTION, NODETYPE_TRAFFIC_LIGHT_RIGHT_ON_RED, NODETYPE_UNKNOWN, NODETYPE_ZIPPER, and Position::z().
Referenced by setColor().
|
inherited |
Definition at line 116 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(), SUMORTree::removeAdditionalGLObject(), GUISelectedStorage::save(), and GUISUMOAbstractView::showToolTipFor().
|
virtual |
return generic parameters as vector of pairs format
Implements GNENetElement.
Definition at line 1191 of file GNEJunction.cpp.
References Parameterised::getParametersMap(), and myNBNode.
|
virtual |
return generic parameters in string format
Implements GNENetElement.
Definition at line 1176 of file GNEJunction.cpp.
References Parameterised::getParametersMap(), and myNBNode.
Referenced by getAttribute().
|
inherited |
Returns the numerical id of the object.
Definition at line 128 of file GUIGlObject.cpp.
References GUIGlObject::myGlID.
Referenced by GUIMessageWindow::appendMsg(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildRouteProbe(), GUIGlObject::buildSelectionPopupEntry(), GNEAdditionalHandler::buildVaporizer(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GNEChargingStation::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEDetectorE1::drawGL(), GNEBusStop::drawGL(), GNEContainerStop::drawGL(), GNEParkingArea::drawGL(), GNEDetectorE2::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEVariableSpeedSign::drawGL(), GNEAccess::drawGL(), GNERerouter::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEParkingSpace::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIPolygon::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GUIJunctionWrapper::drawGL(), GNECalibrator::drawGL(), GUIPointOfInterest::drawGL(), GNELane::drawGL(), GNEConnection::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUIParkingArea::drawGL(), GUIEdge::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GNEEdge::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GUIMEVehicle::getColorValue(), GUIVehicle::getColorValue(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GUIContainer::getColorValue(), GUIPerson::getColorValue(), GNEPoly::getGlID(), GNEPOI::getGlID(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIPerson::getPopUpMenu(), GUIBaseVehicle::getPopUpMenu(), GUIEdge::getScaleValue(), GUILane::isLaneOrEdgeSelected(), GUIGlChildWindow::isSelected(), GUISUMOViewParent::isSelected(), GUIVehicle::isSelected(), GUIPerson::isSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GNEFrame::ACHierarchy::onCmdCenterItem(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIApplicationWindow::onCmdEditChosen(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIDialog_GLObjChooser::refreshList(), GLObjectValuePassConnector< std::pair< SUMOTime, MSPhaseDefinition > >::removeObject(), GNENetElement::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GUIVehicle::selectBlockingFoes(), GUIPolygon::setColor(), GUIPointOfInterest::setColor(), GUIMessageWindow::setCursorPos(), GNENetElement::unselectAttributeCarrier(), GNEAdditional::unselectAttributeCarrier(), GUIBaseVehicle::~GUIBaseVehicle(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().
| std::vector< GNEConnection * > GNEJunction::getGNEConnections | ( | ) | const |
Returns all GNEConnections vinculated with this junction.
Definition at line 453 of file GNEJunction.cpp.
References myGNEIncomingEdges.
Referenced by GNENet::clearJunctionConnections(), getPopUpMenu(), and GNEProhibitionFrame::handleConnectionClick().
| const std::vector< GNECrossing * > & GNEJunction::getGNECrossings | ( | ) | const |
Returns GNECrossings.
Definition at line 447 of file GNEJunction.cpp.
References myGNECrossings.
Referenced by GNENet::deleteJunction(), GNEEdge::getGNECrossings(), GNEEdge::removeEdgeFromCrossings(), GNENet::replaceIncomingEdge(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), and GNENet::splitEdge().
| const std::vector< GNEEdge * > & GNEJunction::getGNEEdges | ( | ) | const |
Returns all GNEEdges vinculated with this Junction.
Definition at line 429 of file GNEJunction.cpp.
References myGNEEdges.
Referenced by GNEEdge::addLane(), GNENet::deleteJunction(), GNECrossingFrame::edgesSelector::enableEdgeSelector(), GNECrossingFrame::crossingParameters::invertEdges(), GNECrossingFrame::crossingParameters::markEdge(), GNECrossingFrame::crossingParameters::onCmdSetAttribute(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeLane(), GNECrossingFrame::edgesSelector::restoreEdgeColors(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), and GNECrossingFrame::crossingParameters::useSelectedEdges().
| const std::vector< GNEEdge * > & GNEJunction::getGNEIncomingEdges | ( | ) | const |
Returns incoming GNEEdges.
Definition at line 435 of file GNEJunction.cpp.
References myGNEIncomingEdges.
Referenced by GNENet::deleteEdge(), GNELane::getGNEIncomingConnections(), GNETLSEditorFrame::onCmdDefCreate(), and GNENet::splitJunction().
| const std::vector< GNEEdge * > & GNEJunction::getGNEOutgoingEdges | ( | ) | const |
Returns incoming GNEEdges.
Definition at line 441 of file GNEJunction.cpp.
References myGNEOutgoingEdges.
Referenced by GNENet::deleteEdge(), GNEAdditional::isRouteValid(), GNETLSEditorFrame::onCmdDefCreate(), and GNENet::splitJunction().
|
virtualinherited |
get Hierarchy Name (Used in AC Hierarchy)
Implements GNEAttributeCarrier.
Definition at line 183 of file GNENetElement.cpp.
References GNENetElement::getAttribute(), GNEAttributeCarrier::getTag(), SUMO_ATTR_FROM_LANE, SUMO_ATTR_ID, SUMO_ATTR_INDEX, SUMO_ATTR_TO_LANE, SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_LANE, and toString().
Referenced by GNEFrame::ACHierarchy::showAttributeCarrierParents().
|
staticinherited |
return the number of attributes of the tag with the most highter number of attributes
Definition at line 890 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), MAX2(), and GNEAttributeCarrier::myAllowedTags.
Referenced by GNEAdditionalFrame::AdditionalAttributes::AdditionalAttributes(), GNEInspectorFrame::AttributesEditor::AttributesEditor(), and GNEPolygonFrame::ShapeAttributes::ShapeAttributes().
|
inherited |
get FXIcon associated to this AC
Definition at line 788 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), GUIIconSubSys::getIcon(), GNEAttributeCarrier::myAllowedTags, and GNEAttributeCarrier::myTag.
Referenced by GNEFrame::ACHierarchy::addACIntoList(), GNEFrame::ACHierarchy::createPopUpMenu(), GNEAdditional::getPopUpMenu(), and GNEFrame::ACHierarchy::showAttributeCarrierParents().
|
virtualinherited |
function to support debugging
Implements GNEReferenceCounter.
Definition at line 798 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::getAttribute(), and SUMO_ATTR_ID.
Referenced by GNEAdditionalFrame::addAdditional(), GNENetElement::addAdditionalChild(), GNEAdditional::addAdditionalChild(), GNENetElement::addAdditionalParent(), GNECrossingFrame::addCrossing(), GNEAdditional::addEdgeChild(), addIncomingGNEEdge(), GNEAdditional::addLaneChild(), addOutgoingGNEEdge(), GNENet::addPOI(), GNENet::addReversedEdge(), GNELane::addShapeChild(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildAdditional(), GNEAdditionalHandler::buildRerouterInterval(), GNENet::changeShapeID(), GNENet::computeEverything(), GNENet::deleteAdditional(), GNEAdditional::generateAdditionalChildID(), GNEAdditionalFrame::generateID(), GNEChargingStation::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNEContainerStop::getAttribute(), GNEBusStop::getAttribute(), GNEParkingArea::getAttribute(), GNEDetectorE2::getAttribute(), GNERouteProbe::getAttribute(), GNEDestProbReroute::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNECalibratorFlow::getAttribute(), GNEAccess::getAttribute(), GNEParkingSpace::getAttribute(), GNECalibrator::getAttribute(), GNEConnection::getAttribute(), getAttribute(), GNEDestProbReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEAccess::getHierarchyName(), GNERerouterInterval::getParentName(), GNERouteProbReroute::getParentName(), GNEDestProbReroute::getParentName(), GNEParkingAreaReroute::getParentName(), GNEClosingLaneReroute::getParentName(), GNEClosingReroute::getParentName(), GNEVariableSpeedSignStep::getParentName(), GNEAccess::getParentName(), GNECalibratorFlow::getParentName(), GNEDetectorE3::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNECalibratorRoute::getPopUpID(), GNERerouter::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibratorVehicleType::getPopUpID(), GNECalibrator::getPopUpID(), GNEDetector::getPopUpID(), GNENetElement::getPopUpID(), GNEShape::getPopUpID(), GNEAdditionalHandler::getPosition(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::GNENet(), GNENet::insertAdditional(), GNENet::insertShape(), GNEAdditional::isRouteValid(), GNEAccess::isValid(), GNENet::joinSelectedJunctions(), GNECrossingFrame::crossingParameters::markEdge(), GNENet::mergeJunctions(), GNERerouterDialog::onCmdAccept(), GNECalibratorRouteDialog::onCmdSetVariable(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::parseAndBuildAccess(), GNEAdditionalHandler::parseAndBuildBusStop(), GNEAdditionalHandler::parseAndBuildCalibrator(), GNEAdditionalHandler::parseAndBuildCalibratorFlow(), GNEAdditionalHandler::parseAndBuildCalibratorRoute(), GNEAdditionalHandler::parseAndBuildCalibratorVehicleType(), GNEAdditionalHandler::parseAndBuildChargingStation(), GNEAdditionalHandler::parseAndBuildContainerStop(), GNEAdditionalHandler::parseAndBuildDetectorE1(), GNEAdditionalHandler::parseAndBuildDetectorE1Instant(), GNEAdditionalHandler::parseAndBuildDetectorE2(), GNEAdditionalHandler::parseAndBuildDetectorE3(), GNEAdditionalHandler::parseAndBuildDetectorEntry(), GNEAdditionalHandler::parseAndBuildDetectorExit(), GNEAdditionalHandler::parseAndBuildParkingArea(), GNEAdditionalHandler::parseAndBuildParkingSpace(), GNEAdditionalHandler::parseAndBuildRerouter(), GNEAdditionalHandler::parseAndBuildRerouterClosingLaneReroute(), GNEAdditionalHandler::parseAndBuildRerouterClosingReroute(), GNEAdditionalHandler::parseAndBuildRerouterDestProbReroute(), GNEAdditionalHandler::parseAndBuildRerouterInterval(), GNEAdditionalHandler::parseAndBuildRerouterParkingAreaReroute(), GNEAdditionalHandler::parseAndBuildRerouterRouteProbReroute(), GNEAdditionalHandler::parseAndBuildRouteProbe(), GNEAdditionalHandler::parseAndBuildVaporizer(), GNEAdditionalHandler::parseAndBuildVariableSpeedSign(), GNEAdditionalHandler::parseAndBuildVariableSpeedSignStep(), GNEPolygonFrame::processClick(), GNEViewNet::SelectingArea::processSelection(), GNEChange_Shape::redo(), GNEChange_Junction::redo(), GNEChange_TLS::redo(), GNEChange_Connection::redo(), GNEChange_Additional::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNENetElement::removeAdditionalChild(), GNEAdditional::removeAdditionalChild(), GNENetElement::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEAdditional::removeEdgeChild(), removeEdgeFromCrossings(), GNEEdge::removeEdgeOfAdditionalParents(), removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEAdditional::removeLaneChild(), GNELane::removeLaneOfAdditionalParents(), removeOutgoingGNEEdge(), GNENet::removeShape(), GNELane::removeShapeChild(), GNENet::renameJunction(), GNENet::replaceIncomingEdge(), GNENet::retrieveEdge(), GNEEdge::retrieveGNEConnection(), retrieveGNECrossing(), GNENet::reverseEdge(), GNEEdge::setAttribute(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEEdge::smooth(), GNEEdge::smoothElevation(), GNEEdge::smoothShape(), GNENet::splitEdge(), GNENet::splitJunction(), GNEChange_Shape::undo(), GNEChange_Junction::undo(), GNEChange_TLS::undo(), GNEChange_Connection::undo(), GNEChange_Additional::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNENet::updateAdditionalID(), GNECalibratorRouteDialog::updateCalibratorRouteValues(), GNEAdditional::writeAdditional(), GNEPOI::writeShape(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and ~GNEJunction().
| std::vector< GNEJunction * > GNEJunction::getJunctionNeighbours | ( | ) | const |
return GNEJunction neighbours
Definition at line 358 of file GNEJunction.cpp.
References myGNEIncomingEdges, and myGNEOutgoingEdges.
Referenced by GNENet::deleteJunction(), and moveGeometry().
|
virtualinherited |
Returns the id of the object as known to microsim.
Definition at line 142 of file GUIGlObject.cpp.
References GUIGlObject::myMicrosimID.
Referenced by SUMORTree::addAdditionalGLObject(), GNEAdditional::changeAdditionalID(), GNEAdditional::changeEdge(), GNEAdditional::changeFirstAdditionalParent(), GNEAdditional::changeLane(), GNEAdditional::changeSecondAdditionalParent(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GUIGlObject::drawName(), GNEAdditional::getAdditionalID(), GNEConnection::getAttribute(), GNELane::getAttribute(), getAttribute(), GNEEdge::getAttribute(), GNEVaporizer::getParentName(), GNERouteProbe::getParentName(), GNEDetectorE3::getParentName(), GNECalibratorRoute::getParentName(), GNEVariableSpeedSign::getParentName(), GNERerouter::getParentName(), GNELane::getParentName(), GNEParkingSpace::getParentName(), GNEStoppingPlace::getParentName(), GNECalibratorVehicleType::getParentName(), GNECalibrator::getParentName(), GNEDetector::getParentName(), GNEPoly::getParentName(), GNEPOI::getParentName(), GNETLSEditorFrame::handleMultiChange(), GNEEdge::isValid(), GNEViewNet::mergeJunctions(), GUIGLObjectPopupMenu::onCmdCopyName(), GNEInspectorFrame::TemplateEditor::onUpdCopyTemplate(), GUIDialog_GLObjChooser::refreshList(), GNENet::registerEdge(), GNENet::registerJunction(), SUMORTree::removeAdditionalGLObject(), GNEEdge::removeConnection(), GNEEdge::setAttribute(), GNENet::splitEdge(), GNEProhibitionFrame::updateDescription(), GNEConnectorFrame::updateDescription(), and GNEConnection::updateID().
| NBNode * GNEJunction::getNBNode | ( | ) | const |
Return net build node.
Definition at line 346 of file GNEJunction.cpp.
References myNBNode.
Referenced by GNECrossingFrame::addCrossing(), GNECrossing::addGenericParameter(), GNETLSEditorFrame::buildIinternalLanes(), GNENet::changeEdgeEndpoints(), GNECrossing::checkEdgeBelong(), GNENet::computeJunction(), GNENet::createEdge(), GNENet::deleteEdge(), GNENet::deleteJunction(), GNENet::deleteSingleJunction(), GNECrossing::drawGL(), GNECrossing::drawTLSLinkNo(), GNEEdge::editEndpoint(), GNECrossing::getAttribute(), GNECrossing::getGenericParameters(), GNECrossing::getGenericParametersStr(), GNECrossing::getNBCrossing(), GNEProhibitionFrame::handleConnectionClick(), GNEConnectorFrame::initTargets(), GNETLSEditorFrame::TLSAttributes::initTLSAttributes(), GNENet::insertJunction(), GNECrossing::isValid(), GNENet::joinSelectedJunctions(), GNENet::mergeJunctions(), GNEViewNet::mergeJunctions(), moveJunctionGeometry(), GNECrossingFrame::onCmdCreateCrossing(), GNEViewNet::onCmdEditJunctionShape(), GNEChange_Crossing::redo(), GNENet::registerJunction(), GNECrossing::removeGenericParameter(), GNENet::removeSolitaryJunctions(), GNENet::renameJunction(), GNENet::replaceJunctionByGeometry(), GNEEdge::resetEndpoint(), GNECrossing::setAttribute(), setAttribute(), GNEEdge::setAttribute(), GNECrossing::setGenericParametersStr(), GNENet::splitJunction(), GNEChange_Crossing::undo(), GNECrossing::updateGenericParameter(), GNECrossing::updateGenericParameterValue(), GNECrossing::updateGeometry(), GNETLSEditorFrame::TLSJunction::updateJunctionDescription(), and GNEEdge::updateJunctionPosition().
|
inherited |
get Net in which this element is placed
Definition at line 50 of file GNENetElement.cpp.
References GNENetElement::myNet.
Referenced by GNEConnection::setAttribute().
|
virtualinherited |
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 122 of file GNENetElement.cpp.
References GUIParameterTableWindow::closeBuilding(), GNENetElement::getAttribute(), GNEAttributeCarrier::getTag(), GNEAttributeCarrier::getTagProperties(), GUIParameterTableWindow::mkItem(), and toString().
|
virtualinherited |
Returns the name of the parent object (if any)
Reimplemented in GNEPOI, GNEPoly, GNEDetector, GNECalibrator, GNECalibratorVehicleType, GNEStoppingPlace, GUILane, GNEParkingSpace, GNELane, GNECalibratorFlow, GNERerouter, GNEAccess, GNEVariableSpeedSign, GNEVariableSpeedSignStep, GNECalibratorRoute, GNEClosingLaneReroute, GNEClosingReroute, GNEParkingAreaReroute, GNEDestProbReroute, GNERerouterInterval, GNERouteProbReroute, GNEDetectorE3, GNERouteProbe, and GNEVaporizer.
Definition at line 122 of file GUIGlObject.cpp.
References StringUtils::emptyString.
Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().
|
virtualinherited |
get PopPup ID (Used in AC Hierarchy)
Implements GNEAttributeCarrier.
Definition at line 173 of file GNENetElement.cpp.
References GNENetElement::getAttribute(), GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTag(), SUMO_ATTR_FROM, SUMO_ATTR_FROM_LANE, SUMO_ATTR_TO, SUMO_ATTR_TO_LANE, SUMO_TAG_CONNECTION, and toString().
|
virtual |
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 GNENetElement.
Definition at line 180 of file GNEJunction.cpp.
References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildNameCopyPopupEntry(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GNEViewNet::buildSelectionACPopupEntry(), GUIGlObject::buildShowParamsPopupEntry(), NBNode::checkIsRemovableReporting(), NBTurningDirectionsComputer::computeTurnDirectionsForNode(), GNEViewNet::getCurrentEditMode(), NBNode::getEndPoints(), getGNEConnections(), NBNode::getIncomingEdges(), NBNode::getOutgoingEdges(), GNENet::getViewNet(), GNE_MODE_CONNECT, GNE_MODE_CREATE_EDGE, GNE_MODE_TLS, NBNode::hasCustomShape(), MID_GNE_JUNCTION_CLEAR_CONNECTIONS, MID_GNE_JUNCTION_EDIT_SHAPE, MID_GNE_JUNCTION_REPLACE, MID_GNE_JUNCTION_RESET_CONNECTIONS, MID_GNE_JUNCTION_RESET_SHAPE, MID_GNE_JUNCTION_SPLIT, myNBNode, GNENetElement::myNet, and toString().
| Position GNEJunction::getPositionInView | ( | ) | const |
Return current position.
Definition at line 352 of file GNEJunction.cpp.
References NBNode::getPosition(), and myNBNode.
Referenced by GNEEdge::clickedOverShapeEnd(), GNEEdge::clickedOverShapeStart(), GNELane::drawGL(), GNEEdge::drawGL(), GNEEdge::editEndpoint(), GNEEdge::getAttribute(), GNEConnection::getBoundary(), GNECrossing::getCenteringBoundary(), GNEViewNet::onLeftBtnPress(), and GNEEdge::setAttribute().
|
inherited |
get XML Tag assigned to this object
Definition at line 782 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::myTag.
Referenced by GNEAdditionalHandler::accessCanBeCreated(), GNEAdditionalFrame::addAdditional(), GNENetElement::addAdditionalChild(), GNEAdditional::addAdditionalChild(), GNENetElement::addAdditionalParent(), GNEAdditional::addEdgeChild(), addIncomingGNEEdge(), GNEAdditional::addLaneChild(), addOutgoingGNEEdge(), GNENet::addPOI(), GNELane::addShapeChild(), GNEViewNet::beginMoveSelection(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildCalibratorRoute(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNEAdditionalHandler::buildVehicleType(), GNEAdditionalHandler::builParkingAreaReroute(), GNEAdditional::changeAdditionalID(), GNEAdditional::changeEdge(), GNEAdditional::changeFirstAdditionalParent(), GNEAdditional::changeLane(), GNEAdditional::changeSecondAdditionalParent(), GNENet::changeShapeID(), GNEAdditional::checkAdditionalChildRestriction(), GNEAdditionalHandler::checkOverlappingRerouterIntervals(), GNEDetectorE3::commitGeometryMoving(), GNEVariableSpeedSign::commitGeometryMoving(), GNEAccess::commitGeometryMoving(), GNERerouter::commitGeometryMoving(), GNEParkingSpace::commitGeometryMoving(), GNEStoppingPlace::commitGeometryMoving(), GNEDetector::commitGeometryMoving(), GNEPOI::commitGeometryMoving(), commitGeometryMoving(), GNEPoly::commitShapeChange(), GNEEdge::commitShapeChange(), GNEEdge::commitShapeEndChange(), GNEEdge::commitShapeStartChange(), GNENet::computeEverything(), GNENet::deleteAdditional(), GNENet::deleteShape(), GNEAdditional::drawLockIcon(), GNEChargingStation::getAttribute(), GNEDetectorE1Instant::getAttribute(), GNEDetectorE1::getAttribute(), GNEDetectorEntry::getAttribute(), GNEDetectorExit::getAttribute(), GNEBusStop::getAttribute(), GNEContainerStop::getAttribute(), GNEParkingArea::getAttribute(), GNEDetectorE2::getAttribute(), GNEVaporizer::getAttribute(), GNERouteProbe::getAttribute(), GNEDetectorE3::getAttribute(), GNERerouterInterval::getAttribute(), GNERouteProbReroute::getAttribute(), GNECrossing::getAttribute(), GNEDestProbReroute::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNECalibratorRoute::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEAccess::getAttribute(), GNECalibratorFlow::getAttribute(), GNERerouter::getAttribute(), GNEParkingSpace::getAttribute(), GNECalibratorVehicleType::getAttribute(), GNECalibrator::getAttribute(), GNEConnection::getAttribute(), GNEPoly::getAttribute(), GNELane::getAttribute(), GNEPOI::getAttribute(), getAttribute(), GNEEdge::getAttribute(), GNEVaporizer::getHierarchyName(), GNERouteProbe::getHierarchyName(), GNEDetectorE3::getHierarchyName(), GNEDestProbReroute::getHierarchyName(), GNERerouterInterval::getHierarchyName(), GNERouteProbReroute::getHierarchyName(), GNEParkingAreaReroute::getHierarchyName(), GNEClosingLaneReroute::getHierarchyName(), GNEClosingReroute::getHierarchyName(), GNEVariableSpeedSign::getHierarchyName(), GNECalibratorRoute::getHierarchyName(), GNEVariableSpeedSignStep::getHierarchyName(), GNEAccess::getHierarchyName(), GNERerouter::getHierarchyName(), GNECalibratorFlow::getHierarchyName(), GNEParkingSpace::getHierarchyName(), GNEStoppingPlace::getHierarchyName(), GNECalibratorVehicleType::getHierarchyName(), GNECalibrator::getHierarchyName(), GNEDetector::getHierarchyName(), GNENetElement::getHierarchyName(), GNEShape::getHierarchyName(), GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), GNEVaporizer::getPopUpID(), GNERouteProbe::getPopUpID(), GNEDetectorE3::getPopUpID(), GNEDestProbReroute::getPopUpID(), GNERerouterInterval::getPopUpID(), GNERouteProbReroute::getPopUpID(), GNEParkingAreaReroute::getPopUpID(), GNEClosingLaneReroute::getPopUpID(), GNEClosingReroute::getPopUpID(), GNEVariableSpeedSign::getPopUpID(), GNECalibratorRoute::getPopUpID(), GNEVariableSpeedSignStep::getPopUpID(), GNEAccess::getPopUpID(), GNERerouter::getPopUpID(), GNECalibratorFlow::getPopUpID(), GNEParkingSpace::getPopUpID(), GNEStoppingPlace::getPopUpID(), GNECalibratorVehicleType::getPopUpID(), GNECalibrator::getPopUpID(), GNEDetector::getPopUpID(), GNENetElement::getPopUpID(), GNEShape::getPopUpID(), GNEAdditional::getPopUpMenu(), GNEEdge::getRouteProbeRelativePosition(), GNEAdditional::GNEAdditional(), GNEAdditionalHandler::GNEAdditionalHandler(), GNENet::GNENet(), GNEViewNet::hotkeyEnter(), GNENet::insertAdditional(), GNENet::insertShape(), GNEInspectorFrame::inspectElement(), GNEAdditional::isRouteValid(), GNEChargingStation::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntry::isValid(), GNEDetectorExit::isValid(), GNEBusStop::isValid(), GNEContainerStop::isValid(), GNEParkingArea::isValid(), GNEDetectorE2::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEDetectorE3::isValid(), GNEDestProbReroute::isValid(), GNECrossing::isValid(), GNERerouterInterval::isValid(), GNERouteProbReroute::isValid(), GNEParkingAreaReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEClosingReroute::isValid(), GNEVariableSpeedSign::isValid(), GNECalibratorRoute::isValid(), GNEVariableSpeedSignStep::isValid(), GNEAccess::isValid(), GNERerouter::isValid(), GNECalibratorFlow::isValid(), GNEParkingSpace::isValid(), GNECalibratorVehicleType::isValid(), GNECalibrator::isValid(), GNEConnection::isValid(), GNEPoly::isValid(), GNELane::isValid(), GNEPOI::isValid(), isValid(), GNEEdge::isValid(), GNEAdditional::isValidAdditionalID(), GNECalibratorFlowDialog::onCmdAccept(), GNECalibratorVehicleTypeDialog::onCmdAccept(), GNECalibratorRouteDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEViewNet::onCmdTransformPOI(), GNEViewNet::onLeftBtnPress(), GNEAdditional::openAdditionalDialog(), GNEAdditionalHandler::parseGenericParameter(), GNEViewNet::SelectingArea::processSelection(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_TLS::redo(), GNEChange_Additional::redo(), GNEChange_Edge::redo(), GNEChange_Lane::redo(), GNEChange_Crossing::redo(), GNEChange_Attribute::redo(), GNEChange_Shape::redoName(), GNEChange_Additional::redoName(), GNEChange_Attribute::redoName(), GNEAdditionalFrame::removeAdditional(), GNENetElement::removeAdditionalChild(), GNEAdditional::removeAdditionalChild(), GNENetElement::removeAdditionalParent(), GNEDeleteFrame::removeAttributeCarrier(), GNEEdge::removeConnection(), GNEAdditional::removeEdgeChild(), removeIncomingGNEEdge(), GNEEdge::removeLane(), GNEAdditional::removeLaneChild(), removeOutgoingGNEEdge(), GNENet::removeShape(), GNELane::removeShapeChild(), GNENet::replaceInListAttribute(), GNEAdditionalHandler::HierarchyInsertedElements::retrieveAdditionalParent(), GNEEdge::retrieveGNEConnection(), retrieveGNECrossing(), GNENet::retrieveShapes(), GNEChargingStation::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorEntry::setAttribute(), GNEDetectorExit::setAttribute(), GNEContainerStop::setAttribute(), GNEBusStop::setAttribute(), GNEParkingArea::setAttribute(), GNEDetectorE2::setAttribute(), GNEVaporizer::setAttribute(), GNERouteProbe::setAttribute(), GNEDetectorE3::setAttribute(), GNERouteProbReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNECrossing::setAttribute(), GNERerouterInterval::setAttribute(), GNEClosingReroute::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNECalibratorRoute::setAttribute(), GNEVariableSpeedSignStep::setAttribute(), GNERerouter::setAttribute(), GNEAccess::setAttribute(), GNECalibratorFlow::setAttribute(), GNEParkingSpace::setAttribute(), GNECalibratorVehicleType::setAttribute(), GNECalibrator::setAttribute(), GNEConnection::setAttribute(), GNEPoly::setAttribute(), GNELane::setAttribute(), GNEPOI::setAttribute(), setAttribute(), GNEEdge::setAttribute(), GNEAdditional::setDefaultValues(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEAdditional::sortAdditionalChilds(), GNEChange_Junction::undo(), GNEChange_Shape::undo(), GNEChange_TLS::undo(), GNEChange_Additional::undo(), GNEChange_Edge::undo(), GNEChange_Lane::undo(), GNEChange_Crossing::undo(), GNEChange_Attribute::undo(), GNEChange_Shape::undoName(), GNEChange_Additional::undoName(), GNEChange_Attribute::undoName(), GNENet::updateAdditionalID(), GNEAdditional::writeAdditional(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), and GNEChange_TLS::~GNEChange_TLS().
|
staticinherited |
get Tag Properties
Definition at line 807 of file GNEAttributeCarrier.cpp.
References GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::myAllowedTags, and toString().
Referenced by GNEAdditionalFrame::addAdditional(), GNEAdditional::addAdditionalChild(), GNEAdditionalFrame::AdditionalAttributes::addAttribute(), GNEPolygonFrame::ShapeAttributes::addAttribute(), GNEAdditionalFrame::AdditionalAttributes::areValuesValid(), GNEPolygonFrame::ShapeAttributes::areValuesValid(), GNEAdditional::checkAdditionalChildsOverlapping(), GNENet::computeAndUpdate(), GNENet::deleteAdditional(), GNEAdditional::drawLockIcon(), GNECrossingFrame::crossingParameters::enableCrossingParameters(), GNESelectorFrame::getMatches(), GNENetElement::getParameterWindow(), GNEAdditional::getParameterWindow(), GNEAdditional::getPopUpMenu(), GNEAdditionalFrame::AdditionalAttributeSingle::getValue(), GNEPolygonFrame::ShapeAttributeSingle::getValue(), GNEAdditional::GNEAdditional(), GNEChange_Additional::GNEChange_Additional(), GNEDialog_AllowDisallow::GNEDialog_AllowDisallow(), GNESelectorFrame::handleIDs(), GNEViewNet::hotkeyEnter(), GNENet::insertAdditional(), GNESelectorFrame::SelectionOperation::onCmdInvert(), GNEViewNet::onCmdOpenAdditionalDialog(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdOpenAttributeDialog(), GNESelectorFrame::MatchAttribute::onCmdSelMBAttribute(), GNESelectorFrame::MatchAttribute::onCmdSelMBString(), GNESelectorFrame::MatchAttribute::onCmdSelMBTag(), GNEInspectorFrame::AttributesEditor::AttributeInput::onCmdSetAttribute(), GNEAdditionalFrame::AdditionalAttributeSingle::onCmdSetAttribute(), GNEPolygonFrame::ShapeAttributeSingle::onCmdSetAttribute(), GNEPolygonFrame::ShapeAttributeSingle::onCmdSetColorAttribute(), GNEInspectorFrame::GEOAttributesEditor::onCmdSetGEOAttribute(), GNEFrame::openHelpAttributesDialog(), GNEAttributeCarrier::parseAttributeFromXML(), GNEViewNet::SelectingArea::processSelection(), GNEInspectorFrame::AttributesEditor::refreshAttributeEditor(), GNEInspectorFrame::GEOAttributesEditor::refreshGEOAttributesEditor(), GNEInspectorFrame::NeteditAttributesEditor::refreshNeteditAttributesEditor(), GNEAdditional::removeAdditionalChild(), GNEDeleteFrame::removeAttributeCarrier(), GNENet::replaceInListAttribute(), GNENet::retrieveAttributeCarriers(), GNENet::saveAdditionalsConfirmed(), GNEAdditionalFrame::AdditionalSelector::setCurrentAdditional(), GNEPolygonFrame::ShapeSelector::setCurrentShape(), GNEAdditional::setDefaultValues(), GNEInspectorFrame::AttributesEditor::AttributeInput::showAttribute(), GNEFrame::ACHierarchy::showAttributeCarrierChilds(), GNEFrame::ACHierarchy::showAttributeCarrierParents(), GNEInspectorFrame::AttributesEditor::showAttributeEditor(), GNEInspectorFrame::GEOAttributesEditor::showGEOAttributesEditor(), GNEInspectorFrame::NeteditAttributesEditor::showNeteditAttributesEditor(), GNEAdditionalFrame::AdditionalAttributeSingle::showParameter(), GNEPolygonFrame::ShapeAttributeSingle::showParameter(), GNEAdditionalFrame::AdditionalAttributes::showWarningMessage(), GNEPolygonFrame::ShapeAttributes::showWarningMessage(), GNEAdditional::sortAdditionalChilds(), GNEViewNet::ObjectsUnderCursor::updateObjectUnderCursor(), and GNEAdditional::writeAdditional().
|
inherited |
Returns the type of the object as coded in GUIGlObjectType.
Definition at line 155 of file GUIGlObject.cpp.
References GUIGlObject::myGLObjectType.
Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIVehicle::drawAction_drawRailCarriages(), GUIPerson::drawAction_drawWalkingareaPath(), GNEAdditional::drawChildConnections(), GNEChargingStation::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorEntry::drawGL(), GNEDetectorExit::drawGL(), GNEContainerStop::drawGL(), GNEBusStop::drawGL(), GNEParkingArea::drawGL(), GNEDetectorE2::drawGL(), GNEVaporizer::drawGL(), GNERouteProbe::drawGL(), GNEDetectorE3::drawGL(), drawGL(), GNECrossing::drawGL(), GNEVariableSpeedSign::drawGL(), GNERerouter::drawGL(), GNEAccess::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GNEParkingSpace::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUICalibrator::drawGL(), GUIContainer::drawGL(), GUIPerson::drawGL(), GNECalibrator::drawGL(), GUIJunctionWrapper::drawGL(), GNELane::drawGL(), GNEConnection::drawGL(), GUIChargingStation::drawGL(), GUIContainerStop::drawGL(), GUIBusStop::drawGL(), GUIParkingArea::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GNEPoly::drawGL(), GNEPOI::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawGLAdditional(), GNEAdditional::drawLockIcon(), GUIBaseVehicle::drawOnPos(), getAttribute(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getEdgesAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GUIGlChildWindow::isSelected(), GUISUMOViewParent::isSelected(), GUISelectedStorage::loadIDs(), GNEViewNet::mergeJunctions(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdBegin2TrackPhases(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideBestLanes(), GUIPerson::GUIPersonPopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdHideLFLinkItems(), GUIPerson::GUIPersonPopupMenu::onCmdHideWalkingareaPath(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowAllRoutes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowBestLanes(), GUIPerson::GUIPersonPopupMenu::onCmdShowCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowCurrentRoute(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowFoes(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdShowLFLinkItems(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdShowPhases(), GUIPerson::GUIPersonPopupMenu::onCmdShowWalkingareaPath(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStopTrack(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStopTrack(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdSwitchTLS2Off(), GUITrafficLightLogicWrapper::GUITrafficLightLogicWrapperPopupMenu::onCmdSwitchTLSLogic(), GNEViewNet::SelectingArea::processSelection(), LayeredRTree::selectLayer(), setAttribute(), GUISelectedStorage::toggleSelection(), and GNEViewNet::ObjectsUnderCursor::updateObjectUnderCursor().
|
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 GUIVehicle, GUIBaseVehicle, GUIMEVehicle, GUIPerson, and GUIContainer.
Definition at line 134 of file GUIGlObject.cpp.
References UNUSED_PARAMETER.
Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().
|
inlineinherited |
Increarse reference.
Definition at line 70 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), GNEReferenceCounter::myCount, toString(), and UNUSED_PARAMETER.
Referenced by GNEEdge::addLane(), GNENet::addPOI(), GNENet::addPolygon(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildCalibratorRoute(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE2(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::builDestProbReroute(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNEAdditionalHandler::buildVehicleType(), GNEAdditionalHandler::builParkingAreaReroute(), GNENet::computeEverything(), GNEChange_Attribute::GNEChange_Attribute(), GNENet::GNENet(), rebuildGNECrossings(), GNENet::registerEdge(), GNENet::registerJunction(), GNEEdge::remakeGNEConnections(), and GNEInspectorFrame::TemplateEditor::setEdgeTemplate().
| void GNEJunction::invalidateShape | ( | ) |
Definition at line 638 of file GNEJunction.cpp.
References NBNode::hasCustomShape(), myNBNode, GNENetElement::myNet, NBNode::myPoly, and GNENet::requireRecompute().
Referenced by GNEEdge::editEndpoint(), GNEEdge::resetEndpoint(), GNEEdge::setAttribute(), and GNEEdge::setGeometry().
| void GNEJunction::invalidateTLS | ( | GNEUndoList * | undoList, |
| const NBConnection & | deletedConnection = NBConnection::InvalidConnection, |
||
| const NBConnection & | addedConnection = NBConnection::InvalidConnection |
||
| ) |
Definition at line 804 of file GNEJunction.cpp.
References NBLoadedSUMOTLDef::addConnection(), NBNode::getControllingTLS(), NBConnection::getFrom(), NBConnection::getFromLane(), Named::getID(), NBLoadedSUMOTLDef::getLogic(), NBTrafficLightDefinition::getNodes(), NBTrafficLightDefinition::getOffset(), NBTrafficLightDefinition::getProgramID(), NBConnection::getTLIndex(), NBConnection::getTo(), NBConnection::getToLane(), NBTrafficLightDefinition::getType(), GNEAttributeCarrier::GNEChange_Attribute, GNEChange_TLS, GNEUndoList::hasCommandGroup(), NBConnection::InvalidConnection, NBConnection::InvalidTlIndex, myGNECrossings, myNBNode, GNENetElement::myNet, NBLoadedSUMOTLDef::removeConnection(), GNENet::retrieveJunction(), NBTrafficLightDefinition::setProgramID(), SUMO_ATTR_TLLINKINDEX, SUMO_ATTR_TLLINKINDEX2, and toString().
Referenced by GNENet::deleteConnection(), GNEConnectorFrame::handleLaneClick(), and setLogicValid().
|
virtualinherited |
check if attribute carrier is selected
Implements GNEAttributeCarrier.
Definition at line 167 of file GNENetElement.cpp.
References GNEAttributeCarrier::mySelected.
Referenced by GNEEdge::addLane(), GNENet::deleteConnection(), GNENet::deleteCrossing(), GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), drawGL(), GNECrossing::drawGL(), GNELane::drawGL(), GNEConnection::drawGL(), GNEEdge::drawGL(), GNECrossing::getAttribute(), GNEConnection::getAttribute(), GNELane::getAttribute(), getAttribute(), GNEEdge::getAttribute(), GNELane::getColorValue(), getColorValue(), GNELane::getPopUpMenu(), GNETLSEditorFrame::handleMultiChange(), mouseOverObject(), GNEViewNet::onCmdClearConnections(), GNEViewNet::onCmdDuplicateLane(), GNEViewNet::onCmdResetConnections(), GNEViewNet::onCmdResetJunctionShape(), GNEViewNet::onCmdResetLaneCustomShape(), GNEViewNet::onCmdSmoothEdges(), GNEViewNet::onCmdSmoothEdgesElevation(), GNEViewNet::onCmdStraightenEdges(), GNEViewNet::onCmdStraightenEdgesElevation(), GNEViewNet::onLeftBtnPress(), rebuildGNECrossings(), GNENet::registerEdge(), GNENet::registerJunction(), GNEEdge::removeConnection(), GNEEdge::removeLane(), setColor(), and GNELane::setLaneColor().
|
staticinherited |
check if given string can be parsed to a map/list of generic parameters
Definition at line 905 of file GNEAttributeCarrier.cpp.
References StringTokenizer::hasNext(), SUMOXMLDefinitions::isValidGenericParameterKey(), SUMOXMLDefinitions::isValidGenericParameterValue(), and StringTokenizer::next().
Referenced by GNEChargingStation::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorE1::isValid(), GNEDetectorEntry::isValid(), GNEDetectorExit::isValid(), GNEContainerStop::isValid(), GNEBusStop::isValid(), GNEParkingArea::isValid(), GNEDetectorE2::isValid(), GNEVaporizer::isValid(), GNERouteProbe::isValid(), GNEDetectorE3::isValid(), GNECrossing::isValid(), GNEDestProbReroute::isValid(), GNERerouterInterval::isValid(), GNERouteProbReroute::isValid(), GNEClosingReroute::isValid(), GNEClosingLaneReroute::isValid(), GNEParkingAreaReroute::isValid(), GNECalibratorRoute::isValid(), GNEVariableSpeedSign::isValid(), GNEVariableSpeedSignStep::isValid(), GNERerouter::isValid(), GNEAccess::isValid(), GNECalibratorFlow::isValid(), GNEParkingSpace::isValid(), GNECalibratorVehicleType::isValid(), GNECalibrator::isValid(), GNEConnection::isValid(), GNEPoly::isValid(), GNELane::isValid(), GNEPOI::isValid(), isValid(), GNEEdge::isValid(), and GNEFrame::GenericParametersEditor::onCmdSetGenericParameter().
| bool GNEJunction::isLogicValid | ( | ) |
whether this junction has a valid logic
Definition at line 879 of file GNEJunction.cpp.
References myHasValidLogic.
Referenced by GNELane::drawGL().
|
virtual |
Implements GNENetElement.
Definition at line 1096 of file GNEJunction.cpp.
References GNEAttributeCarrier::getTag(), GNE_ATTR_GENERIC, GNE_ATTR_SELECTED, StringBijection< T >::hasString(), GNEAttributeCarrier::isGenericParametersValid(), NBNode::isTLControlled(), SUMOXMLDefinitions::isValidNetID(), myNBNode, GNENetElement::myNet, SUMOXMLDefinitions::NodeTypes, GeomConvHelper::parseShapeReporting(), GNENet::retrieveJunction(), SUMO_ATTR_ID, SUMO_ATTR_KEEP_CLEAR, SUMO_ATTR_POSITION, SUMO_ATTR_RADIUS, SUMO_ATTR_SHAPE, SUMO_ATTR_TLID, SUMO_ATTR_TLTYPE, SUMO_ATTR_TYPE, toString(), and SUMOXMLDefinitions::TrafficLightTypes.
Referenced by commitGeometryMoving().
| void GNEJunction::markAsCreateEdgeSource | ( | ) |
marks as first junction in createEdge-mode
Definition at line 465 of file GNEJunction.cpp.
References myAmCreateEdgeSource.
Referenced by GNEViewNet::onLeftBtnPress().
| void GNEJunction::markAsModified | ( | GNEUndoList * | undoList | ) |
prevent re-guessing connections at this junction
Definition at line 793 of file GNEJunction.cpp.
References GNEAttributeCarrier::FEATURE_MODIFIED, Named::getID(), NBNode::getIncomingEdges(), GNE_ATTR_MODIFICATION_STATUS, GNEAttributeCarrier::GNEChange_Attribute, myNBNode, GNENetElement::myNet, and GNENet::retrieveEdge().
Referenced by GNENet::deleteConnection().
| void GNEJunction::markConnectionsDeprecated | ( | bool | includingNeighbours | ) |
mark connections as deprecated
Definition at line 910 of file GNEJunction.cpp.
References myGNEIncomingEdges.
Referenced by setAttribute().
|
privatevirtual |
method for check if mouse is over objects
Implements GNENetElement.
Definition at line 1307 of file GNEJunction.cpp.
References PositionVector::area(), PositionVector::around(), BUBBLE_RADIUS, Position::distanceSquaredTo(), GUIVisualizationSettings::drawJunctionShape, GNEViewNet::getACUnderCursor(), GUIVisualizationSizeSettings::getExaggeration(), NBNode::getPosition(), GUISUMOAbstractView::getPositionInformation(), NBNode::getShape(), GNENet::getViewNet(), GNENetElement::isAttributeCarrierSelected(), GUIVisualizationSettings::junctionSize, myNBNode, GNENetElement::myNet, GUIVisualizationSettings::selectionScale, GNEViewNet::setACUnderCursor(), and GNEViewNet::showJunctionAsBubbles().
change the position of the element geometry without saving in undoList
| [in] | oldPos | old position before start moving |
Definition at line 567 of file GNEJunction.cpp.
References Position::add(), getJunctionNeighbours(), NBNode::getPosition(), moveJunctionGeometry(), and myNBNode.
Referenced by GNEViewNet::mergeJunctions(), and GNEViewNet::onMouseMove().
|
private |
reposition the node at pos and informs the edges
| [in] | pos | The new position |
Definition at line 1390 of file GNEJunction.cpp.
References NBNode::getEdges(), getNBNode(), NBNode::getPosition(), NBNode::getType(), myNBNode, GNENetElement::myNet, NBNode::reinit(), GNENet::retrieveEdge(), and updateShapesAndGeometries().
Referenced by commitGeometryMoving(), moveGeometry(), and setAttribute().
|
privatedelete |
Invalidated assignment operator.
|
staticinherited |
parses a value of type T from string (used for basic types: int, double, bool, etc.)
Referenced by GNEAttributeCarrier::canParse(), and GNECalibratorRoute::isValid().
|
staticinherited |
parses a complex value of type T from string (use for list of edges, list of lanes, etc.)
|
inherited |
Definition at line 589 of file GNEAttributeCarrier.cpp.
References TplConvert::_str2int().
|
inherited |
Definition at line 595 of file GNEAttributeCarrier.cpp.
References TplConvert::_str2double().
|
inherited |
Definition at line 601 of file GNEAttributeCarrier.cpp.
References TplConvert::_str2Bool().
|
inherited |
Definition at line 607 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 613 of file GNEAttributeCarrier.cpp.
References SumoVehicleClassStrings, and SVC_IGNORING.
|
inherited |
Definition at line 625 of file GNEAttributeCarrier.cpp.
References RGBColor::parseColor().
|
inherited |
Definition at line 631 of file GNEAttributeCarrier.cpp.
References GeomConvHelper::parseShapeReporting().
|
inherited |
Definition at line 647 of file GNEAttributeCarrier.cpp.
References SumoVehicleShapeStrings, and SVS_UNKNOWN.
|
inherited |
Definition at line 657 of file GNEAttributeCarrier.cpp.
References StringTokenizer::getVector().
|
inherited |
Definition at line 663 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 674 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 685 of file GNEAttributeCarrier.cpp.
|
inherited |
Definition at line 696 of file GNEAttributeCarrier.cpp.
References GNENet::retrieveEdge(), SUMO_ATTR_EDGES, SUMO_TAG_EDGE, and toString().
|
inherited |
Definition at line 714 of file GNEAttributeCarrier.cpp.
References GNENet::retrieveLane(), SUMO_ATTR_LANES, SUMO_TAG_LANE, and toString().
|
inlinestaticinherited |
Parse attribute from XML and show warnings if there are problems parsing it.
Definition at line 527 of file GNEAttributeCarrier.h.
References canParseVehicleClasses(), GNEAttributeCarrier::fillAttributeCarriers(), SUMOSAXAttributes::get(), GNEAttributeCarrier::getCircleResolution(), GNEAttributeCarrier::getTagProperties(), SUMOSAXAttributes::hasAttribute(), SUMOXMLDefinitions::isValidAttribute(), SUMOXMLDefinitions::isValidFilename(), SUMOXMLDefinitions::isValidNetID(), GNEAttributeCarrier::mouseOverObject(), GNEAttributeCarrier::setAttribute(), SUMO_ATTR_EDGES, SUMO_ATTR_GUISHAPE, SUMO_ATTR_ID, SUMO_ATTR_LANES, SUMO_ATTR_NAME, SUMO_ATTR_ROUTEPROBE, SUMO_ATTR_VCLASS, toString(), and WRITE_WARNING.
|
staticinherited |
parses a list of specific Attribute Carriers into a string of IDs
Referenced by GNEAttributeCarrier::canParse(), GNECalibratorRoute::getAttribute(), GNEVariableSpeedSign::getAttribute(), and GNERerouter::getAttribute().
|
inherited |
Definition at line 732 of file GNEAttributeCarrier.cpp.
References joinToString().
|
inherited |
Definition at line 743 of file GNEAttributeCarrier.cpp.
References joinToString().
|
staticinherited |
parse a string of booleans (1 0 1 1....) using AND operation
Definition at line 754 of file GNEAttributeCarrier.cpp.
Referenced by GNEAttributeCarrier::canParse(), and GNEInspectorFrame::AttributesEditor::AttributeInput::showAttribute().
|
private |
rebuilds crossing objects for this junction
Definition at line 124 of file GNEJunction.cpp.
References GNENet::addGLObjectIntoGrid(), NBNode::buildCrossingsAndWalkingAreas(), NBNode::getCrossingsIncludingInvalid(), GNENet::getNetBuilder(), NBNetBuilder::haveNetworkCrossings(), GNEReferenceCounter::incRef(), GNENetElement::isAttributeCarrierSelected(), myGNECrossings, myNBNode, GNENetElement::myNet, GNENet::removeGLObjectFromGrid(), retrieveGNECrossing(), GNENetElement::selectAttributeCarrier(), toString(), GNECrossing::updateGeometry(), and WRITE_DEBUG.
Referenced by GNEChange_Crossing::redo(), setLogicValid(), GNEChange_Crossing::undo(), and updateGeometry().
|
inherited |
remove additional child from this edge
Definition at line 96 of file GNENetElement.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTag(), GNENetElement::myAdditionalChilds, toString(), and GNENetElement::updateGeometry().
Referenced by GNEAdditional::changeEdge(), GNEAdditional::changeLane(), GNEChange_Additional::redo(), and GNEChange_Additional::undo().
|
inherited |
remove additional child from this edge
Definition at line 69 of file GNENetElement.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTag(), GNENetElement::myFirstAdditionalParents, toString(), and GNENetElement::updateGeometry().
| void GNEJunction::removeConnectionsFrom | ( | GNEEdge * | edge, |
| GNEUndoList * | undoList, | ||
| bool | updateTLS, | ||
| int | lane = -1 |
||
| ) |
remove all connections from the given edge
Definition at line 670 of file GNEJunction.cpp.
References GNENet::addExplicitTurnaround(), NBEdge::getConnections(), Named::getID(), GNEEdge::getNBEdge(), NBEdge::getTurnDestination(), GNENetElement::myNet, and removeTLSConnections().
Referenced by GNENet::deleteEdge(), GNENet::deleteLane(), and setLogicValid().
| void GNEJunction::removeConnectionsTo | ( | GNEEdge * | edge, |
| GNEUndoList * | undoList, | ||
| bool | updateTLS, | ||
| int | lane = -1 |
||
| ) |
remove all connections to the given edge
Definition at line 699 of file GNEJunction.cpp.
References GNENet::addExplicitTurnaround(), NBNode::getIncomingEdges(), GNEEdge::getNBEdge(), myNBNode, GNENetElement::myNet, removeTLSConnections(), and GNENet::retrieveEdge().
Referenced by GNENet::deleteEdge(), and GNENet::deleteLane().
| void GNEJunction::removeEdgeFromCrossings | ( | GNEEdge * | edge, |
| GNEUndoList * | undoList | ||
| ) |
removes the given edge from all pedestrian crossings
Definition at line 853 of file GNEJunction.cpp.
References GNENet::deleteCrossing(), GNEAttributeCarrier::getID(), GNEEdge::getNBEdge(), joinToString(), myGNECrossings, GNENetElement::myNet, and SUMO_ATTR_EDGES.
Referenced by GNENet::deleteEdge().
|
virtual |
remove generic parameter
Implements GNENetElement.
Definition at line 1141 of file GNEJunction.cpp.
References Parameterised::knowsParameter(), myNBNode, and Parameterised::unsetParameter().
| void GNEJunction::removeIncomingGNEEdge | ( | GNEEdge * | edge | ) |
remove incoming GNEEdge
Definition at line 401 of file GNEJunction.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTag(), myGNEEdges, myGNEIncomingEdges, SUMO_TAG_EDGE, and toString().
Referenced by GNENet::deleteSingleEdge(), and GNEEdge::setAttribute().
| void GNEJunction::removeOutgoingGNEEdge | ( | GNEEdge * | edge | ) |
remove outgoing GNEEdge
Definition at line 415 of file GNEJunction.cpp.
References GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTag(), myGNEEdges, myGNEOutgoingEdges, SUMO_TAG_EDGE, and toString().
Referenced by GNENet::deleteSingleEdge(), and GNEEdge::setAttribute().
|
inherited |
Lets this object know a parameter window showing the object's values was closed.
| [in] | w | The closed parameter window |
Definition at line 268 of file GUIGlObject.cpp.
References GUIGlObject::myParamWindows.
Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().
|
private |
remove the given connections from all traffic light definitions of this junction
Definition at line 728 of file GNEJunction.cpp.
References NBNode::getControllingTLS(), Named::getID(), NBLoadedSUMOTLDef::getLogic(), NBTrafficLightDefinition::getNodes(), GNEChange_TLS, myNBNode, GNENetElement::myNet, NBLoadedSUMOTLDef::removeConnection(), and GNENet::retrieveJunction().
Referenced by removeConnectionsFrom(), and removeConnectionsTo().
|
private |
removes a traffic light
Definition at line 1423 of file GNEJunction.cpp.
References NBTrafficLightLogicCont::extract(), NBTrafficLightDefinition::getNodes(), GNENet::getTLLogicCont(), myNBNode, GNENetElement::myNet, and NBNode::removeTrafficLight().
Referenced by GNEChange_TLS::redo(), and GNEChange_TLS::undo().
| void GNEJunction::replaceIncomingConnections | ( | GNEEdge * | which, |
| GNEEdge * | by, | ||
| GNEUndoList * | undoList | ||
| ) |
replace one edge by another in all tls connections
Definition at line 758 of file GNEJunction.cpp.
References NBEdge::getConnections(), NBNode::getControllingTLS(), Named::getID(), GNEEdge::getLanes(), NBLoadedSUMOTLDef::getLogic(), GNEEdge::getNBEdge(), NBTrafficLightDefinition::getNodes(), GNEChange_TLS, myNBNode, GNENetElement::myNet, NBLoadedSUMOTLDef::replaceRemoved(), and GNENet::retrieveJunction().
Referenced by GNENet::splitEdge().
| GNECrossing * GNEJunction::retrieveGNECrossing | ( | NBNode::Crossing * | crossing, |
| bool | createIfNoExist = true |
||
| ) |
get GNECrossing if exist, and if not create it if create is enabled
Definition at line 885 of file GNEJunction.cpp.
References GNENet::addGLObjectIntoGrid(), NBNode::Crossing::edges, GNEAttributeCarrier::getID(), GNEAttributeCarrier::getTag(), myGNECrossings, GNENetElement::myNet, toString(), GNECrossing::updateGeometry(), and WRITE_DEBUG.
Referenced by rebuildGNECrossings(), GNEChange_Crossing::redo(), and GNEChange_Crossing::undo().
|
virtualinherited |
select attribute carrier using GUIGlobalSelection
Implements GNEAttributeCarrier.
Definition at line 141 of file GNENetElement.cpp.
References GUIGlObject::getGlID(), gSelected, GNENetElement::myNet, GNEAttributeCarrier::mySelected, and GUISelectedStorage::select().
Referenced by GNEEdge::addConnection(), GNEEdge::addLane(), rebuildGNECrossings(), GNEChange_Crossing::redo(), GNENet::registerEdge(), GNENet::registerJunction(), GNECrossing::setAttribute(), GNEConnection::setAttribute(), GNELane::setAttribute(), setAttribute(), GNEEdge::setAttribute(), and GNEChange_Crossing::undo().
| void GNEJunction::selectTLS | ( | bool | selected | ) |
notify the junction of being selected in tls-mode. (used to control drawing)
Definition at line 477 of file GNEJunction.cpp.
References myAmTLSSelected.
Referenced by GNETLSEditorFrame::cleanup(), and GNETLSEditorFrame::editJunction().
|
virtual |
Implements GNENetElement.
Definition at line 970 of file GNEJunction.cpp.
References getAttribute(), NBNode::getControllingTLS(), getNBNode(), NBTrafficLightDefinition::getNodes(), NBTrafficLightLogicCont::getPrograms(), GNEAttributeCarrier::getTag(), GNENet::getTLLogicCont(), GUIGlObject::getType(), GNE_ATTR_GENERIC, GNE_ATTR_MODIFICATION_STATUS, GNE_ATTR_SELECTED, GNEAttributeCarrier::GNEChange_Attribute, GNEChange_TLS, NBNode::isTrafficLight(), NBLoadedSUMOTLDef::joinLogic(), myGNEIncomingEdges, myNBNode, GNENetElement::myNet, NODETYPE_TRAFFIC_LIGHT_RIGHT_ON_RED, SUMOXMLDefinitions::NodeTypes, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNENet::retrieveJunction(), Named::setID(), SUMO_ATTR_ID, SUMO_ATTR_KEEP_CLEAR, SUMO_ATTR_POSITION, SUMO_ATTR_RADIUS, SUMO_ATTR_SHAPE, SUMO_ATTR_TLID, SUMO_ATTR_TLTYPE, SUMO_ATTR_TYPE, SUMO_TAG_TRAFFIC_LIGHT, and toString().
Referenced by GNENet::addReversedEdge(), GNETLSEditorFrame::TLSFile::checkTLSValids(), GNENet::deleteEdge(), GNENet::deleteJunction(), GNENet::joinSelectedJunctions(), GNENet::mergeJunctions(), GNETLSEditorFrame::onCmdDefCreate(), GNETLSEditorFrame::onCmdDefDelete(), and GNEViewNet::onCmdResetJunctionShape().
|
privatevirtual |
method for setting the attribute and nothing else (used in GNEChange_Attribute)
Implements GNENetElement.
Definition at line 1236 of file GNEJunction.cpp.
References GNEAttributeCarrier::FEATURE_GUESSED, StringBijection< T >::get(), NBNode::getControllingTLS(), NBNode::getPosition(), GNEAttributeCarrier::getTag(), GNE_ATTR_GENERIC, GNE_ATTR_MODIFICATION_STATUS, GNE_ATTR_SELECTED, NBNode::invalidateIncomingConnections(), markConnectionsDeprecated(), moveJunctionGeometry(), myGNEIncomingEdges, myLogicStatus, myNBNode, GNENetElement::myNet, SUMOXMLDefinitions::NodeTypes, GeomConvHelper::parseShapeReporting(), NBNode::reinit(), GNENet::renameJunction(), GNENetElement::selectAttributeCarrier(), NBNode::setCustomShape(), setGenericParametersStr(), NBNode::setKeepClear(), NBNode::setRadius(), SUMO_ATTR_ID, SUMO_ATTR_KEEP_CLEAR, SUMO_ATTR_POSITION, SUMO_ATTR_RADIUS, SUMO_ATTR_SHAPE, SUMO_ATTR_TLTYPE, SUMO_ATTR_TYPE, toString(), SUMOXMLDefinitions::TrafficLightTypes, GNENetElement::unselectAttributeCarrier(), and updateGeometry().
|
private |
sets junction color depending on circumstances
Definition at line 1403 of file GNEJunction.cpp.
References GUIPropertySchemeStorage< T >::getActive(), GUIPropertyScheme< T >::getColor(), getColorValue(), GUIPropertySchemeStorage< T >::getScheme(), GNENetElement::isAttributeCarrierSelected(), GUIVisualizationSettings::junctionColorer, myAmCreateEdgeSource, GNENet::selectionColor, and GLHelper::setColor().
Referenced by drawGL().
|
virtual |
set generic parameters in string format
Implements GNENetElement.
Definition at line 1202 of file GNEJunction.cpp.
References Parameterised::clearParameter(), StringTokenizer::hasNext(), SUMOXMLDefinitions::isValidGenericParameterKey(), SUMOXMLDefinitions::isValidGenericParameterValue(), myNBNode, StringTokenizer::next(), and Parameterised::setParameter().
Referenced by setAttribute().
| void GNEJunction::setLogicValid | ( | bool | valid, |
| GNEUndoList * | undoList, | ||
| const std::string & | status = FEATURE_GUESSED |
||
| ) |
Definition at line 647 of file GNEJunction.cpp.
References NBTurningDirectionsComputer::computeTurnDirectionsForNode(), NBNode::getIncomingEdges(), GNE_ATTR_MODIFICATION_STATUS, GNEAttributeCarrier::GNEChange_Attribute, GNEUndoList::hasCommandGroup(), invalidateTLS(), myHasValidLogic, myNBNode, GNENetElement::myNet, rebuildGNECrossings(), removeConnectionsFrom(), and GNENet::retrieveEdge().
Referenced by GNENet::createEdge(), GNENet::deleteEdge(), GNENet::deleteLane(), GNENet::resetJunctionConnections(), GNEEdge::setAttribute(), GNEEdge::setNumLanes(), and GNENet::splitJunction().
|
virtualinherited |
Changes the microsimID of the object.
Reimplemented in GNEEdge.
Definition at line 148 of file GUIGlObject.cpp.
References GUIGlObject::createFullName(), GUIGlObject::myFullName, and GUIGlObject::myMicrosimID.
Referenced by GNEAdditional::changeAdditionalID(), GNENet::renameJunction(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNELane::setIndex(), GNEEdge::setMicrosimID(), and GNEConnection::updateID().
| void GNEJunction::setResponsible | ( | bool | newVal | ) |
set responsibility for deleting internal strctures
Definition at line 1227 of file GNEJunction.cpp.
References myAmResponsible.
Referenced by GNENet::deleteSingleJunction(), and GNENet::registerJunction().
| void GNEJunction::startGeometryMoving | ( | bool | extendToNeighbors = true | ) |
begin movement (used when user click over edge to start a movement, to avoid problems with problems with GL Tree)
Definition at line 483 of file GNEJunction.cpp.
References getCenteringBoundary(), myGNEEdges, and GNENetElement::myMovingGeometryBoundary.
Referenced by GNEViewNet::onLeftBtnPress().
| void GNEJunction::unMarkAsCreateEdgeSource | ( | ) |
removes mark as first junction in createEdge-mode
Definition at line 471 of file GNEJunction.cpp.
References myAmCreateEdgeSource.
Referenced by GNEViewNet::abortOperation(), and GNEViewNet::onLeftBtnPress().
|
inlineinherited |
check if object ins't referenced
Definition at line 81 of file GNEReferenceCounter.h.
References GNEReferenceCounter::getID(), and GNEReferenceCounter::myCount.
Referenced by GNEEdge::removeConnection(), GNEEdge::removeLane(), GNEInspectorFrame::TemplateEditor::setEdgeTemplate(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_Shape::~GNEChange_Shape(), GNEChange_TLS::~GNEChange_TLS(), and GNEInspectorFrame::TemplateEditor::~TemplateEditor().
|
virtualinherited |
unselect attribute carrier using GUIGlobalSelection
Implements GNEAttributeCarrier.
Definition at line 154 of file GNENetElement.cpp.
References GUISelectedStorage::deselect(), GUIGlObject::getGlID(), gSelected, GNENetElement::myNet, and GNEAttributeCarrier::mySelected.
Referenced by GNENet::deleteSingleEdge(), GNENet::deleteSingleJunction(), GNEEdge::removeConnection(), GNEEdge::removeLane(), GNECrossing::setAttribute(), GNEConnection::setAttribute(), GNELane::setAttribute(), setAttribute(), and GNEEdge::setAttribute().
|
virtual |
update generic parameter
Implements GNENetElement.
Definition at line 1152 of file GNEJunction.cpp.
References Parameterised::getParameter(), Parameterised::knowsParameter(), myNBNode, Parameterised::setParameter(), and Parameterised::unsetParameter().
|
virtual |
update value generic parameter
Implements GNENetElement.
Definition at line 1165 of file GNEJunction.cpp.
References Parameterised::knowsParameter(), myNBNode, and Parameterised::setParameter().
|
virtual |
Update the boundary of the junction.
Implements GNENetElement.
Definition at line 100 of file GNEJunction.cpp.
References Boundary::add(), GNENet::addGLObjectIntoGrid(), PositionVector::getBoxBoundary(), Boundary::getHeight(), NBNode::getPosition(), NBNode::getShape(), Boundary::getWidth(), MAX2(), myJunctionBoundary, myMaxSize, myNBNode, GNENetElement::myNet, rebuildGNECrossings(), GNENet::removeGLObjectFromGrid(), Position::x(), and Position::y().
Referenced by endGeometryMoving(), GNENet::registerJunction(), GNECrossing::setAttribute(), GNEEdge::setAttribute(), setAttribute(), and updateShapesAndGeometries().
| void GNEJunction::updateShapesAndGeometries | ( | bool | updateGrid | ) |
update shapes of all elements associated to the junction
Definition at line 598 of file GNEJunction.cpp.
References GNENet::getViewNet(), myGNEEdges, GNENetElement::myNet, and updateGeometry().
Referenced by moveJunctionGeometry().
|
friend |
Definition at line 52 of file GNEJunction.h.
|
friend |
Declare friend class.
Definition at line 51 of file GNEJunction.h.
Referenced by invalidateTLS(), removeTLSConnections(), replaceIncomingConnections(), and setAttribute().
|
static |
constant values for drawing buubles
Definition at line 56 of file GNEJunction.h.
Referenced by GNEEdge::commitShapeChange(), drawGL(), and mouseOverObject().
|
staticinherited |
feature has been approved but not changed (i.e. after being reguessed)
Definition at line 416 of file GNEAttributeCarrier.h.
|
staticinherited |
feature has been reguessed (may still be unchanged be we can't tell (yet)
Definition at line 410 of file GNEAttributeCarrier.h.
Referenced by setAttribute(), and GNEEdge::setAttribute().
|
staticinherited |
Definition at line 407 of file GNEAttributeCarrier.h.
|
staticinherited |
feature has been manually modified (implies approval)
Definition at line 413 of file GNEAttributeCarrier.h.
Referenced by markAsModified(), and GNEConnectorFrame::onCmdClearSelectedConnections().
|
staticinherited |
Definition at line 70 of file GUIGlObject.h.
Referenced by GUISUMOAbstractView::getTrackedID(), GUISUMOAbstractView::paintGL(), and GUIViewTraffic::stopTrack().
|
staticinherited |
default value for invalid positions (used by POIs and Polygons)
Definition at line 523 of file GNEAttributeCarrier.h.
|
protectedinherited |
list of Additional Childs of this NetElement
Definition at line 201 of file GNENetElement.h.
Referenced by GNENetElement::addAdditionalChild(), GNELane::endGeometryMoving(), GNEEdge::endGeometryMoving(), GNENetElement::getAdditionalChilds(), GNEEdge::getRouteProbeRelativePosition(), GNENetElement::removeAdditionalChild(), GNELane::startGeometryMoving(), GNEEdge::startGeometryMoving(), GNEEdge::updateGeometry(), and GNELane::updateGeometry().
|
staticprotectedinherited |
map with the tags values
Definition at line 757 of file GNEAttributeCarrier.h.
Referenced by GNEAttributeCarrier::allowedAdditionalTags(), GNEAttributeCarrier::allowedNetElementsTags(), GNEAttributeCarrier::allowedShapeTags(), GNEAttributeCarrier::allowedTags(), GNEAttributeCarrier::fillAttributeCarriers(), GNEAttributeCarrier::getHigherNumberOfAttributes(), GNEAttributeCarrier::getIcon(), and GNEAttributeCarrier::getTagProperties().
|
private |
whether this junction is the first junction for a newly creatededge
Definition at line 287 of file GNEJunction.h.
Referenced by markAsCreateEdgeSource(), setColor(), and unMarkAsCreateEdgeSource().
|
private |
whether we are responsible for deleting myNBNode
Definition at line 293 of file GNEJunction.h.
Referenced by setResponsible(), and ~GNEJunction().
|
private |
whether this junction is selected in tls-mode
Definition at line 299 of file GNEJunction.h.
Referenced by drawGL(), and selectTLS().
|
protectedinherited |
list of Additional parents of this NetElement
Definition at line 198 of file GNENetElement.h.
Referenced by GNENetElement::addAdditionalParent(), GNELane::endGeometryMoving(), GNEEdge::endGeometryMoving(), GNENetElement::getAdditionalParents(), GNENetElement::removeAdditionalParent(), GNEEdge::removeEdgeOfAdditionalParents(), GNELane::removeLaneOfAdditionalParents(), GNELane::startGeometryMoving(), GNEEdge::startGeometryMoving(), GNEEdge::updateGeometry(), and GNELane::updateGeometry().
|
private |
the built crossing objects
Definition at line 302 of file GNEJunction.h.
Referenced by drawGL(), getGNECrossings(), invalidateTLS(), rebuildGNECrossings(), removeEdgeFromCrossings(), retrieveGNECrossing(), and ~GNEJunction().
|
private |
vector with the GNEEdges vinculated with this junction
Definition at line 274 of file GNEJunction.h.
Referenced by addIncomingGNEEdge(), addOutgoingGNEEdge(), endGeometryMoving(), getGNEEdges(), removeIncomingGNEEdge(), removeOutgoingGNEEdge(), startGeometryMoving(), and updateShapesAndGeometries().
|
private |
vector with the incomings GNEEdges vinculated with this junction
Definition at line 277 of file GNEJunction.h.
Referenced by addIncomingGNEEdge(), getAttribute(), getGNEConnections(), getGNEIncomingEdges(), getJunctionNeighbours(), markConnectionsDeprecated(), removeIncomingGNEEdge(), and setAttribute().
|
private |
vector with the outgoings GNEEdges vinculated with this junction
Definition at line 280 of file GNEJunction.h.
Referenced by addOutgoingGNEEdge(), getGNEOutgoingEdges(), getJunctionNeighbours(), and removeOutgoingGNEEdge().
|
private |
whether this junctions logic is valid
Definition at line 296 of file GNEJunction.h.
Referenced by isLogicValid(), and setLogicValid().
|
private |
junction boundary
Definition at line 271 of file GNEJunction.h.
Referenced by getBoundary(), getCenteringBoundary(), GNEJunction(), and updateGeometry().
|
private |
modification status of the junction logic (all connections across this junction)
Definition at line 290 of file GNEJunction.h.
Referenced by getAttribute(), and setAttribute().
|
private |
The maximum size (in either x-, or y-dimension) for determining whether to draw or not.
Definition at line 283 of file GNEJunction.h.
Referenced by drawGL(), and updateGeometry().
|
protectedinherited |
boundary used during moving of elements
Definition at line 195 of file GNENetElement.h.
Referenced by GNEEdge::endGeometryMoving(), endGeometryMoving(), getCenteringBoundary(), GNEEdge::getCenteringBoundary(), GNEEdge::startGeometryMoving(), and startGeometryMoving().
|
private |
A reference to the represented junction.
Definition at line 268 of file GNEJunction.h.
Referenced by addGenericParameter(), addTrafficLight(), commitGeometryMoving(), drawGL(), getAttribute(), getColorValue(), getGenericParameters(), getGenericParametersStr(), getNBNode(), getPopUpMenu(), getPositionInView(), GNEJunction(), invalidateShape(), invalidateTLS(), isValid(), markAsModified(), mouseOverObject(), moveGeometry(), moveJunctionGeometry(), rebuildGNECrossings(), removeConnectionsTo(), removeGenericParameter(), removeTLSConnections(), removeTrafficLight(), replaceIncomingConnections(), setAttribute(), setGenericParametersStr(), setLogicValid(), updateGenericParameter(), updateGenericParameterValue(), updateGeometry(), and ~GNEJunction().
|
protectedinherited |
the net to inform about updates
Definition at line 192 of file GNENetElement.h.
Referenced by GNEEdge::addLane(), addTrafficLight(), GNEEdge::clearGNEConnections(), GNEEdge::commitShapeChange(), GNEEdge::deleteGeometryPoint(), drawGL(), GNECrossing::drawGL(), GNELane::drawGL(), GNEConnection::drawGL(), GNEEdge::drawGL(), GNEEdge::endGeometryMoving(), endGeometryMoving(), GNENetElement::getNet(), GNEEdge::getOppositeEdge(), getPopUpMenu(), GNECrossing::getPopUpMenu(), GNELane::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNEEdge::getPopUpMenu(), invalidateShape(), invalidateTLS(), GNECrossing::isValid(), isValid(), GNEEdge::isValid(), markAsModified(), mouseOverObject(), GNEEdge::moveEntireShape(), moveJunctionGeometry(), GNELane::onDefault(), rebuildGNECrossings(), GNEEdge::remakeGNEConnections(), GNEEdge::removeConnection(), removeConnectionsFrom(), removeConnectionsTo(), removeEdgeFromCrossings(), GNEEdge::removeEdgeFromCrossings(), GNEEdge::removeLane(), removeTLSConnections(), removeTrafficLight(), replaceIncomingConnections(), GNEEdge::retrieveGNEConnection(), retrieveGNECrossing(), GNENetElement::selectAttributeCarrier(), GNECrossing::setAttribute(), setAttribute(), GNEConnection::setAttribute(), GNEEdge::setAttribute(), GNELane::setAttribute(), GNEEdge::setGeometry(), setLogicValid(), GNENetElement::unselectAttributeCarrier(), GNEConnection::updateGeometry(), GNECrossing::updateGeometry(), GNEEdge::updateGeometry(), GNELane::updateGeometry(), updateGeometry(), and updateShapesAndGeometries().
|
protectedinherited |
boolean to check if this AC is selected (instead of GUIGlObjectStorage)
Definition at line 754 of file GNEAttributeCarrier.h.
Referenced by GNEAccess::drawGL(), GNEShape::drawLockIcon(), GNEAdditional::drawLockIcon(), GNENetElement::isAttributeCarrierSelected(), GNEShape::isAttributeCarrierSelected(), GNEAdditional::isAttributeCarrierSelected(), GNENetElement::selectAttributeCarrier(), GNEShape::selectAttributeCarrier(), GNEAdditional::selectAttributeCarrier(), GNENetElement::unselectAttributeCarrier(), GNEShape::unselectAttributeCarrier(), and GNEAdditional::unselectAttributeCarrier().
|
protectedinherited |
the xml tag to which this attribute carrier corresponds
Definition at line 751 of file GNEAttributeCarrier.h.
Referenced by GNEAttributeCarrier::getIcon(), and GNEAttributeCarrier::getTag().
|
staticinherited |
associates object types with strings
Definition at line 69 of file GUIGlObject.h.
Referenced by GUIGlObject::createFullName(), and GNESelectorFrame::SelectionOperation::onCmdSave().