Eclipse SUMO - Simulation of Urban MObility
GNENet Class Reference

A NBNetBuilder extended by visualisation and editing capabilities. More...

#include <GNENet.h>

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

Public Member Functions

void addExplicitTurnaround (std::string id)
 add edge id to the list of explicit turnarounds More...
 
void addGLObjectIntoGrid (GNEAttributeCarrier *AC)
 add GL Object into net More...
 
bool addGreenVergeLane (GNEEdge *edge, int index, GNEUndoList *undoList)
 add restricted lane to edge More...
 
bool addRestrictedLane (SUMOVehicleClass vclass, GNEEdge *edge, int index, GNEUndoList *undoList)
 add restricted lane to edge More...
 
GNEEdgeaddReversedEdge (GNEEdge *edge, const bool disconnected, GNEUndoList *undoList)
 add reversed edge More...
 
void adjustPersonPlans (GNEUndoList *undoList)
 adjust person plans More...
 
void changeEdgeEndpoints (GNEEdge *edge, const std::string &newSourceID, const std::string &newDestID)
 modifies endpoins of the given edge More...
 
bool cleanInvalidCrossings (GNEUndoList *undoList)
 clear invalid crossings More...
 
void cleanInvalidDemandElements (GNEUndoList *undoList)
 clean invalid demand elements More...
 
void cleanUnusedRoutes (GNEUndoList *undoList)
 clean unused routes More...
 
void clearAdditionalElements (GNEUndoList *undoList)
 clear additionals More...
 
void clearDataElements (GNEUndoList *undoList)
 clear data elements More...
 
void clearDemandElements (GNEUndoList *undoList)
 clear demand elements More...
 
void clearJunctionConnections (GNEJunction *junction, GNEUndoList *undoList)
 clear junction's connections More...
 
void computeAndUpdate (OptionsCont &oc, bool volatileOptions)
 recompute the network and update lane geometries More...
 
void computeDataElements (GNEApplicationWindow *window)
 compute data elements param[in] window The window to inform about delay More...
 
void computeDemandElements (GNEApplicationWindow *window)
 compute demand elements param[in] window The window to inform about delay More...
 
void computeJunction (GNEJunction *junction)
 trigger recomputation of junction shape and logic param[in] window The window to inform about delay More...
 
void computeNetwork (GNEApplicationWindow *window, bool force=false, bool volatileOptions=false, std::string additionalPath="", std::string demandPath="", std::string dataPath="")
 trigger full netbuild computation param[in] window The window to inform about delay param[in] force Whether to force recomputation even if not needed param[in] volatileOptions enable or disable volatile options param[in] additionalPath path in which additionals were saved before recomputing with volatile options param[in] demandPath path in which demand elements were saved before recomputing with volatile options param[in] dataPath path in which data elements were saved before recomputing with volatile options More...
 
GNEEdgecreateEdge (GNEJunction *src, GNEJunction *dest, GNEEdge *edgeTemplate, GNEUndoList *undoList, const std::string &suggestedName="", bool wasSplit=false, bool allowDuplicateGeom=false, bool recomputeConnections=true)
 creates a new edge (unless an edge with the same geometry already exists) More...
 
GNEJunctioncreateJunction (const Position &pos, GNEUndoList *undoList)
 creates a new junction More...
 
void createRoundabout (GNEJunction *junction, GNEUndoList *undoList)
 transform the given junction into a roundabout More...
 
void deleteAdditional (GNEAdditional *additional, GNEUndoList *undoList)
 remove additional More...
 
void deleteConnection (GNEConnection *connection, GNEUndoList *undoList)
 remove connection More...
 
void deleteCrossing (GNECrossing *crossing, GNEUndoList *undoList)
 remove crossing More...
 
void deleteDataInterval (GNEDataInterval *dataInterval, GNEUndoList *undoList)
 remove data interval More...
 
void deleteDataSet (GNEDataSet *dataSet, GNEUndoList *undoList)
 remove data set More...
 
void deleteDemandElement (GNEDemandElement *demandElement, GNEUndoList *undoList)
 remove demand element More...
 
void deleteEdge (GNEEdge *edge, GNEUndoList *undoList, bool recomputeConnections)
 removes edge More...
 
void deleteGenericData (GNEGenericData *genericData, GNEUndoList *undoList)
 remove generic data More...
 
void deleteJunction (GNEJunction *junction, GNEUndoList *undoList)
 removes junction and all incident edges More...
 
void deleteLane (GNELane *lane, GNEUndoList *undoList, bool recomputeConnections)
 removes lane More...
 
void deleteNetworkElement (GNENetworkElement *networkElement, GNEUndoList *undoList)
 delete network element 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, bool forceShow=false) const
 draw name of item More...
 
void duplicateLane (GNELane *lane, GNEUndoList *undoList, bool recomputeConnections)
 duplicates lane More...
 
FXApp * getApp ()
 get pointer to the main App More...
 
GNENetHelper::AttributeCarriersgetAttributeCarriers () const
 get all attribute carriers used in this net More...
 
const BoundarygetBoundary () const
 returns the bounder of the network More...
 
double getDataSetIntervalMaximumEnd () const
 get maximum interval More...
 
double getDataSetIntervalMinimumBegin () const
 get minimum interval More...
 
NBEdgeContgetEdgeCont ()
 returns the NBEdgeCont of the underlying netbuilder More...
 
const std::map< std::string, int > & getEdgesAndNumberOfLanes () const
 et edges and number of lanes More...
 
SUMORTreegetGrid ()
 Returns the RTree used for visualisation speed-up. More...
 
NBNetBuildergetNetBuilder () const
 get net builder More...
 
int getNumberOfTLSPrograms () const
 get number of TLS Programs More...
 
GNEPathManagergetPathManager ()
 get path manager More...
 
NBTrafficLightLogicContgetTLLogicCont ()
 returns the tllcont of the underlying netbuilder More...
 
GNEViewNetgetViewNet () const
 get view net More...
 
 GNENet (NBNetBuilder *netBuilder)
 Constructor. More...
 
void initGNEConnections ()
 initialize GNEConnections More...
 
bool isAdditionalsSaved () const
 check if additionals are saved More...
 
bool isDataElementsSaved () const
 check if data sets are saved More...
 
bool isDemandElementsSaved () const
 check if demand elements are saved More...
 
bool isNetRecomputed () const
 check if net require recomputing More...
 
bool isNetSaved () const
 return if net has to be saved More...
 
void joinRoutes (GNEUndoList *undoList)
 join routes More...
 
bool joinSelectedJunctions (GNEUndoList *undoList)
 join selected junctions More...
 
void mergeJunctions (GNEJunction *moved, GNEJunction *target, GNEUndoList *undoList)
 merge the given junctions edges between the given junctions will be deleted More...
 
virtual void onLeftBtnPress (void *)
 notify object about left click More...
 
virtual void removeActiveAddVisualisation (GUISUMOAbstractView *const, int)
 remove additional user-griggered visualisations More...
 
void removeExplicitTurnaround (std::string id)
 remove edge id from the list of explicit turnarounds More...
 
void removeGLObjectFromGrid (GNEAttributeCarrier *AC)
 add GL Object into net More...
 
bool removeRestrictedLane (SUMOVehicleClass vclass, GNEEdge *edge, GNEUndoList *undoList)
 remove restricted lane More...
 
void removeSolitaryJunctions (GNEUndoList *undoList)
 removes junctions that have no edges More...
 
void replaceIncomingEdge (GNEEdge *which, GNEEdge *by, GNEUndoList *undoList)
 replaces edge More...
 
void replaceJunctionByGeometry (GNEJunction *junction, GNEUndoList *undoList)
 replace the selected junction by geometry node(s) and merge the edges More...
 
void requireRecompute ()
 inform the net about the need for recomputation More...
 
void requireSaveAdditionals (bool value)
 inform that additionals has to be saved More...
 
void requireSaveDataElements (bool value)
 inform that data sets has to be saved More...
 
void requireSaveDemandElements (bool value)
 inform that demand elements has to be saved More...
 
void requireSaveNet (bool value)
 inform that net has to be saved More...
 
void requireSaveTLSPrograms ()
 inform that TLS Programs has to be saved More...
 
void resetJunctionConnections (GNEJunction *junction, GNEUndoList *undoList)
 reset junction's connections More...
 
bool restrictLane (SUMOVehicleClass vclass, GNELane *lane, GNEUndoList *undoList)
 transform lane to restricted lane More...
 
void reverseEdge (GNEEdge *edge, GNEUndoList *undoList)
 reverse edge More...
 
void saveAdditionals (const std::string &filename)
 save additional elements of the network More...
 
void saveDataElements (const std::string &filename)
 save data set elements of the network More...
 
void saveDemandElements (const std::string &filename)
 save demand element elements of the network More...
 
void saveEdgeTypes (const std::string &filename)
 save edgeTypes elements of the network More...
 
void saveJoined (OptionsCont &oc, const std::string &filename)
 save log of joined junctions (and nothing else) More...
 
void saveNetwork (OptionsCont &oc)
 save the network More...
 
void savePlain (OptionsCont &oc, const std::string &prefix)
 save plain xml representation of the network (and nothing else) More...
 
void saveTLSPrograms (const std::string &filename)
 save TLS Programs elements of the network More...
 
void selectRoundabout (GNEJunction *junction, GNEUndoList *undoList)
 select all roundabout edges and junctions for the current roundabout More...
 
void setViewNet (GNEViewNet *viewNet)
 Set the net to be notified of network changes. More...
 
GNEJunctionsplitEdge (GNEEdge *edge, const Position &pos, GNEUndoList *undoList, GNEJunction *newJunction=0)
 split edge at position by inserting a new junction More...
 
void splitEdgesBidi (GNEEdge *edge, GNEEdge *oppositeEdge, const Position &pos, GNEUndoList *undoList)
 split all edges at position by inserting one new junction More...
 
void splitJunction (GNEJunction *junction, bool reconnect, GNEUndoList *undoList)
 replace the selected junction by a list of junctions for each unique edge endpoint More...
 
 ~GNENet ()
 Destructor. More...
 
inherited from GUIGlObject
GUIGLObjectPopupMenugetPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own popup-menu. More...
 
GUIParameterTableWindowgetParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own parameter window. More...
 
double getExaggeration (const GUIVisualizationSettings &s) const
 return exaggeration associated with this GLObject More...
 
Boundary getCenteringBoundary () const
 Returns the boundary to which the view shall be centered in order to show the object. More...
 
void expandBoundary (const Boundary &newBoundary)
 expand boundary More...
 
const BoundarygetZBoundary () const
 Returns the Z boundary (stored in the x() coordinate) values of 0 do not affect the boundary. More...
 
void addZValueInBoundary (const double z)
 add Z in net boundary More...
 
void drawGL (const GUIVisualizationSettings &s) const
 Draws the object. More...
 
Functions related to Enable or disable update geometry of elements after insertion

enable update geometry of elements after inserting or removing an element in net

void enableUpdateGeometry ()
 
void disableUpdateGeometry ()
 disable update geometry of elements after inserting or removing an element in net More...
 
bool isUpdateGeometryEnabled () const
 check if update geometry after inserting or removing has to be updated More...
 
Functions related to Enable or disable update data of elements after insertion

enable update data elements after inserting or removing an element in net

void enableUpdateData ()
 
void disableUpdateData ()
 disable update data elements after inserting or removing an element in net More...
 
bool isUpdateDataEnabled () const
 check if update data after inserting or removing has to be updated More...
 
getter methods

Returns the full name appearing in the tool tip

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

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

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

Static Public Attributes

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

Protected Member Functions

void buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More...
 
void buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More...
 
void mouseWithinGeometry (const Position &pos, const double width, const double height, const double offsetX, const double offsetY, const double rot) const
 check if mouse is within elements geometry (for rectangles) More...
 
void mouseWithinGeometry (const Position center, const double radius) const
 check if mouse is within elements geometry (for circles) More...
 
void mouseWithinGeometry (const PositionVector shape) const
 check if mouse is within elements geometry (for filled shapes) More...
 
void mouseWithinGeometry (const PositionVector shape, const double width) const
 check if mouse is within elements geometry (for shapes) More...
 
void mouseWithinGeometry (const PositionVector shape, const double width, GUIGlObject *parent) const
 check if mouse is within elements geometry (for edges) 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, const GUIMainWindow &app) const
 Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. More...
 
void buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the manipulator window. More...
 

Protected Attributes

GNENetHelper::AttributeCarriersmyAttributeCarriers
 AttributeCarriers of net. More...
 
SUMORTree myGrid
 the rtree which contains all GUIGlObjects (so named for historical reasons) More...
 
NBNetBuildermyNetBuilder
 The internal netbuilder. More...
 
GNEPathManagermyPathManager
 Path manager. More...
 
GNEViewNetmyViewNet
 The net to be notified of about changes. More...
 

Private Member Functions

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

Private Attributes

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

Static Private Attributes

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

counters for junction/edge IDs

unsigned int myJunctionIDCounter
 
unsigned int myEdgeIDCounter
 
std::set< std::string > myExplicitTurnarounds
 list of edge ids for which turn-arounds must be added explicitly More...
 
bool myNeedRecompute
 whether the net needs recomputation More...
 
bool myNetSaved
 Flag to check if net has to be saved. More...
 
bool myAdditionalsSaved
 Flag to check if additionals has to be saved. More...
 
bool myTLSProgramsSaved
 Flag to check if shapes has to be saved. More...
 
bool myDemandElementsSaved
 Flag to check if demand elements has to be saved. More...
 
bool myDataElementsSaved
 Flag to check if data elements has to be saved. More...
 
bool myUpdateGeometryEnabled
 Flag to enable or disable update geometry of elements after inserting or removing element in net. More...
 
bool myUpdateDataEnabled
 Flag to enable or disable update data elements after inserting or removing element in net. More...
 
Boundary myZBoundary
 the z boundary (stored in the x-coordinate), values of 0 are ignored More...
 
std::map< std::string, int > myEdgesAndNumberOfLanes
 map with the Edges and their number of lanes More...
 
static const double Z_INITIALIZED = 1
 marker for whether the z-boundary is initialized More...
 
static const std::map< SumoXMLAttr, std::string > EMPTY_HEADER
 variable used for write headers in additional, demand and data elements More...
 
void initJunctionsAndEdges ()
 Init Junctions and edges. More...
 
bool checkJunctionPosition (const Position &pos)
 return true if there are already a Junction in the given position, false in other case More...
 
void saveAdditionalsConfirmed (const std::string &filename)
 save additionals after confirming invalid objects More...
 
void saveDemandElementsConfirmed (const std::string &filename)
 save demand elements after confirming invalid objects More...
 
void saveDataElementsConfirmed (const std::string &filename)
 save data elements after confirming invalid objects More...
 
void writeAdditionalByType (OutputDevice &device, const std::vector< SumoXMLTag > tags) const
 write additional element by type and sorted by ID More...
 
void writeDemandByType (OutputDevice &device, SumoXMLTag tag) const
 write demand element by type and sorted by ID More...
 
void writeRoutes (OutputDevice &device, const bool additionalFile) const
 write route sorted by ID More...
 
void writeVTypes (OutputDevice &device, const bool additionalFile) const
 write vTypes sorted by ID More...
 
bool writeVTypeComment (OutputDevice &device, const bool additionalFile) const
 write vType comment More...
 
bool writeRouteComment (OutputDevice &device, const bool additionalFile) const
 write route comment More...
 
bool writeRouteProbeComment (OutputDevice &device) const
 write routeProbe comment More...
 
bool writeCalibratorComment (OutputDevice &device) const
 write calibrator comment More...
 
bool writeStoppingPlaceComment (OutputDevice &device) const
 write stoppingPlace comment More...
 
bool writeDetectorComment (OutputDevice &device) const
 write detector comment More...
 
bool writeOtherAdditionalsComment (OutputDevice &device) const
 write other additional comment More...
 
bool writeShapesComment (OutputDevice &device) const
 write shape comment More...
 
bool writeTAZComment (OutputDevice &device) const
 write TAZ comment More...
 
bool writeWireComment (OutputDevice &device) const
 write Wire comment More...
 
 GNENet (const GNENet &)=delete
 Invalidated copy constructor. More...
 
GNENetoperator= (const GNENet &)=delete
 Invalidated assignment operator. More...
 
static void replaceInListAttribute (GNEAttributeCarrier *ac, SumoXMLAttr key, const std::string &which, const std::string &by, GNEUndoList *undoList)
 replace in list attribute More...
 

Detailed Description

A NBNetBuilder extended by visualisation and editing capabilities.

Definition at line 42 of file GNENet.h.

Constructor & Destructor Documentation

◆ GNENet() [1/2]

GNENet::GNENet ( NBNetBuilder netBuilder)

Constructor.

Parameters
[in]netbuilderthe netbuilder which may already have been filled GNENet becomes responsible for cleaning this up

Definition at line 87 of file GNENet.cpp.

References Boundary::add(), GUIGlObjectStorage::gIDStorage, initJunctionsAndEdges(), myZBoundary, GUIGlObjectStorage::setNetObject(), WRITE_GLDEBUG, Boundary::ymin(), and Z_INITIALIZED.

◆ ~GNENet()

GNENet::~GNENet ( )

Destructor.

Definition at line 120 of file GNENet.cpp.

References myAttributeCarriers, myNetBuilder, myPathManager, and WRITE_DEBUG.

◆ GNENet() [2/2]

GNENet::GNENet ( const GNENet )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ addExplicitTurnaround()

void GNENet::addExplicitTurnaround ( std::string  id)

add edge id to the list of explicit turnarounds

Definition at line 2005 of file GNENet.cpp.

References myExplicitTurnarounds.

Referenced by GNEJunction::removeConnectionsFrom(), and GNEJunction::removeConnectionsTo().

Here is the caller graph for this function:

◆ addGLObjectIntoGrid()

◆ addGreenVergeLane()

bool GNENet::addGreenVergeLane ( GNEEdge edge,
int  index,
GNEUndoList undoList 
)

add restricted lane to edge

Parameters
[in]edgeThe edge in which insert restricted lane
[in]indexto be changed
[in]undoListThe undolist in which to mark changes

Definition at line 823 of file GNENet.cpp.

References duplicateLane(), GNEEdge::getLanes(), MIN2(), restrictLane(), and SVC_IGNORING.

Referenced by GNEViewNet::addRestrictedLane().

Here is the caller graph for this function:

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow w)
inherited

Definition at line 363 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::GUIParameterTableWindow().

Here is the caller graph for this function:

◆ addRestrictedLane()

bool GNENet::addRestrictedLane ( SUMOVehicleClass  vclass,
GNEEdge edge,
int  index,
GNEUndoList undoList 
)

add restricted lane to edge

Parameters
[in]vclassvehicle class to restrict
[in]edgeThe edge in which insert restricted lane
[in]indexto be changed
[in]undoListThe undolist in which to mark changes

Definition at line 787 of file GNENet.cpp.

References duplicateLane(), GNEEdge::getLanes(), GNEEdge::getNBEdge(), NBEdge::getPermissions(), MIN2(), restrictLane(), SVC_BICYCLE, SVC_BUS, and SVC_PEDESTRIAN.

Referenced by GNEViewNet::addRestrictedLane().

Here is the caller graph for this function:

◆ addReversedEdge()

GNEEdge * GNENet::addReversedEdge ( GNEEdge edge,
const bool  disconnected,
GNEUndoList undoList 
)

add reversed edge

Parameters
[in]edgeThe edge of which to add the reverse
[in]disconnectedadd edge reversed or disconnected parallel
Returns
Return the new edge or 0

Definition at line 1007 of file GNENet.cpp.

References GNEUndoList::begin(), createEdge(), createJunction(), EDGE, GNEUndoList::end(), GNEEdge::getAttribute(), GNEEdge::getFromJunction(), NBEdge::getGeometry(), GNEAttributeCarrier::getID(), NBEdge::getInnerGeometry(), GNEEdge::getNBEdge(), GNEEdge::getToJunction(), NBEdge::getTotalWidth(), GNE_ATTR_SELECTED, GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, PositionVector::move2side(), PositionVector::reverse(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), SUMO_ATTR_SHAPE, SUMO_TAG_EDGE, and toString().

Referenced by GNEViewNet::onCmdAddReversedEdge(), and GNEViewNet::onCmdAddReversedEdgeDisconnected().

Here is the caller graph for this function:

◆ addZValueInBoundary()

void GNENet::addZValueInBoundary ( const double  z)

add Z in net boundary

Definition at line 212 of file GNENet.cpp.

References Boundary::add(), myZBoundary, and Z_INITIALIZED.

◆ adjustPersonPlans()

◆ buildAdditionalsPopupOptions()

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

◆ buildCenterPopupEntry()

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

Builds an entry which allows to center to the object.

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

Definition at line 280 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildNameCopyPopupEntry()

◆ buildPopupHeader()

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

Builds the header.

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

Definition at line 271 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildPositionCopyEntry()

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

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

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

Definition at line 330 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildSelectionPopupEntry()

◆ buildShapePopupOptions()

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

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

Definition at line 378 of file GUIGlObject.cpp.

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

Referenced by GUIPointOfInterest::getPopUpMenu().

Here is the caller graph for this function:

◆ buildShowManipulatorPopupEntry()

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

Builds an entry which allows to open the manipulator window.

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

Definition at line 354 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildShowParamsPopupEntry()

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

Builds an entry which allows to open the parameter window.

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

Definition at line 312 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildShowTypeParamsPopupEntry()

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

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

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

Definition at line 321 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ changeEdgeEndpoints()

void GNENet::changeEdgeEndpoints ( GNEEdge edge,
const std::string &  newSourceID,
const std::string &  newDestID 
)

modifies endpoins of the given edge

Definition at line 1978 of file GNENet.cpp.

References GNEEdge::getNBEdge(), GNEJunction::getNBNode(), myAttributeCarriers, NBEdge::reinitNodes(), requireRecompute(), and GNENetHelper::AttributeCarriers::retrieveJunction().

Referenced by GNEEdge::setAttribute().

Here is the caller graph for this function:

◆ checkJunctionPosition()

bool GNENet::checkJunctionPosition ( const Position pos)
private

return true if there are already a Junction in the given position, false in other case

Definition at line 1167 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getJunctions(), and myAttributeCarriers.

Referenced by joinSelectedJunctions().

Here is the caller graph for this function:

◆ cleanInvalidCrossings()

bool GNENet::cleanInvalidCrossings ( GNEUndoList undoList)

clear invalid crossings

Definition at line 1537 of file GNENet.cpp.

References GNEUndoList::begin(), deleteCrossing(), GNEUndoList::end(), getApp(), GNENetHelper::AttributeCarriers::getJunctions(), MODEDELETE, myAttributeCarriers, SUMO_TAG_CROSSING, toString(), and WRITE_DEBUG.

Referenced by GNEApplicationWindow::onCmdProcessButton().

Here is the caller graph for this function:

◆ cleanInvalidDemandElements()

void GNENet::cleanInvalidDemandElements ( GNEUndoList undoList)

clean invalid demand elements

Definition at line 1741 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getDemandElements(), MODEDELETE, myAttributeCarriers, GNEDemandElement::OK, SUMO_TAG_FLOW, SUMO_TAG_ROUTE, and SUMO_TAG_TRIP.

Referenced by GNEApplicationWindow::onCmdProcessButton().

Here is the caller graph for this function:

◆ cleanUnusedRoutes()

void GNENet::cleanUnusedRoutes ( GNEUndoList undoList)

clean unused routes

Definition at line 1606 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getDemandElements(), MODEDELETE, myAttributeCarriers, and SUMO_TAG_ROUTE.

Referenced by GNEApplicationWindow::onCmdProcessButton().

Here is the caller graph for this function:

◆ clearAdditionalElements()

void GNENet::clearAdditionalElements ( GNEUndoList undoList)

clear additionals

Definition at line 1941 of file GNENet.cpp.

References GNEUndoList::begin(), deleteAdditional(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getAdditionals(), MODEADDITIONAL, and myAttributeCarriers.

Referenced by GNEApplicationWindow::onCmdReloadAdditionals().

Here is the caller graph for this function:

◆ clearDataElements()

void GNENet::clearDataElements ( GNEUndoList undoList)

◆ clearDemandElements()

void GNENet::clearDemandElements ( GNEUndoList undoList)

clear demand elements

Definition at line 1954 of file GNENet.cpp.

References GNEUndoList::begin(), deleteDemandElement(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getDemandElements(), MODEDELETE, and myAttributeCarriers.

Referenced by GNEApplicationWindow::onCmdReloadDataElements(), and GNEApplicationWindow::onCmdReloadDemandElements().

Here is the caller graph for this function:

◆ clearJunctionConnections()

void GNENet::clearJunctionConnections ( GNEJunction junction,
GNEUndoList undoList 
)

clear junction's connections

Definition at line 1918 of file GNENet.cpp.

References GNEUndoList::begin(), deleteConnection(), GNEUndoList::end(), GNEJunction::getGNEConnections(), and MODEDELETE.

Referenced by GNEViewNet::onCmdClearConnections(), replaceJunctionByGeometry(), and resetJunctionConnections().

Here is the caller graph for this function:

◆ computeAndUpdate()

void GNENet::computeAndUpdate ( OptionsCont oc,
bool  volatileOptions 
)

◆ computeDataElements()

void GNENet::computeDataElements ( GNEApplicationWindow window)

compute data elements param[in] window The window to inform about delay

Definition at line 1345 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getGenericDatas(), myAttributeCarriers, and GNEApplicationWindow::setStatusBarText().

Referenced by saveDataElements().

Here is the caller graph for this function:

◆ computeDemandElements()

◆ computeJunction()

void GNENet::computeJunction ( GNEJunction junction)

trigger recomputation of junction shape and logic param[in] window The window to inform about delay

Definition at line 1358 of file GNENet.cpp.

References NBTrafficLightLogicCont::computeSingleLogic(), NBNode::getControllingTLS(), GNEJunction::getNBNode(), OptionsCont::getOptions(), and getTLLogicCont().

◆ computeNetwork()

void GNENet::computeNetwork ( GNEApplicationWindow window,
bool  force = false,
bool  volatileOptions = false,
std::string  additionalPath = "",
std::string  demandPath = "",
std::string  dataPath = "" 
)

trigger full netbuild computation param[in] window The window to inform about delay param[in] force Whether to force recomputation even if not needed param[in] volatileOptions enable or disable volatile options param[in] additionalPath path in which additionals were saved before recomputing with volatile options param[in] demandPath path in which demand elements were saved before recomputing with volatile options param[in] dataPath path in which data elements were saved before recomputing with volatile options

Definition at line 1269 of file GNENet.cpp.

References computeAndUpdate(), GNENetHelper::AttributeCarriers::getEdges(), OptionsCont::getOptions(), myAttributeCarriers, myEdgesAndNumberOfLanes, myNeedRecompute, GeneralHandler::parse(), GNEApplicationWindow::setStatusBarText(), UNUSED_PARAMETER, and WRITE_MESSAGE.

Referenced by GNEApplicationWindow::computeJunctionWithVolatileOptions(), GNEApplicationWindow::onCmdOpenTLSPrograms(), GNEApplicationWindow::onCmdProcessButton(), GNEApplicationWindow::onCmdReloadTLSPrograms(), GNEApplicationWindow::onCmdSaveAdditionals(), and GNEApplicationWindow::onCmdSaveTLSPrograms().

Here is the caller graph for this function:

◆ createEdge()

GNEEdge * GNENet::createEdge ( GNEJunction src,
GNEJunction dest,
GNEEdge edgeTemplate,
GNEUndoList undoList,
const std::string &  suggestedName = "",
bool  wasSplit = false,
bool  allowDuplicateGeom = false,
bool  recomputeConnections = true 
)

creates a new edge (unless an edge with the same geometry already exists)

Parameters
[in]srcThe starting junction
[in]destThe ending junction
[in]edgeTemplateThe template edge from which to copy attributes (including lane attrs)
[in]undoListThe undoList in which to mark changes
[in]suggestedName
[in]wasSplitWhether the edge was created from a split
[in]allowDuplicateGeomWhether to create the edge even though another edge with the same geometry exists
[in]recomputeConnectionsWhether connections on the affected junctions must be recomputed
Returns
The newly created edge or 0 if no edge was created

Definition at line 237 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), EDGE, GNEUndoList::end(), GNENetHelper::AttributeCarriers::getEdges(), OptionsCont::getFloat(), GNEAttributeCarrier::getID(), OptionsCont::getInt(), GNEEdge::getNBEdge(), GNEJunction::getNBNode(), OptionsCont::getOptions(), NBNode::getOutgoingEdges(), OptionsCont::getString(), myAttributeCarriers, myEdgeIDCounter, requireRecompute(), GNENetHelper::AttributeCarriers::retrieveEdge(), GNENetHelper::AttributeCarriers::retrieveEdges(), RIGHT, GNEJunction::setLogicValid(), SUMO_TAG_EDGE, toString(), StringUtils::trim(), NBEdge::UNSPECIFIED_FRICTION, NBEdge::UNSPECIFIED_OFFSET, and NBEdge::UNSPECIFIED_WIDTH.

Referenced by addReversedEdge(), createRoundabout(), GNECreateEdgeFrame::processClick(), reverseEdge(), splitEdge(), and splitJunction().

Here is the caller graph for this function:

◆ createFullName()

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

create full name

Definition at line 479 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ createJunction()

GNEJunction * GNENet::createJunction ( const Position pos,
GNEUndoList undoList 
)

creates a new junction

Parameters
[in]positionThe position of the new junction
[in]undoListThe undolist in which to mark changes
Returns
the new junction

Definition at line 221 of file GNENet.cpp.

References GNEUndoList::add(), GNENetHelper::AttributeCarriers::getJunctions(), OptionsCont::getOptions(), OptionsCont::getString(), myAttributeCarriers, myJunctionIDCounter, and toString().

Referenced by addReversedEdge(), joinSelectedJunctions(), GNECreateEdgeFrame::processClick(), splitEdge(), and splitJunction().

Here is the caller graph for this function:

◆ createRoundabout()

◆ deleteAdditional()

◆ deleteConnection()

void GNENet::deleteConnection ( GNEConnection connection,
GNEUndoList undoList 
)

◆ deleteCrossing()

◆ deleteDataInterval()

void GNENet::deleteDataInterval ( GNEDataInterval dataInterval,
GNEUndoList undoList 
)

remove data interval

Parameters
[in]dataIntervalThe data interval to be removed
[in]undoListThe undolist in which to mark changes

Definition at line 693 of file GNENet.cpp.

References GNEUndoList::begin(), deleteGenericData(), GNEUndoList::end(), GNEDataInterval::getGenericDataChildren(), GNEAttributeCarrier::getTagStr(), and MODEDELETE.

Referenced by GNEViewNet::deleteDataAttributeCarriers(), deleteDataSet(), and GNEElementTree::onCmdDeleteItem().

Here is the caller graph for this function:

◆ deleteDataSet()

void GNENet::deleteDataSet ( GNEDataSet dataSet,
GNEUndoList undoList 
)

remove data set

Parameters
[in]dataSetThe data set to be removed
[in]undoListThe undolist in which to mark changes

Definition at line 680 of file GNENet.cpp.

References GNEUndoList::begin(), deleteDataInterval(), GNEUndoList::end(), GNEDataSet::getDataIntervalChildren(), GNEAttributeCarrier::getTagStr(), and MODEDELETE.

Referenced by clearDataElements(), GNEViewNet::deleteDataAttributeCarriers(), and GNEElementTree::onCmdDeleteItem().

Here is the caller graph for this function:

◆ deleteDemandElement()

void GNENet::deleteDemandElement ( GNEDemandElement demandElement,
GNEUndoList undoList 
)

remove demand element

Parameters
[in]demandElementThe Shape to be removed
[in]undoListThe undolist in which to mark changes

Definition at line 650 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), GNEInspectorFrame::clearInspectedAC(), deleteAdditional(), deleteDemandElement(), deleteGenericData(), GNEUndoList::end(), GNEDemandElement::getAttribute(), GNEHierarchicalElement::getChildAdditionals(), GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getChildGenericDatas(), GNEViewParent::getInspectorFrame(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNEViewNet::getViewParent(), GNE_ATTR_DEFAULT_VTYPE, GNEViewNet::isAttributeCarrierInspected(), MODEDELETE, myViewNet, and SUMO_TAG_VTYPE.

Referenced by clearDemandElements(), deleteAdditional(), GNEViewNet::deleteDemandAttributeCarriers(), deleteDemandElement(), deleteEdge(), deleteGenericData(), GNEDemandElement::deleteGLObject(), deleteJunction(), deleteLane(), GNEFixDemandElements::FixRouteOptions::fixElements(), GNEFixDemandElements::FixVehicleOptions::fixElements(), GNEFixDemandElements::FixPersonPlanOptions::fixElements(), GNEElementTree::onCmdDeleteItem(), GNERouteHandler::overwriteDemandElement(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), and GNERouteHandler::transformToVehicle().

Here is the caller graph for this function:

◆ deleteEdge()

void GNENet::deleteEdge ( GNEEdge edge,
GNEUndoList undoList,
bool  recomputeConnections 
)

◆ deleteGenericData()

◆ deleteGLObject()

void GUIGlObject::deleteGLObject ( )
virtualinherited

delete GLObject (Currently used only in NETEDIT)

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

Definition at line 218 of file GUIGlObject.cpp.

◆ deleteJunction()

◆ deleteLane()

◆ deleteNetworkElement()

void GNENet::deleteNetworkElement ( GNENetworkElement networkElement,
GNEUndoList undoList 
)

◆ disableUpdateData()

void GNENet::disableUpdateData ( )

disable update data elements after inserting or removing an element in net

Definition at line 2628 of file GNENet.cpp.

References myUpdateDataEnabled.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), GNEApplicationWindow::onCmdOpenDataElements(), and GNEApplicationWindow::onCmdReloadDataElements().

Here is the caller graph for this function:

◆ disableUpdateGeometry()

void GNENet::disableUpdateGeometry ( )

disable update geometry of elements after inserting or removing an element in net

Definition at line 2605 of file GNENet.cpp.

References myUpdateGeometryEnabled.

Referenced by GNEAdditionalHandler::buildTAZ(), GNEDeleteFrame::removeAttributeCarrier(), and GNEDeleteFrame::removeSelectedAttributeCarriers().

Here is the caller graph for this function:

◆ drawGL()

void GNENet::drawGL ( const GUIVisualizationSettings s) const
virtual

Draws the object.

Parameters
[in]sThe settings for the current view (may influence drawing)
See also
GUIGlObject::drawGL

Implements GUIGlObject.

Definition at line 182 of file GNENet.cpp.

◆ drawGLAdditional()

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

Draws additional, user-triggered visualisations.

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

Reimplemented in GUIBaseVehicle, GUIContainer, and GUIPerson.

Definition at line 250 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

◆ drawName()

◆ duplicateLane()

void GNENet::duplicateLane ( GNELane lane,
GNEUndoList undoList,
bool  recomputeConnections 
)

duplicates lane

Parameters
[in]laneThe lane to be duplicated
[in]undoListThe undolist in which to mark changes

Definition at line 736 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNEEdge::getFromJunction(), GNELane::getIndex(), NBEdge::getLaneStruct(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEEdge::getToJunction(), LANE, requireRecompute(), GNEJunction::setLogicValid(), SUMO_TAG_LANE, and toString().

Referenced by addGreenVergeLane(), addRestrictedLane(), GNEViewNet::onCmdDuplicateLane(), and splitJunction().

Here is the caller graph for this function:

◆ enableUpdateData()

void GNENet::enableUpdateData ( )

Definition at line 2617 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDataIntervals(), myAttributeCarriers, and myUpdateDataEnabled.

Referenced by GNEApplicationWindow::handleEvent_NetworkLoaded(), GNEApplicationWindow::onCmdOpenDataElements(), and GNEApplicationWindow::onCmdReloadDataElements().

Here is the caller graph for this function:

◆ enableUpdateGeometry()

void GNENet::enableUpdateGeometry ( )

Definition at line 2599 of file GNENet.cpp.

References myUpdateGeometryEnabled.

Referenced by GNEAdditionalHandler::buildTAZ(), GNEDeleteFrame::removeAttributeCarrier(), and GNEDeleteFrame::removeSelectedAttributeCarriers().

Here is the caller graph for this function:

◆ expandBoundary()

void GNENet::expandBoundary ( const Boundary newBoundary)

expand boundary

Definition at line 200 of file GNENet.cpp.

References Boundary::add(), and myGrid.

◆ getApp()

FXApp * GNENet::getApp ( )

get pointer to the main App

Definition at line 1388 of file GNENet.cpp.

References myViewNet.

Referenced by cleanInvalidCrossings(), and joinSelectedJunctions().

Here is the caller graph for this function:

◆ getAttributeCarriers()

GNENetHelper::AttributeCarriers * GNENet::getAttributeCarriers ( ) const

get all attribute carriers used in this net

Definition at line 132 of file GNENet.cpp.

References myAttributeCarriers.

Referenced by GNEDataSet::addDataIntervalChild(), GNEDataInterval::addGenericDataChild(), GNEEdge::addLane(), GNETAZFrame::addOrRemoveTAZMember(), GNEViewNet::addRestrictedLane(), GNETAZFrame::CurrentTAZ::addTAZChild(), GNEVehicleFrame::addVehicle(), GNEAdditionalHandler::buildAccess(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEViewNet::buildColorRainbow(), GNEContainerFrame::buildContainer(), GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildContainerPlan(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildDestProbReroute(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEDataHandler::buildEdgeData(), GNELane::buildEdgeOperations(), GNEDataHandler::buildEdgeRelationData(), GNERouteHandler::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNEAdditionalHandler::buildLaneCalibrator(), GNELane::buildLaneOperations(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingAreaReroute(), GNEAdditionalHandler::buildParkingSpace(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonPlan(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), GNERouteHandler::buildRide(), GNERouteHandler::buildRoute(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEDataHandler::buildTAZRelationData(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNELane::buildTemplateOperations(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), GNERouteHandler::buildTranship(), GNERouteHandler::buildTransport(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNERouteHandler::buildVehicleOverRoute(), GNEVehicleFrame::buildVehicleOverRoute(), GNERouteHandler::buildVType(), GNERouteHandler::buildVTypeDistribution(), GNERouteHandler::buildWalk(), GNEWireFrame::buildWireOverView(), GNEPathManager::PathCalculator::calculateDijkstraPath(), GNEPathManager::PathCalculator::calculateReachability(), GNEConnection::changeTLIndex(), GNEAdditionalHandler::checkDuplicatedAdditional(), GNERouteHandler::checkDuplicatedDemandElement(), GNETLSEditorFrame::cleanup(), GNEPathCreator::clearEdgeColors(), GNEEdge::clearGNEConnections(), GNEPathCreator::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNEJunction::clearWalkingAreas(), GNEApplicationWindow::computeJunctionWithVolatileOptions(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), GNEElementTree::createPopUpMenu(), GNETLSEditorFrame::TLSDefinition::createTLS(), GNEViewNet::deleteDataAttributeCarriers(), GNEViewNet::deleteDemandAttributeCarriers(), GNEViewNet::deleteNetworkAttributeCarriers(), GNEJunction::drawDottedContours(), GNEViewNet::drawTemporalE1TLSLines(), GNEViewNet::drawTemporalJunctionTLSLines(), GNEViewNet::drawTemporalRoundabout(), GNETAZFrame::dropTAZMembers(), GNETLSEditorFrame::editJunction(), GNEVType::editVTypeDistribution(), GNEMatchGenericDataAttribute::enableMatchGenericDataAttribute(), GNEFixNetworkElements::FixEdgeOptions::fixElements(), GNEFixNetworkElements::FixCrossingOptions::fixElements(), GNEAttributesCreatorRow::generateID(), GNEAdditionalHandler::getAdditionalParent(), GNEViewNet::getAttributeCarriersInBoundary(), GNERouteHandler::getContainerParent(), GNEGenericDataFrame::DataSetSelector::getDataSet(), GNEViewNetHelper::IntervalBar::getDataSet(), GNEViewNet::getEdgeDataAttrs(), GNESelectorFrame::getMatches(), GNEEdge::getOppositeEdges(), GNERouteHandler::getPersonParent(), GNEAdditional::getPopUpMenu(), GNEVehicle::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNERouteHandler::getPreviousPlanEdge(), GNERouteHandler::getPreviousPlanJunction(), GNEViewNet::getRelDataAttrs(), GNEAdditionalHandler::getRerouterIntervalParent(), GNEContainerFrame::GNEContainerFrame(), GNEEdge::GNEEdge(), GNEPersonFrame::GNEPersonFrame(), GNETypeFrame::GNETypeFrame(), GNEVehicleFrame::GNEVehicleFrame(), GNESelectorFrame::handleIDs(), GNETLSEditorFrame::handleMultiChange(), GNEGenericDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNEViewNet::hotkeyDel(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectSingleElement(), GNEJunction::invalidateTLS(), GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEClosingLaneReroute::isValid(), GNEClosingReroute::isValid(), GNEContainerStop::isValid(), GNEDestProbReroute::isValid(), GNEEntryExitDetector::isValid(), GNEInductionLoopDetector::isValid(), GNEInstantInductionLoopDetector::isValid(), GNELaneAreaDetector::isValid(), GNEOverheadWire::isValid(), GNEParkingArea::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNERouteProbe::isValid(), GNERouteProbReroute::isValid(), GNETAZ::isValid(), GNETAZSourceSink::isValid(), GNEVaporizer::isValid(), GNEDataSet::isValid(), GNEEdgeRelData::isValid(), GNETAZRelData::isValid(), GNEContainer::isValid(), GNEPerson::isValid(), GNEPersonTrip::isValid(), GNERide::isValid(), GNEStop::isValid(), GNETranship::isValid(), GNETransport::isValid(), GNEVehicle::isValid(), GNEVType::isValid(), GNEVTypeDistribution::isValid(), GNEWalk::isValid(), GNEEdge::isValid(), GNEEdgeType::isValid(), GNEJunction::isValid(), GNEPOI::isValid(), GNEPoly::isValid(), GNEAdditional::isValidAdditionalID(), GNEDemandElement::isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNEAttributesCreatorRow::isValidID(), GNEJunction::markAsModified(), GNEFrameAttributeModules::AttributesEditorRow::mergeJunction(), GNEJunction::moveJunctionGeometry(), GNERerouterIntervalDialog::onCmdAddClosingLaneReroute(), GNERerouterIntervalDialog::onCmdAddClosingReroute(), GNERerouterIntervalDialog::onCmdAddDestProbReroute(), GNECalibratorDialog::onCmdAddFlow(), GNEViewNet::onCmdAddJoinTLS(), GNERerouterIntervalDialog::onCmdAddParkingAreaReroute(), GNEViewNet::onCmdAddReversedEdge(), GNEViewNet::onCmdAddReversedEdgeDisconnected(), GNERerouterIntervalDialog::onCmdAddRouteProbReroute(), GNEViewNet::onCmdAddTLS(), GNECalibratorDialog::onCmdAddVehicleType(), GNEViewNet::onCmdClearConnections(), GNECalibratorDialog::onCmdClickedRoute(), GNECalibratorDialog::onCmdClickedVehicleType(), GNEViewNet::onCmdClosePolygon(), GNECreateEdgeFrame::EdgeTypeSelector::onCmdDeleteEdgeType(), GNEViewNet::onCmdDuplicateLane(), GNEViewNet::onCmdLaneReachability(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNEViewParent::onCmdLocate(), GNEViewNet::onCmdOpenPolygon(), GNEApplicationWindow::onCmdOpenSUMOGUI(), GNEMatchGenericDataAttribute::onCmdProcessString(), GNEViewNet::onCmdResetConnections(), GNEViewNet::onCmdResetEdgeEndpoint(), GNEViewNet::onCmdResetEdgeEndPoints(), GNEViewNet::onCmdResetEndPoints(), GNEViewNet::onCmdResetJunctionShape(), GNEViewNet::onCmdResetLaneCustomShape(), GNEViewNet::onCmdResetLength(), GNEViewNet::onCmdResetOppositeLane(), GNEViewNet::onCmdReverseEdge(), GNETLSEditorFrame::TLSDefinition::onCmdSaveChanges(), GNEApplicationWindow::onCmdSaveNetwork(), GNEMatchGenericDataAttribute::onCmdSelectAttribute(), GNEConnectorFrame::ConnectionOperations::onCmdSelectConflicts(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), DemandElementSelector::onCmdSelectDemandElement(), GNEViewNet::onCmdSelectPolygonElements(), GNEMatchGenericDataAttribute::onCmdSelectTag(), GNECrossingFrame::CrossingParameters::onCmdSetAttribute(), GNEMatchGenericDataAttribute::onCmdSetFromTAZ(), GNEInspectorFrame::TemplateEditor::onCmdSetTemplate(), GNEMatchGenericDataAttribute::onCmdSetToTAZ(), GNEViewNet::onCmdSimplifyShape(), GNEViewNet::onCmdSmoothEdges(), GNEViewNet::onCmdSmoothEdgesElevation(), GNEViewNet::onCmdStraightenEdges(), GNEViewNet::onCmdStraightenEdgesElevation(), GNEViewNet::onCmdToggleDrawSpreadVehicles(), GNENetworkSelector::onCmdUseSelectedElements(), GNEApplicationWindow::onUpdNeedsNetworkElement(), GNEApplicationWindow::onUpdSaveAdditionalsAs(), GNEApplicationWindow::onUpdSaveDataElementsAs(), GNEApplicationWindow::onUpdSaveDemandElementsAs(), GNEApplicationWindow::onUpdSaveEdgeTypes(), GNEApplicationWindow::onUpdSaveEdgeTypesAs(), GNEApplicationWindow::onUpdSaveTLSPrograms(), GNEAttributeCarrier::parse(), GNERouteHandler::parseEdge(), GNEAdditionalHandler::parseEdges(), GNERouteHandler::parseEdges(), GNERouteHandler::parseJunction(), GNEAdditionalHandler::parseLanes(), GNETLSEditorFrame::parseTLSPrograms(), GNEShapeFrame::processClick(), GNECreateEdgeFrame::processClick(), GNEJunction::rebuildGNECrossings(), GNEViewNet::recalculateBoundaries(), GNEChange_Additional::redo(), GNEChange_Attribute::redo(), GNEChange_Crossing::redo(), GNEChange_DataSet::redo(), GNEChange_DemandElement::redo(), GNEChange_Edge::redo(), GNEChange_EdgeType::redo(), GNEChange_Junction::redo(), DemandElementSelector::refreshDemandElementSelector(), GNESelectorParent::refreshSelectorParentModule(), GNEEdge::remakeGNEConnections(), GNEEdge::removeConnection(), GNEJunction::removeConnectionsTo(), GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), GNEEdge::removeLane(), GNEViewNet::removeRestrictedLane(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEJunction::removeTLSConnections(), GNEDemandElement::replaceAdditionalParent(), GNEAdditional::replaceAdditionalParent(), GNEAdditional::replaceDemandElementParent(), GNEDemandElement::replaceDemandElementParent(), GNEGenericData::replaceFirstParentEdge(), GNEDemandElement::replaceFirstParentEdge(), GNEDemandElement::replaceFirstParentJunction(), GNEJunction::replaceIncomingConnections(), GNEGenericData::replaceLastParentEdge(), GNEDemandElement::replaceLastParentEdge(), GNEDemandElement::replaceLastParentJunction(), GNEGenericData::replaceParentTAZElement(), GNEViewNet::restrictLane(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNEJunction::retrieveGNEWalkingArea(), GNEDeleteFrame::selectedACsToDelete(), GNEAccess::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNEEdgeType::setAttribute(), GNEPersonTrip::setAttribute(), GNERide::setAttribute(), GNEStop::setAttribute(), GNETranship::setAttribute(), GNETransport::setAttribute(), GNEWalk::setAttribute(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), GNEJunction::setJunctionType(), GNEJunction::setLogicValid(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNETAZFrame::CurrentTAZ::setTAZ(), GNEDemandElement::setVTypeDistributionParent(), GNEShapeFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEMoveFrame::show(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEElementTree::showAttributeCarrierParents(), GNEFrameAttributeModules::AttributesEditor::showAttributeEditorModule(), DemandElementSelector::showDemandElementSelector(), GNEElementTree::showHierarchicalElementChildren(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_Additional::undo(), GNEChange_Attribute::undo(), GNEChange_Crossing::undo(), GNEChange_DataSet::undo(), GNEChange_DemandElement::undo(), GNEChange_Edge::undo(), GNEChange_EdgeType::undo(), GNEChange_Junction::undo(), GNEViewNetHelper::ObjectsUnderCursor::updateAdditionalElements(), GNEViewNetHelper::ObjectsUnderCursor::updateDemandElements(), GNEPathCreator::updateEdgeColors(), GNEEdge::updateFirstParentJunction(), GNECalibratorDialog::updateFlowAndLabelButton(), GNEPathCreator::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), GNEApplicationWindow::updateRecomputingLabel(), GNECalibratorDialog::updateRouteTable(), GNEEdge::updateSecondParentJunction(), GNEMatchGenericDataAttribute::updateTAZComboBox(), GNECalibratorDialog::updateVehicleTypeTable(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_DataInterval::~GNEChange_DataInterval(), GNEChange_DataSet::~GNEChange_DataSet(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_EdgeType::~GNEChange_EdgeType(), GNEChange_GenericData::~GNEChange_GenericData(), GNEEdge::~GNEEdge(), and GNEJunction::~GNEJunction().

◆ getBoundary()

const Boundary & GNENet::getBoundary ( ) const

returns the bounder of the network

Definition at line 144 of file GNENet.cpp.

References myGrid.

Referenced by getCenteringBoundary(), and GNEVehicle::setColor().

Here is the caller graph for this function:

◆ getCenteringBoundary()

Boundary GNENet::getCenteringBoundary ( ) const
virtual

Returns the boundary to which the view shall be centered in order to show the object.

Returns
The boundary the object is within
See also
GUIGlObject::getCenteringBoundary

Implements GUIGlObject.

Definition at line 194 of file GNENet.cpp.

References getBoundary().

◆ getClickPriority()

virtual double GUIGlObject::getClickPriority ( ) const
inlinevirtualinherited

Returns the priority of receiving mouse clicks.

Reimplemented in GUILane, GNEPOI, GNEPoly, GUIPointOfInterest, and GUIPolygon.

Definition at line 159 of file GUIGlObject.h.

References GUIGlObject::myGLObjectType.

Referenced by GUISUMOAbstractView::getObjectAtPosition().

Here is the caller graph for this function:

◆ getColorValue()

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

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

Definition at line 198 of file GUIGlObject.h.

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

Here is the caller graph for this function:

◆ getDataSetIntervalMaximumEnd()

double GNENet::getDataSetIntervalMaximumEnd ( ) const

get maximum interval

Definition at line 2201 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDataIntervals(), myAttributeCarriers, and SUMO_ATTR_END.

◆ getDataSetIntervalMinimumBegin()

double GNENet::getDataSetIntervalMinimumBegin ( ) const

get minimum interval

Definition at line 2184 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDataIntervals(), myAttributeCarriers, and SUMO_ATTR_BEGIN.

◆ getEdgeCont()

NBEdgeCont & GNENet::getEdgeCont ( )

returns the NBEdgeCont of the underlying netbuilder

Definition at line 1999 of file GNENet.cpp.

References NBNetBuilder::getEdgeCont(), and myNetBuilder.

Referenced by GNEViewNet::getEdgeLaneParamKeys(), GNELane::isValid(), GNETLSEditorFrame::parseTLSPrograms(), and GNELane::setAttribute().

Here is the caller graph for this function:

◆ getEdgesAndNumberOfLanes()

const std::map< std::string, int > & GNENet::getEdgesAndNumberOfLanes ( ) const

et edges and number of lanes

Definition at line 156 of file GNENet.cpp.

References myEdgesAndNumberOfLanes.

◆ getExaggeration()

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

return exaggeration associated with this GLObject

Implements GUIGlObject.

Definition at line 188 of file GNENet.cpp.

◆ getFullName()

◆ getGLIcon()

FXIcon * GUIGlObject::getGLIcon ( ) const
inherited

get icon associated with this GL Object

Definition at line 191 of file GUIGlObject.cpp.

References GUIGlObject::myIcon.

◆ getGlID()

GUIGlID GUIGlObject::getGlID ( ) const
inlineinherited

Returns the numerical id of the object.

Returns
This object's gl-id

Definition at line 102 of file GUIGlObject.h.

References GUIGlObject::myGlID.

Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GNECalibrator::drawCalibratorSymbol(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GUIContainer::drawGL(), GUIEdge::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUILane::drawLinkRule(), GNEAdditional::drawListedAddtional(), GUIBaseVehicle::drawOnPos(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEAdditional::drawSquaredAdditional(), GNEStop::drawStopPersonOverBusStop(), GNEStop::drawStopPersonOverEdge(), GNEStop::drawVehicleStop(), GUIJunctionWrapper::getColorValue(), GUIVehicle::getColorValue(), GUIMEVehicle::getColorValue(), GUIContainer::getColorValue(), GUIEdge::getColorValue(), GUIPerson::getColorValue(), GNEPOI::getGlID(), GNEPoly::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIShapeContainer::getPOIIds(), GUIShapeContainer::getPolygonIDs(), GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIEdge::getScaleValue(), GUITransportableControl::insertIDs(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), GUILane::isLaneOrEdgeSelected(), GUIVehicle::isSelected(), GUIContainer::isSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUIPerson::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GNEElementTree::onCmdCenterItem(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_ChooserAbstract::onCmdTrack(), GUIViewTraffic::onGamingClick(), GUIDialog_ChooserAbstract::refreshList(), GLObjectValuePassConnector< T >::removeObject(), GUIVehicle::selectBlockingFoes(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GUIViewTraffic::showLaneReachability(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().

◆ getGrid()

SUMORTree & GNENet::getGrid ( )

Returns the RTree used for visualisation speed-up.

Returns
The visualisation speed-up
Note
only use in GNEViewNet constructor

Definition at line 151 of file GNENet.cpp.

References myGrid.

Referenced by GNEDataInterval::addGenericDataChild(), GNETLSEditorFrame::buildInternalLanes(), GNEViewNet::recalculateBoundaries(), and GNEDataInterval::removeGenericDataChild().

Here is the caller graph for this function:

◆ getMicrosimID()

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

Returns the id of the object as known to microsim.

Definition at line 141 of file GUIGlObject.h.

References GUIGlObject::myMicrosimID.

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

◆ getNetBuilder()

NBNetBuilder * GNENet::getNetBuilder ( ) const

get net builder

Definition at line 1394 of file GNENet.cpp.

References myNetBuilder.

Referenced by GNEPathManager::PathCalculator::PathCalculator(), GNEJunction::rebuildGNECrossings(), GNEChange_Crossing::redo(), GNEJunction::setAttribute(), and GNEChange_Crossing::undo().

Here is the caller graph for this function:

◆ getNumberOfTLSPrograms()

int GNENet::getNumberOfTLSPrograms ( ) const

get number of TLS Programs

Definition at line 2565 of file GNENet.cpp.

◆ getOptionalName()

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

Returns the name of the object (default "")

Reimplemented in GUIBaseVehicle, GUIBusStop, GUIChargingStation, GUIJunctionWrapper, GUIParkingArea, GUITrafficLightLogicWrapper, GNEEdge, and GUIEdge.

Definition at line 236 of file GUIGlObject.cpp.

Referenced by GUIDialog_ChooserAbstract::getObjectName().

Here is the caller graph for this function:

◆ getParameterWindow()

GUIParameterTableWindow * GNENet::getParameterWindow ( GUIMainWindow app,
GUISUMOAbstractView parent 
)
virtual

Returns an own parameter window.

Parameters
[in]appThe application needed to build the parameter window
[in]parentThe parent window needed to build the parameter window
Returns
The built parameter window
See also
GUIGlObject::getParameterWindow

Implements GUIGlObject.

Definition at line 172 of file GNENet.cpp.

References GUIParameterTableWindow::closeBuilding().

◆ getParentName()

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

◆ getPathManager()

GNEPathManager * GNENet::getPathManager ( )

get path manager

Definition at line 138 of file GNENet.cpp.

References myPathManager.

Referenced by GNEDemandElement::buildMenuCommandRouteLength(), GNELaneAreaDetector::computePathElement(), GNEOverheadWire::computePathElement(), GNEEdgeRelData::computePathElement(), GNEPersonTrip::computePathElement(), GNERide::computePathElement(), GNERoute::computePathElement(), GNETranship::computePathElement(), GNETransport::computePathElement(), GNEVehicle::computePathElement(), GNEWalk::computePathElement(), GNEViewNet::doPaintGL(), GNEViewNet::drawDeleteDottedContour(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEPersonTrip::drawGL(), GNERide::drawGL(), GNEVehicle::drawGL(), GNEWalk::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEViewNet::drawSelectDottedContour(), GNEDemandElement::getBeginPosition(), GNEVehicle::getDemandElementProblem(), GNEVehicle::isDemandElementValid(), GNEApplicationWindow::onCmdComputePathManager(), GNEViewNet::onCmdLaneReachability(), GNEApplicationWindow::onUpdComputePathManager(), GNEPathCreator::Path::Path(), GNEDataInterval::removeGenericDataChild(), GNEConnection::setAttribute(), GNECrossing::setAttribute(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToVehicle(), and GNEEdgeData::updateGeometry().

Here is the caller graph for this function:

◆ getPopUpMenu()

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

Returns an own popup-menu.

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

Implements GUIGlObject.

Definition at line 162 of file GNENet.cpp.

References GUIGlObject::buildCenterPopupEntry(), GUIGlObject::buildPopupHeader(), and GUIGlObject::buildPositionCopyEntry().

◆ getTLLogicCont()

NBTrafficLightLogicCont & GNENet::getTLLogicCont ( )

returns the tllcont of the underlying netbuilder

Definition at line 1993 of file GNENet.cpp.

References NBNetBuilder::getTLLogicCont(), and myNetBuilder.

Referenced by GNEJunction::addTrafficLight(), computeJunction(), GNEViewNet::onCmdAddJoinTLS(), GNETLSEditorFrame::parseTLSPrograms(), GNEChange_TLS::redo(), GNEJunction::removeTrafficLight(), replaceIncomingEdge(), saveTLSPrograms(), GNEJunction::setAttribute(), and GNEChange_TLS::undo().

Here is the caller graph for this function:

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inlineinherited

Returns the type of the object as coded in GUIGlObjectType.

See also
GUIGlObjectType

Definition at line 154 of file GUIGlObject.h.

References GUIGlObject::myGLObjectType.

Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNEViewNet::drawDeleteContour(), GNEEdge::drawEdgeGeometryPoints(), GNEVehicle::drawFlowLabel(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNETAZ::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GUIContainer::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIPerson::drawGLAdditional(), GNEDemandElement::drawJunctionLine(), GNEAdditional::drawListedAddtional(), GUIBaseVehicle::drawOnPos(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartial(), GNEViewNet::drawSelectContour(), GNEAdditional::drawSquaredAdditional(), GNEVehicle::drawStackLabel(), GNEStop::drawStopPersonOverBusStop(), GNEStop::drawStopPersonOverEdge(), GNEStop::drawVehicleStop(), GNEViewNet::getAttributeCarriersInBoundary(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GNEViewNet::getWalkingAreaAtPopupPosition(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), LayeredRTree::selectLayer(), GUIPolygon::setColor(), GNEJunction::setJunctionType(), GNEViewNetHelper::ObjectsUnderCursor::updateGenericDataElements(), GNEViewNetHelper::ObjectsUnderCursor::updateNetworkElements(), GNEViewNetHelper::ObjectsUnderCursor::updateShapeElements(), and GNEViewNetHelper::ObjectsUnderCursor::updateTAZElements().

◆ getTypeParameterWindow()

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

Returns an own type parameter window (optional)

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

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

Definition at line 197 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().

Here is the caller graph for this function:

◆ getViewNet()

GNEViewNet * GNENet::getViewNet ( ) const

get view net

Definition at line 1987 of file GNENet.cpp.

References myViewNet.

Referenced by GNEAdditionalDialog::acceptChanges(), GNEDemandElementDialog::acceptChanges(), GNEVType::askAddVTypeDistribution(), GNEVType::askRemoveVTypeDistribution(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildContainerPlan(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildDestProbReroute(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEDataHandler::buildEdgeData(), GNEDataHandler::buildEdgeRelationData(), GNERouteHandler::buildEmbeddedRoute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowOverRoute(), GNEAdditionalHandler::buildLaneCalibrator(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingAreaReroute(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonPlan(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRide(), GNERouteHandler::buildRoute(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEDataHandler::buildTAZRelationData(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNELane::buildTemplateOperations(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), GNERouteHandler::buildTranship(), GNERouteHandler::buildTransport(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVType(), GNERouteHandler::buildVTypeDistribution(), GNERouteHandler::buildWalk(), GNEAdditionalDialog::cancelChanges(), GNEDemandElementDialog::cancelChanges(), GNEStop::canDrawVehicleStop(), GNEPoly::changeFirstGeometryPoint(), GNEViewNetHelper::LockIcon::checkDrawing(), GNEJunction::clearWalkingAreas(), GNEPoly::closePolygon(), GNEJunction::commitMoveShape(), GNEApplicationWindow::computeJunctionWithVolatileOptions(), GNEPoly::deleteGeometryPoint(), GNEAdditional::deleteGLObject(), GNEGenericData::deleteGLObject(), GNEDemandElement::deleteGLObject(), GNEConnection::deleteGLObject(), GNECrossing::deleteGLObject(), GNEEdge::deleteGLObject(), GNEEdgeType::deleteGLObject(), GNEJunction::deleteGLObject(), GNELane::deleteGLObject(), GNELaneType::deleteGLObject(), GNEGenericData::drawAttribute(), GNECalibrator::drawCalibratorSymbol(), GNEDemandElement::drawContainerPlan(), GNEJunction::drawDottedContours(), GNETAZ::drawDottedContours(), GNEEdge::drawEdgeGeometryPoints(), GNEStop::drawGeometryPoints(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEMultiEntryExitDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouter::drawGL(), GNERerouterInterval::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNEStop::drawIndex(), GNEDemandElement::drawJunctionLine(), GNELane::drawLaneAsRailway(), GNEPathManager::drawLanePathElements(), GNEEdge::drawLaneStopOffset(), GNEAdditional::drawListedAddtional(), GNELane::drawMarkings(), GNEAdditional::drawParentChildLines(), GNELaneAreaDetector::drawPartialGL(), GNEOverheadWire::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEPathManager::PathDraw::drawPathGeometry(), GNEDemandElement::drawPersonPlan(), GNEDemandElement::drawPersonPlanPartial(), GNEStoppingPlace::drawSign(), GNEAdditional::drawSquaredAdditional(), GNEStop::drawStopPersonOverBusStop(), GNEStop::drawStopPersonOverEdge(), GNEEdge::drawTAZElements(), GNETAZRelData::drawTAZRel(), GNEJunction::drawTLSIcon(), GNEAttributeCarrier::drawUsingSelectColor(), GNEStop::drawVehicleStop(), GNEEdge::editEndpoint(), GNEEntryExitDetector::fixAdditionalProblem(), GNEInductionLoopDetector::fixAdditionalProblem(), GNEInstantInductionLoopDetector::fixAdditionalProblem(), GNELaneAreaDetector::fixAdditionalProblem(), GNEOverheadWire::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEStop::getColor(), GNEContainer::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEAccess::getMoveOperation(), GNEDetector::getMoveOperation(), GNEOverheadWire::getMoveOperation(), GNEParkingSpace::getMoveOperation(), GNEStoppingPlace::getMoveOperation(), GNETAZ::getMoveOperation(), GNEPersonTrip::getMoveOperation(), GNERide::getMoveOperation(), GNEStop::getMoveOperation(), GNETranship::getMoveOperation(), GNETransport::getMoveOperation(), GNEVehicle::getMoveOperation(), GNEWalk::getMoveOperation(), GNEConnection::getMoveOperation(), GNECrossing::getMoveOperation(), GNEEdge::getMoveOperation(), GNEJunction::getMoveOperation(), GNELane::getMoveOperation(), GNEWalkingArea::getMoveOperation(), GNEPOI::getMoveOperation(), GNEPoly::getMoveOperation(), GNEAdditional::getMoveOperationMultiLane(), GNEAdditional::getMoveOperationSingleLane(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNETAZSourceSink::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNETranship::getPopUpMenu(), GNETransport::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEEdge::getSplitPos(), GNEPoly::getVertexIndex(), GNETAZ::getVertexIndex(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNEAdditionalDialog::initChanges(), GNEDemandElementDialog::initChanges(), GNEPOI::isAttributeEnabled(), GNEPoly::isAttributeEnabled(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GNEGenericData::isVisibleInspectDeleteSelect(), GNEAdditional::markAsFrontElement(), GNEDemandElement::markAsFrontElement(), GNENetworkElement::markAsFrontElement(), GNESingleParametersDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAddClosingLaneReroute(), GNERerouterIntervalDialog::onCmdAddClosingReroute(), GNERerouterIntervalDialog::onCmdAddDestProbReroute(), GNECalibratorDialog::onCmdAddFlow(), GNEViewNet::onCmdAddJoinTLS(), GNERerouterIntervalDialog::onCmdAddParkingAreaReroute(), GNERerouterIntervalDialog::onCmdAddRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdAddStep(), GNEViewNet::onCmdAddTLS(), GNECalibratorDialog::onCmdAddVehicleType(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNERerouterIntervalDialog::onCmdChangeBeginEnd(), GNERerouterIntervalDialog::onCmdClickedClosingLaneReroute(), GNERerouterIntervalDialog::onCmdClickedClosingReroute(), GNERerouterIntervalDialog::onCmdClickedDestProbReroute(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNERerouterIntervalDialog::onCmdClickedParkingAreaReroute(), GNECalibratorDialog::onCmdClickedRoute(), GNERerouterIntervalDialog::onCmdClickedRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), GNEViewNet::onCmdClosePolygon(), GNERerouterIntervalDialog::onCmdEditClosingLaneReroute(), GNERerouterIntervalDialog::onCmdEditClosingReroute(), GNERerouterIntervalDialog::onCmdEditDestProbReroute(), GNERerouterIntervalDialog::onCmdEditParkingAreaReroute(), GNERerouterIntervalDialog::onCmdEditRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNEApplicationWindow::onCmdOpenDataElements(), GNEViewNet::onCmdOpenPolygon(), GNEApplicationWindow::onCmdOpenTLSPrograms(), GNEApplicationWindow::onCmdReloadTLSPrograms(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNEViewNet::onCmdSelectPolygonElements(), GNECalibratorFlowDialog::onCmdSetVariable(), GNERouteDialog::onCmdSetVariable(), GNEViewNet::onCmdSimplifyShape(), GNELane::onDefault(), GNEApplicationWindow::onUpdSaveAdditionals(), GNEPoly::openPolygon(), GNEAdditionalHandler::overwriteAdditional(), GNERouteHandler::overwriteDemandElement(), GNEEdge::processNoneJunctionSelected(), GNEJunction::rebuildGNECrossings(), GNERerouter::rebuildRerouterSymbols(), GNEVariableSpeedSign::rebuildVSSSymbols(), GNEChange_DemandElement::redo(), GNEChange_EdgeType::redo(), GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), GNETAZ::removeGeometryPoint(), GNEConnection::removeGeometryPoint(), GNECrossing::removeGeometryPoint(), GNEJunction::removeGeometryPoint(), GNELane::removeGeometryPoint(), GNEPoly::removeGeometryPoint(), GNEEdge::removeLane(), GNEAdditionalDialog::resetChanges(), GNEDemandElementDialog::resetChanges(), GNEAdditional::selectGLObject(), GNEGenericData::selectGLObject(), GNEDemandElement::selectGLObject(), GNENetworkElement::selectGLObject(), GNEDataInterval::setAttribute(), GNEDataSet::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEEdgeType::setAttribute(), GNELane::setAttribute(), GNELaneType::setAttribute(), GNEStop::setAttribute(), GNEEdge::setAttribute(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), GNEJunction::setColor(), GNELane::setLaneColor(), GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable(), GNEPoly::simplifyShape(), GNEConnection::smootShape(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_DemandElement::undo(), GNEChange_EdgeType::undo(), GNECalibratorDialog::updateFlowAndLabelButton(), GNEBusStop::updateGeometry(), GNEChargingStation::updateGeometry(), GNEContainerStop::updateGeometry(), GNEStop::updateGeometry(), GNEEdge::updateGeometry(), GNELane::updateGeometry(), GNECalibratorDialog::updateRouteTable(), and GNECalibratorDialog::updateVehicleTypeTable().

◆ getZBoundary()

const Boundary & GNENet::getZBoundary ( ) const

Returns the Z boundary (stored in the x() coordinate) values of 0 do not affect the boundary.

Definition at line 206 of file GNENet.cpp.

References myZBoundary.

◆ initGNEConnections()

void GNENet::initGNEConnections ( )

initialize GNEConnections

Definition at line 2684 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getEdges(), and myAttributeCarriers.

Referenced by GNEViewNet::onCmdToggleShowConnections().

Here is the caller graph for this function:

◆ initJunctionsAndEdges()

◆ isAdditionalsSaved()

bool GNENet::isAdditionalsSaved ( ) const

check if additionals are saved

Definition at line 2077 of file GNENet.cpp.

References myAdditionalsSaved.

Referenced by GNEApplicationWindow::onCmdOpenAdditionals(), GNEApplicationWindow::onCmdOpenDataElements(), GNEApplicationWindow::onCmdOpenDemandElements(), GNEApplicationWindow::onCmdOpenSUMOGUI(), GNEApplicationWindow::onCmdSaveAllElements(), GNEApplicationWindow::onUpdSaveAdditionals(), and GNEApplicationWindow::onUpdSaveAllElements().

Here is the caller graph for this function:

◆ isBlocked()

bool GUIGlObject::isBlocked ( ) const
inlineinherited

get blocking status

Definition at line 164 of file GUIGlObject.h.

References GUIGlObject::myAmBlocked.

◆ isDataElementsSaved()

bool GNENet::isDataElementsSaved ( ) const

check if data sets are saved

Definition at line 2178 of file GNENet.cpp.

References myDataElementsSaved.

Referenced by GNEApplicationWindow::onCmdOpenAdditionals(), GNEApplicationWindow::onCmdOpenDataElements(), GNEApplicationWindow::onCmdOpenDemandElements(), GNEApplicationWindow::onCmdSaveAllElements(), GNEApplicationWindow::onUpdSaveAllElements(), and GNEApplicationWindow::onUpdSaveDataElements().

Here is the caller graph for this function:

◆ isDemandElementsSaved()

bool GNENet::isDemandElementsSaved ( ) const

check if demand elements are saved

Definition at line 2144 of file GNENet.cpp.

References myDemandElementsSaved.

Referenced by GNEApplicationWindow::onCmdOpenAdditionals(), GNEApplicationWindow::onCmdOpenDataElements(), GNEApplicationWindow::onCmdOpenDemandElements(), GNEApplicationWindow::onCmdOpenSUMOGUI(), GNEApplicationWindow::onCmdSaveAllElements(), GNEApplicationWindow::onUpdSaveAllElements(), and GNEApplicationWindow::onUpdSaveDemandElements().

Here is the caller graph for this function:

◆ isGLObjectLocked()

bool GUIGlObject::isGLObjectLocked ( )
virtualinherited

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

Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.

Definition at line 205 of file GUIGlObject.cpp.

◆ isNetRecomputed()

bool GNENet::isNetRecomputed ( ) const

check if net require recomputing

Definition at line 1382 of file GNENet.cpp.

References myNeedRecompute.

Referenced by GNELane::buildRechableOperations(), and GNEApplicationWindow::updateRecomputingLabel().

Here is the caller graph for this function:

◆ isNetSaved()

bool GNENet::isNetSaved ( ) const

return if net has to be saved

Definition at line 1185 of file GNENet.cpp.

References myNetSaved.

Referenced by GNEApplicationWindow::continueWithUnsavedChanges(), GNEApplicationWindow::onCmdOpenSUMOGUI(), GNEApplicationWindow::onCmdSaveAllElements(), GNEApplicationWindow::onUpdSaveAllElements(), and GNEApplicationWindow::onUpdSaveNetwork().

Here is the caller graph for this function:

◆ isUpdateDataEnabled()

bool GNENet::isUpdateDataEnabled ( ) const

check if update data after inserting or removing has to be updated

Definition at line 2634 of file GNENet.cpp.

References myUpdateDataEnabled.

Referenced by GNEDataInterval::updateAttributeColors(), and GNEDataInterval::updateGenericDataIDs().

Here is the caller graph for this function:

◆ isUpdateGeometryEnabled()

bool GNENet::isUpdateGeometryEnabled ( ) const

check if update geometry after inserting or removing has to be updated

Definition at line 2611 of file GNENet.cpp.

References myUpdateGeometryEnabled.

Referenced by GNEDataInterval::addGenericDataChild().

Here is the caller graph for this function:

◆ joinRoutes()

void GNENet::joinRoutes ( GNEUndoList undoList)

join routes

Definition at line 1632 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getDemandElements(), myAttributeCarriers, GNEAttributeCarrier::parseIDs(), ROUTE, SUMO_ATTR_ROUTE, and SUMO_TAG_ROUTE.

Referenced by GNEApplicationWindow::onCmdProcessButton().

Here is the caller graph for this function:

◆ joinSelectedJunctions()

bool GNENet::joinSelectedJunctions ( GNEUndoList undoList)

◆ markAsFrontElement()

void GUIGlObject::markAsFrontElement ( )
virtualinherited

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

Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.

Definition at line 212 of file GUIGlObject.cpp.

◆ mergeJunctions()

void GNENet::mergeJunctions ( GNEJunction moved,
GNEJunction target,
GNEUndoList undoList 
)

merge the given junctions edges between the given junctions will be deleted

Parameters
[in]movedThe junction that will be eliminated
[in]targetThe junction that will be enlarged
[in]undoListThe undo list with which to register changes

Definition at line 1042 of file GNENet.cpp.

References GNEUndoList::begin(), GNEUndoList::changeAttribute(), deleteEdge(), deleteJunction(), GNEUndoList::end(), GNEJunction::getAttribute(), GNENetHelper::AttributeCarriers::getEdges(), GNEEdge::getFromJunction(), GNEAttributeCarrier::getID(), NBNode::getIncomingEdges(), GNEJunction::getNBNode(), NBNode::getOutgoingEdges(), GNEEdge::getToJunction(), JUNCTION, myAttributeCarriers, GNEJunction::setAttribute(), SUMO_ATTR_FROM, SUMO_ATTR_POSITION, SUMO_ATTR_TO, SUMO_TAG_JUNCTION, and toString().

Referenced by GNEViewNet::mergeJunctions().

Here is the caller graph for this function:

◆ mouseWithinGeometry() [1/5]

void GUIGlObject::mouseWithinGeometry ( const Position pos,
const double  width,
const double  height,
const double  offsetX,
const double  offsetY,
const double  rot 
) const
protectedinherited

check if mouse is within elements geometry (for rectangles)

Definition at line 456 of file GUIGlObject.cpp.

References PositionVector::add(), GUIPostDrawing::addElementUnderCursor(), PositionVector::around(), DEG2RAD, gPostDrawing, GUIPostDrawing::mousePos, and PositionVector::rotate2D().

◆ mouseWithinGeometry() [2/5]

void GUIGlObject::mouseWithinGeometry ( const Position  center,
const double  radius 
) const
protectedinherited

◆ mouseWithinGeometry() [3/5]

void GUIGlObject::mouseWithinGeometry ( const PositionVector  shape) const
protectedinherited

check if mouse is within elements geometry (for filled shapes)

Definition at line 432 of file GUIGlObject.cpp.

References GUIPostDrawing::addElementUnderCursor(), PositionVector::around(), gPostDrawing, and GUIPostDrawing::mousePos.

◆ mouseWithinGeometry() [4/5]

void GUIGlObject::mouseWithinGeometry ( const PositionVector  shape,
const double  width 
) const
protectedinherited

check if mouse is within elements geometry (for shapes)

Definition at line 440 of file GUIGlObject.cpp.

References GUIPostDrawing::addElementUnderCursor(), PositionVector::distance2D(), gPostDrawing, and GUIPostDrawing::mousePos.

◆ mouseWithinGeometry() [5/5]

void GUIGlObject::mouseWithinGeometry ( const PositionVector  shape,
const double  width,
GUIGlObject parent 
) const
protectedinherited

check if mouse is within elements geometry (for edges)

Definition at line 448 of file GUIGlObject.cpp.

References GUIPostDrawing::addElementUnderCursor(), PositionVector::distance2D(), gPostDrawing, and GUIPostDrawing::mousePos.

◆ onLeftBtnPress()

virtual void GUIGlObject::onLeftBtnPress ( void *  )
inlinevirtualinherited

notify object about left click

Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.

Definition at line 213 of file GUIGlObject.h.

Referenced by GUISUMOAbstractView::onLeftBtnPress().

Here is the caller graph for this function:

◆ operator=()

GNENet & GNENet::operator= ( const GNENet )
privatedelete

Invalidated assignment operator.

◆ removeActiveAddVisualisation()

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

remove additional user-griggered visualisations

Reimplemented in GUIBaseVehicle, and GUIPerson.

Definition at line 210 of file GUIGlObject.h.

◆ removedPopupMenu()

virtual void GUIGlObject::removedPopupMenu ( )
inlinevirtualinherited

notify object about popup menu removal

Reimplemented in GUIBaseVehicle.

Definition at line 122 of file GUIGlObject.h.

Referenced by GUIGLObjectPopupMenu::~GUIGLObjectPopupMenu().

Here is the caller graph for this function:

◆ removeExplicitTurnaround()

void GNENet::removeExplicitTurnaround ( std::string  id)

remove edge id from the list of explicit turnarounds

Definition at line 2011 of file GNENet.cpp.

References myExplicitTurnarounds.

Referenced by GNEEdge::removeConnection().

Here is the caller graph for this function:

◆ removeGLObjectFromGrid()

◆ removeParameterTable()

void GUIGlObject::removeParameterTable ( GUIParameterTableWindow w)
inherited

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

Parameters
[in]wThe closed parameter window

Definition at line 369 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().

Here is the caller graph for this function:

◆ removeRestrictedLane()

bool GNENet::removeRestrictedLane ( SUMOVehicleClass  vclass,
GNEEdge edge,
GNEUndoList undoList 
)

remove restricted lane

Parameters
[in]vclassvehicle class to restrict
[in]edgethe edge in which remove sidewalk
[in]undoListThe undolist in which to mark changes

Definition at line 840 of file GNENet.cpp.

References deleteLane(), and GNEEdge::getLanes().

Referenced by GNEViewNet::removeRestrictedLane().

Here is the caller graph for this function:

◆ removeSolitaryJunctions()

void GNENet::removeSolitaryJunctions ( GNEUndoList undoList)

removes junctions that have no edges

Definition at line 1589 of file GNENet.cpp.

References GNEUndoList::begin(), deleteJunction(), GNEUndoList::end(), NBNode::getEdges(), GNENetHelper::AttributeCarriers::getJunctions(), GNEJunction::getNBNode(), MODEDELETE, myAttributeCarriers, SUMO_TAG_JUNCTION, and toString().

Referenced by GNEApplicationWindow::onCmdProcessButton().

Here is the caller graph for this function:

◆ replaceIncomingEdge()

void GNENet::replaceIncomingEdge ( GNEEdge which,
GNEEdge by,
GNEUndoList undoList 
)

◆ replaceInListAttribute()

void GNENet::replaceInListAttribute ( GNEAttributeCarrier ac,
SumoXMLAttr  key,
const std::string &  which,
const std::string &  by,
GNEUndoList undoList 
)
staticprivate

replace in list attribute

Definition at line 2802 of file GNENet.cpp.

References GNEAttributeCarrier::getAttribute(), GNETagProperties::getAttributeProperties(), GNEAttributeCarrier::getTagProperty(), GNEAttributeProperties::isList(), GNEAttributeCarrier::setAttribute(), and toString().

Referenced by replaceIncomingEdge().

Here is the caller graph for this function:

◆ replaceJunctionByGeometry()

◆ requireRecompute()

void GNENet::requireRecompute ( )

inform the net about the need for recomputation

Definition at line 1376 of file GNENet.cpp.

References myNeedRecompute.

Referenced by changeEdgeEndpoints(), createEdge(), deleteConnection(), deleteCrossing(), deleteEdge(), deleteLane(), duplicateLane(), GNEJunction::invalidateShape(), and GNEViewNet::onCmdToggleShowConnections().

Here is the caller graph for this function:

◆ requireSaveAdditionals()

◆ requireSaveDataElements()

◆ requireSaveDemandElements()

◆ requireSaveNet()

◆ requireSaveTLSPrograms()

void GNENet::requireSaveTLSPrograms ( )

◆ resetJunctionConnections()

void GNENet::resetJunctionConnections ( GNEJunction junction,
GNEUndoList undoList 
)

reset junction's connections

Definition at line 1930 of file GNENet.cpp.

References GNEUndoList::begin(), clearJunctionConnections(), CONNECTION, GNEUndoList::end(), and GNEJunction::setLogicValid().

Referenced by GNEViewNet::onCmdResetConnections().

Here is the caller graph for this function:

◆ restrictLane()

bool GNENet::restrictLane ( SUMOVehicleClass  vclass,
GNELane lane,
GNEUndoList undoList 
)

transform lane to restricted lane

Parameters
[in]vclassvehicle class to restrict
[in]laneThe lane to be transformed
[in]undoListThe undolist in which to mark changes

Definition at line 752 of file GNENet.cpp.

References OptionsCont::getFloat(), GNEEdge::getLanes(), GNEEdge::getNBEdge(), OptionsCont::getOptions(), GNELane::getParentEdge(), NBEdge::getPermissions(), getVehicleClassNames(), GNELane::setAttribute(), SUMO_ATTR_ALLOW, SUMO_ATTR_WIDTH, SVC_BICYCLE, SVC_PEDESTRIAN, and toString().

Referenced by addGreenVergeLane(), addRestrictedLane(), and GNEViewNet::restrictLane().

Here is the caller graph for this function:

◆ reverseEdge()

void GNENet::reverseEdge ( GNEEdge edge,
GNEUndoList undoList 
)

reverse edge

Parameters
[in]edgeThe edge to be reversed

Definition at line 994 of file GNENet.cpp.

References GNEUndoList::begin(), createEdge(), deleteEdge(), EDGE, GNEUndoList::end(), GNEEdge::getAttribute(), GNEEdge::getFromJunction(), GNEAttributeCarrier::getID(), NBEdge::getInnerGeometry(), GNEEdge::getNBEdge(), GNEEdge::getToJunction(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, PositionVector::reverse(), GNEEdge::setAttribute(), SUMO_ATTR_SHAPE, SUMO_TAG_EDGE, and toString().

Referenced by GNEViewNet::onCmdReverseEdge().

Here is the caller graph for this function:

◆ saveAdditionals()

void GNENet::saveAdditionals ( const std::string &  filename)

save additional elements of the network

Parameters
[in]filenamename of the file in which save additionals

Definition at line 2030 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getAdditionals(), myAdditionalsSaved, myAttributeCarriers, myViewNet, saveAdditionalsConfirmed(), SUMO_ATTR_LANE, SUMO_ATTR_LANES, GNEViewNet::updateViewNet(), and WRITE_DEBUG.

Referenced by GNEApplicationWindow::computeJunctionWithVolatileOptions(), and GNEApplicationWindow::onCmdSaveAdditionals().

Here is the caller graph for this function:

◆ saveAdditionalsConfirmed()

◆ saveDataElements()

void GNENet::saveDataElements ( const std::string &  filename)

save data set elements of the network

Parameters
[in]filenamename of the file in which save data sets

Definition at line 2163 of file GNENet.cpp.

References computeDataElements(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getViewParent(), myDataElementsSaved, myViewNet, saveDataElementsConfirmed(), and WRITE_DEBUG.

Referenced by GNEApplicationWindow::computeJunctionWithVolatileOptions(), and GNEApplicationWindow::onCmdSaveDataElements().

Here is the caller graph for this function:

◆ saveDataElementsConfirmed()

void GNENet::saveDataElementsConfirmed ( const std::string &  filename)
private

save data elements after confirming invalid objects

Definition at line 2307 of file GNENet.cpp.

References OutputDevice::close(), EMPTY_HEADER, GNENetHelper::AttributeCarriers::getDataSets(), OutputDevice::getDevice(), myAttributeCarriers, and OutputDevice::writeXMLHeader().

Referenced by saveDataElements().

Here is the caller graph for this function:

◆ saveDemandElements()

void GNENet::saveDemandElements ( const std::string &  filename)

save demand element elements of the network

Parameters
[in]filenamename of the file in which save demand elements

Definition at line 2096 of file GNENet.cpp.

References computeDemandElements(), GNENetHelper::AttributeCarriers::getDemandElements(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getViewParent(), myAttributeCarriers, myDemandElementsSaved, myViewNet, GNEDemandElement::OK, saveDemandElementsConfirmed(), GNEViewNet::updateViewNet(), and WRITE_DEBUG.

Referenced by GNEApplicationWindow::computeJunctionWithVolatileOptions(), and GNEApplicationWindow::onCmdSaveDemandElements().

Here is the caller graph for this function:

◆ saveDemandElementsConfirmed()

void GNENet::saveDemandElementsConfirmed ( const std::string &  filename)
private

save demand elements after confirming invalid objects

Definition at line 2270 of file GNENet.cpp.

References OutputDevice::close(), EMPTY_HEADER, GNENetHelper::AttributeCarriers::getDemandElements(), OutputDevice::getDevice(), myAttributeCarriers, writeRouteComment(), writeRoutes(), writeVTypeComment(), writeVTypes(), and OutputDevice::writeXMLHeader().

Referenced by saveDemandElements().

Here is the caller graph for this function:

◆ saveEdgeTypes()

void GNENet::saveEdgeTypes ( const std::string &  filename)

save edgeTypes elements of the network

Parameters
[in]filenamename of the file in which save edgeTypes

Definition at line 2571 of file GNENet.cpp.

References NBTypeCont::clearTypes(), OutputDevice::close(), OutputDevice::closeTag(), OutputDevice::getDevice(), GNENetHelper::AttributeCarriers::getEdgeTypes(), NBNetBuilder::getTypeCont(), NBTypeCont::insertEdgeType(), NBTypeCont::insertLaneType(), myAttributeCarriers, myNetBuilder, OutputDevice::openTag(), SUMO_TAG_TYPE, and NBTypeCont::writeEdgeTypes().

Referenced by GNEApplicationWindow::onCmdSaveEdgeTypes().

Here is the caller graph for this function:

◆ saveJoined()

void GNENet::saveJoined ( OptionsCont oc,
const std::string &  filename 
)

save log of joined junctions (and nothing else)

Parameters
[in]ocThe OptionsCont which knows how and where to save

Definition at line 1222 of file GNENet.cpp.

References computeAndUpdate(), NBNetBuilder::getNodeCont(), myNetBuilder, and NWWriter_XML::writeJoinedJunctions().

Referenced by GNEApplicationWindow::onCmdSaveJoined().

Here is the caller graph for this function:

◆ saveNetwork()

void GNENet::saveNetwork ( OptionsCont oc)

save the network

Parameters
[in]ocThe OptionsCont which knows how and where to save

Definition at line 1191 of file GNENet.cpp.

References NBTypeCont::clearTypes(), computeAndUpdate(), GNENetHelper::AttributeCarriers::getEdgeTypes(), NBNetBuilder::getTypeCont(), NBTypeCont::insertEdgeType(), NBTypeCont::insertLaneType(), myAttributeCarriers, myNetBuilder, myNetSaved, and NWFrame::writeNetwork().

Referenced by GNEApplicationWindow::onCmdSaveNetwork().

Here is the caller graph for this function:

◆ savePlain()

void GNENet::savePlain ( OptionsCont oc,
const std::string &  prefix 
)

save plain xml representation of the network (and nothing else)

Parameters
[in]ocThe OptionsCont which knows how and where to save

Definition at line 1214 of file GNENet.cpp.

References computeAndUpdate(), myNetBuilder, and NWWriter_XML::writeNetwork().

Referenced by GNEApplicationWindow::onCmdSaveAsPlainXML().

Here is the caller graph for this function:

◆ saveTLSPrograms()

void GNENet::saveTLSPrograms ( const std::string &  filename)

save TLS Programs elements of the network

Parameters
[in]filenamename of the file in which save TLS Programs

Definition at line 2550 of file GNENet.cpp.

References OutputDevice::close(), OutputDevice::getDevice(), getTLLogicCont(), myTLSProgramsSaved, OutputDevice::openTag(), WRITE_DEBUG, and NWWriter_SUMO::writeTrafficLights().

Referenced by GNEApplicationWindow::onCmdSaveTLSPrograms().

Here is the caller graph for this function:

◆ selectGLObject()

void GUIGlObject::selectGLObject ( )
virtualinherited

select GLObject (Currently used only in NETEDIT)

Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, and GNENetworkElement.

Definition at line 224 of file GUIGlObject.cpp.

◆ selectRoundabout()

void GNENet::selectRoundabout ( GNEJunction junction,
GNEUndoList undoList 
)

select all roundabout edges and junctions for the current roundabout

Definition at line 1075 of file GNENet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), NBNetBuilder::getEdgeCont(), GNEJunction::getNBNode(), NBEdgeCont::getRoundabouts(), GNEEdge::getToJunction(), GNE_ATTR_SELECTED, JUNCTION, myAttributeCarriers, myNetBuilder, GNENetHelper::AttributeCarriers::retrieveEdge(), GNEEdge::setAttribute(), and GNEJunction::setAttribute().

Referenced by GNEViewNet::onCmdSelectRoundabout().

Here is the caller graph for this function:

◆ setBlocked()

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

set blocking status

Definition at line 169 of file GUIGlObject.h.

References GUIGlObject::myAmBlocked.

Referenced by GUIGlObjectStorage::getObjectBlocking().

Here is the caller graph for this function:

◆ setMicrosimID()

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

Changes the microsimID of the object.

Note
happens in NETEDIT

Reimplemented in GNEEdge.

Definition at line 242 of file GUIGlObject.cpp.

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

Referenced by GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEContainerStop::setAttribute(), GNEDestProbReroute::setAttribute(), GNEInductionLoopDetector::setAttribute(), GNEInstantInductionLoopDetector::setAttribute(), GNELaneAreaDetector::setAttribute(), GNEMultiEntryExitDetector::setAttribute(), GNEOverheadWire::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNERerouter::setAttribute(), GNERouteProbe::setAttribute(), GNERouteProbReroute::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNETractionSubstation::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEContainer::setAttribute(), GNEPerson::setAttribute(), GNERoute::setAttribute(), GNEVehicle::setAttribute(), GNEVType::setAttribute(), GNEVTypeDistribution::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNELane::setIndex(), GNEEdge::setMicrosimID(), GNENetHelper::AttributeCarriers::updateEdgeTypeID(), GNEConnection::updateID(), and GNENetHelper::AttributeCarriers::updateJunctionID().

Here is the caller graph for this function:

◆ setViewNet()

void GNENet::setViewNet ( GNEViewNet viewNet)

Set the net to be notified of network changes.

Definition at line 1230 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::addDefaultVTypes(), GNENetHelper::AttributeCarriers::getEdges(), myAttributeCarriers, and myViewNet.

◆ splitEdge()

◆ splitEdgesBidi()

void GNENet::splitEdgesBidi ( GNEEdge edge,
GNEEdge oppositeEdge,
const Position pos,
GNEUndoList undoList 
)

split all edges at position by inserting one new junction

Parameters
[in]edgeThe edge to be split
[in]oppositeEdgeThe oppositeEdge to be split
[in]posThe position on which to insert the new junction

Definition at line 971 of file GNENet.cpp.

References GNEUndoList::begin(), EDGE, GNEUndoList::end(), NBNode::getEdges(), GNEEdge::getLanes(), GNEJunction::getNBNode(), GNE_ATTR_OPPOSITE, myAttributeCarriers, GNENetHelper::AttributeCarriers::retrieveEdge(), splitEdge(), SUMO_TAG_EDGE, and toString().

Referenced by GNEViewNet::onCmdSplitEdgeBidi(), and GNEViewNet::processLeftButtonPressNetwork().

Here is the caller graph for this function:

◆ splitJunction()

◆ updateGLObject()

void GUIGlObject::updateGLObject ( )
virtualinherited

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

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

Definition at line 230 of file GUIGlObject.cpp.

◆ writeAdditionalByType()

void GNENet::writeAdditionalByType ( OutputDevice device,
const std::vector< SumoXMLTag tags 
) const
private

write additional element by type and sorted by ID

Definition at line 2320 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getAdditionals(), and myAttributeCarriers.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

◆ writeCalibratorComment()

bool GNENet::writeCalibratorComment ( OutputDevice device) const
private

write calibrator comment

Definition at line 2455 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getAdditionals(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isCalibrator(), and myAttributeCarriers.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

◆ writeDemandByType()

void GNENet::writeDemandByType ( OutputDevice device,
SumoXMLTag  tag 
) const
private

write demand element by type and sorted by ID

Definition at line 2338 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDemandElements(), and myAttributeCarriers.

◆ writeDetectorComment()

bool GNENet::writeDetectorComment ( OutputDevice device) const
private

write detector comment

Definition at line 2479 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getAdditionals(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isDetector(), and myAttributeCarriers.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

◆ writeOtherAdditionalsComment()

bool GNENet::writeOtherAdditionalsComment ( OutputDevice device) const
private

write other additional comment

Definition at line 2491 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getAdditionals(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isAdditionalPureElement(), GNETagProperties::isCalibrator(), GNETagProperties::isDetector(), GNETagProperties::isStoppingPlace(), myAttributeCarriers, SUMO_TAG_ACCESS, SUMO_TAG_PARKING_SPACE, and SUMO_TAG_ROUTEPROBE.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

◆ writeRouteComment()

bool GNENet::writeRouteComment ( OutputDevice device,
const bool  additionalFile 
) const
private

write route comment

Definition at line 2430 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDemandElements(), myAttributeCarriers, and SUMO_TAG_ROUTE.

Referenced by saveAdditionalsConfirmed(), and saveDemandElementsConfirmed().

Here is the caller graph for this function:

◆ writeRouteProbeComment()

bool GNENet::writeRouteProbeComment ( OutputDevice device) const
private

write routeProbe comment

Definition at line 2445 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getAdditionals(), myAttributeCarriers, and SUMO_TAG_ROUTEPROBE.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

◆ writeRoutes()

void GNENet::writeRoutes ( OutputDevice device,
const bool  additionalFile 
) const
private

write route sorted by ID

Definition at line 2350 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDemandElements(), myAttributeCarriers, and SUMO_TAG_ROUTE.

Referenced by saveAdditionalsConfirmed(), and saveDemandElementsConfirmed().

Here is the caller graph for this function:

◆ writeShapesComment()

bool GNENet::writeShapesComment ( OutputDevice device) const
private

write shape comment

Definition at line 2508 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getAdditionals(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isShapeElement(), and myAttributeCarriers.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

◆ writeStoppingPlaceComment()

bool GNENet::writeStoppingPlaceComment ( OutputDevice device) const
private

write stoppingPlace comment

Definition at line 2467 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getAdditionals(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::isStoppingPlace(), and myAttributeCarriers.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

◆ writeTAZComment()

bool GNENet::writeTAZComment ( OutputDevice device) const
private

write TAZ comment

Definition at line 2520 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getAdditionals(), myAttributeCarriers, and SUMO_TAG_TAZ.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

◆ writeVTypeComment()

bool GNENet::writeVTypeComment ( OutputDevice device,
const bool  additionalFile 
) const
private

write vType comment

Definition at line 2398 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDemandElements(), GNE_ATTR_DEFAULT_VTYPE, GNE_ATTR_DEFAULT_VTYPE_MODIFIED, myAttributeCarriers, SUMO_TAG_VTYPE, and SUMO_TAG_VTYPE_DISTRIBUTION.

Referenced by saveAdditionalsConfirmed(), and saveDemandElementsConfirmed().

Here is the caller graph for this function:

◆ writeVTypes()

void GNENet::writeVTypes ( OutputDevice device,
const bool  additionalFile 
) const
private

write vTypes sorted by ID

Definition at line 2365 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDemandElements(), GNE_ATTR_DEFAULT_VTYPE, GNE_ATTR_DEFAULT_VTYPE_MODIFIED, myAttributeCarriers, SUMO_TAG_VTYPE, and SUMO_TAG_VTYPE_DISTRIBUTION.

Referenced by saveAdditionalsConfirmed(), and saveDemandElementsConfirmed().

Here is the caller graph for this function:

◆ writeWireComment()

bool GNENet::writeWireComment ( OutputDevice device) const
private

write Wire comment

Definition at line 2530 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getAdditionals(), myAttributeCarriers, and SUMO_TAG_TRACTION_SUBSTATION.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

Field Documentation

◆ EMPTY_HEADER

const std::map< SumoXMLAttr, std::string > GNENet::EMPTY_HEADER
staticprivate

variable used for write headers in additional, demand and data elements

Definition at line 629 of file GNENet.h.

Referenced by saveAdditionalsConfirmed(), saveDataElementsConfirmed(), and saveDemandElementsConfirmed().

◆ GUIGlObjectTypeNamesInitializer

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

vector for TypeNames Initializer

Definition at line 343 of file GUIGlObject.h.

◆ INVALID_ID

◆ myAdditionalsSaved

bool GNENet::myAdditionalsSaved
protected

Flag to check if additionals has to be saved.

Definition at line 541 of file GNENet.h.

Referenced by isAdditionalsSaved(), requireSaveAdditionals(), and saveAdditionals().

◆ myAmBlocked

bool GUIGlObject::myAmBlocked
privateinherited

whether the object can be deleted

Definition at line 329 of file GUIGlObject.h.

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

◆ myAttributeCarriers

◆ myDataElementsSaved

bool GNENet::myDataElementsSaved
protected

Flag to check if data elements has to be saved.

Definition at line 550 of file GNENet.h.

Referenced by isDataElementsSaved(), requireSaveDataElements(), and saveDataElements().

◆ myDemandElementsSaved

bool GNENet::myDemandElementsSaved
protected

Flag to check if demand elements has to be saved.

Definition at line 547 of file GNENet.h.

Referenced by isDemandElementsSaved(), requireSaveDemandElements(), and saveDemandElements().

◆ myEdgeIDCounter

unsigned int GNENet::myEdgeIDCounter
protected

Definition at line 528 of file GNENet.h.

Referenced by createEdge().

◆ myEdgesAndNumberOfLanes

std::map<std::string, int> GNENet::myEdgesAndNumberOfLanes
private

map with the Edges and their number of lanes

Definition at line 623 of file GNENet.h.

Referenced by computeNetwork(), and getEdgesAndNumberOfLanes().

◆ myExplicitTurnarounds

std::set<std::string> GNENet::myExplicitTurnarounds
protected

list of edge ids for which turn-arounds must be added explicitly

Definition at line 532 of file GNENet.h.

Referenced by addExplicitTurnaround(), computeAndUpdate(), and removeExplicitTurnaround().

◆ myFullName

std::string GUIGlObject::myFullName
privateinherited

full name of GL Object

Definition at line 323 of file GUIGlObject.h.

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

◆ myGlID

const GUIGlID GUIGlObject::myGlID
privateinherited

The numerical id of the object.

Definition at line 314 of file GUIGlObject.h.

Referenced by GUIGlObject::getGlID().

◆ myGLObjectType

const GUIGlObjectType GUIGlObject::myGLObjectType
privateinherited

◆ myGrid

SUMORTree GNENet::myGrid
protected

the rtree which contains all GUIGlObjects (so named for historical reasons)

Definition at line 511 of file GNENet.h.

Referenced by addGLObjectIntoGrid(), computeAndUpdate(), expandBoundary(), getBoundary(), getGrid(), initJunctionsAndEdges(), and removeGLObjectFromGrid().

◆ myIcon

FXIcon* GUIGlObject::myIcon
privateinherited

icon associatd with this GL Object

Definition at line 326 of file GUIGlObject.h.

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

◆ myJunctionIDCounter

unsigned int GNENet::myJunctionIDCounter
protected

Definition at line 527 of file GNENet.h.

Referenced by createJunction().

◆ myMicrosimID

std::string GUIGlObject::myMicrosimID
privateinherited

ID of GL object.

Definition at line 320 of file GUIGlObject.h.

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

◆ myNeedRecompute

bool GNENet::myNeedRecompute
protected

whether the net needs recomputation

Definition at line 535 of file GNENet.h.

Referenced by computeAndUpdate(), computeNetwork(), isNetRecomputed(), and requireRecompute().

◆ myNetBuilder

◆ myNetSaved

bool GNENet::myNetSaved
protected

Flag to check if net has to be saved.

Definition at line 538 of file GNENet.h.

Referenced by isNetSaved(), requireSaveNet(), and saveNetwork().

◆ myParamWindows

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

Parameter table windows which refer to this object.

Definition at line 332 of file GUIGlObject.h.

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

◆ myPathManager

GNEPathManager* GNENet::myPathManager
protected

Path manager.

Definition at line 523 of file GNENet.h.

Referenced by computeDemandElements(), deleteEdge(), deleteJunction(), deleteLane(), getPathManager(), and ~GNENet().

◆ myTLSProgramsSaved

bool GNENet::myTLSProgramsSaved
protected

Flag to check if shapes has to be saved.

Definition at line 544 of file GNENet.h.

Referenced by requireSaveTLSPrograms(), and saveTLSPrograms().

◆ myUpdateDataEnabled

bool GNENet::myUpdateDataEnabled
protected

Flag to enable or disable update data elements after inserting or removing element in net.

Definition at line 556 of file GNENet.h.

Referenced by disableUpdateData(), enableUpdateData(), and isUpdateDataEnabled().

◆ myUpdateGeometryEnabled

bool GNENet::myUpdateGeometryEnabled
protected

Flag to enable or disable update geometry of elements after inserting or removing element in net.

Definition at line 553 of file GNENet.h.

Referenced by computeAndUpdate(), disableUpdateGeometry(), enableUpdateGeometry(), and isUpdateGeometryEnabled().

◆ myViewNet

◆ myZBoundary

Boundary GNENet::myZBoundary
private

the z boundary (stored in the x-coordinate), values of 0 are ignored

Definition at line 620 of file GNENet.h.

Referenced by addZValueInBoundary(), getZBoundary(), and GNENet().

◆ TypeNames

StringBijection< GUIGlObjectType > GUIGlObject::TypeNames
staticinherited

◆ Z_INITIALIZED

const double GNENet::Z_INITIALIZED = 1
staticprivate

marker for whether the z-boundary is initialized

Definition at line 626 of file GNENet.h.

Referenced by addZValueInBoundary(), and GNENet().


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