Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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
void addGLObjectIntoGrid (GNEAttributeCarrier *AC)
 add GL Object into net
bool addGreenVergeLane (GNEEdge *edge, int index, GNEUndoList *undoList)
 add restricted lane to edge
bool addRestrictedLane (SUMOVehicleClass vclass, GNEEdge *edge, int index, GNEUndoList *undoList)
 add restricted lane to edge
GNEEdgeaddReversedEdge (GNEEdge *edge, const bool disconnected, GNEUndoList *undoList)
 add reversed edge
void adjustPersonPlans (GNEUndoList *undoList)
 adjust person plans
void changeEdgeEndpoints (GNEEdge *edge, const std::string &newSourceID, const std::string &newDestID)
 modifies endpoins of the given edge
bool cleanInvalidCrossings (GNEUndoList *undoList)
 clear invalid crossings
void cleanInvalidDemandElements (GNEUndoList *undoList)
 clean invalid demand elements
void cleanUnusedRoutes (GNEUndoList *undoList)
 clean unused routes
void clearAdditionalElements (GNEUndoList *undoList)
 clear additionals
void clearDataElements (GNEUndoList *undoList)
 clear data elements
void clearDemandElements (GNEUndoList *undoList)
 clear demand elements
void clearJunctionConnections (GNEJunction *junction, GNEUndoList *undoList)
 clear junction's connections
void clearMeanDataElements (GNEUndoList *undoList)
 clear meanDatas
void computeAndUpdate (OptionsCont &neteditOptions, bool volatileOptions)
 recompute the network and update lane geometries
void computeDataElements (GNEApplicationWindow *window)
 compute data elements param[in] window The window to inform about delay
void computeDemandElements (GNEApplicationWindow *window)
 compute demand elements param[in] window The window to inform about delay
void computeJunction (GNEJunction *junction)
 trigger recomputation of junction shape and logic param[in] window The window to inform about delay
void computeNetwork (GNEApplicationWindow *window, bool force=false, bool volatileOptions=false)
 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
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)
GNEJunctioncreateJunction (const Position &pos, GNEUndoList *undoList)
 creates a new junction
void createRoundabout (GNEJunction *junction, GNEUndoList *undoList)
 transform the given junction into a roundabout
void deleteAdditional (GNEAdditional *additional, GNEUndoList *undoList)
 remove additional
void deleteConnection (GNEConnection *connection, GNEUndoList *undoList)
 remove connection
void deleteCrossing (GNECrossing *crossing, GNEUndoList *undoList)
 remove crossing
void deleteDataInterval (GNEDataInterval *dataInterval, GNEUndoList *undoList)
 remove data interval
void deleteDataSet (GNEDataSet *dataSet, GNEUndoList *undoList)
 remove data set
void deleteDemandElement (GNEDemandElement *demandElement, GNEUndoList *undoList)
 remove demand element
void deleteEdge (GNEEdge *edge, GNEUndoList *undoList, bool recomputeConnections)
 removes edge
void deleteGenericData (GNEGenericData *genericData, GNEUndoList *undoList)
 remove generic data
void deleteJunction (GNEJunction *junction, GNEUndoList *undoList)
 removes junction and all incident edges
void deleteLane (GNELane *lane, GNEUndoList *undoList, bool recomputeConnections)
 removes lane
void deleteMeanData (GNEMeanData *meanData, GNEUndoList *undoList)
 remove generic data
void deleteNetworkElement (GNENetworkElement *networkElement, GNEUndoList *undoList)
 delete network element
void deleteTAZSourceSink (GNETAZSourceSink *TAZSourceSink, GNEUndoList *undoList)
 remove TAZSourceSink
virtual void drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
 Draws additional, user-triggered visualisations.
void drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0, bool forceShow=false) const
 draw name of item
void duplicateLane (GNELane *lane, GNEUndoList *undoList, bool recomputeConnections)
 duplicates lane
GNENetHelper::ACTemplategetACTemplates () const
 get all attribute carriers templates used in this net
FXApp * getApp ()
 get pointer to the main App
GNENetHelper::AttributeCarriersgetAttributeCarriers () const
 get all attribute carriers used in this net
const BoundarygetBoundary () const
 returns the bounder of the network
GNEPathManagergetDataPathManager ()
 get data path manager
double getDataSetIntervalMaximumEnd () const
 get maximum interval
double getDataSetIntervalMinimumBegin () const
 get minimum interval
GNEPathManagergetDemandPathManager ()
 get demand path manager
NBEdgeContgetEdgeCont ()
 returns the NBEdgeCont of the underlying netbuilder
const std::map< std::string, int > & getEdgesAndNumberOfLanes () const
 et edges and number of lanes
SUMORTreegetGrid ()
 Returns the RTree used for visualisation speed-up.
NBNetBuildergetNetBuilder () const
 get net builder
GNEPathManagergetNetworkPathManager ()
 get network path manager
int getNumberOfTLSPrograms () const
 get number of TLS Programs
GNENetHelper::SavingFilesHandlergetSavingFilesHandler () const
 get saving files handler
GNENetHelper::SavingStatusgetSavingStatus () const
 get saving status
const GNETagPropertiesDatabasegetTagPropertiesDatabase () const
 get tag properties database
NBTrafficLightLogicContgetTLLogicCont ()
 returns the tllcont of the underlying netbuilder
GNEViewNetgetViewNet () const
 get view net
 GNENet (NBNetBuilder *netBuilder, const GNETagPropertiesDatabase *tagPropertiesDatabase)
 constructor
void initGNEConnections ()
 initialize GNEConnections
bool isNetRecomputed () const
 check if net require recomputing
void joinRoutes (GNEUndoList *undoList)
 join routes
bool joinSelectedJunctions (GNEUndoList *undoList)
 join selected junctions
void mergeJunctions (GNEJunction *moved, const GNEJunction *target, GNEUndoList *undoList)
 merge the given junctions edges between the given junctions will be deleted
virtual void onLeftBtnPress (void *)
 notify object about left click
virtual void removeActiveAddVisualisation (GUISUMOAbstractView *const, int)
 remove additional user-griggered visualisations
void removeExplicitTurnaround (std::string id)
 remove edge id from the list of explicit turnarounds
void removeGLObjectFromGrid (GNEAttributeCarrier *AC)
 add GL Object into net
bool removeRestrictedLane (SUMOVehicleClass vclass, GNEEdge *edge, GNEUndoList *undoList)
 remove restricted lane
void removeSolitaryJunctions (GNEUndoList *undoList)
 removes junctions that have no edges
void replaceIncomingEdge (GNEEdge *which, GNEEdge *by, GNEUndoList *undoList)
 replaces edge
void replaceJunctionByGeometry (GNEJunction *junction, GNEUndoList *undoList)
 replace the selected junction by geometry node(s) and merge the edges
void requireRecompute ()
 inform the net about the need for recomputation
void resetJunctionConnections (GNEJunction *junction, GNEUndoList *undoList)
 reset junction's connections
bool restrictLane (SUMOVehicleClass vclass, GNELane *lane, GNEUndoList *undoList)
 transform lane to restricted lane
void reverseEdge (GNEEdge *edge, GNEUndoList *undoList)
 reverse edge
bool saveAdditionals ()
 save additional elements
bool saveDataElements ()
 save data set elements of the network
bool saveDemandElements ()
 save demand element elements of the network
void saveEdgeTypes (const std::string &filename)
 save edgeTypes elements of the network
void saveJoined (const std::string &filename)
 save log of joined junctions (and nothing else)
bool saveJuPedSimElements (const std::unordered_set< const GNEAttributeCarrier * > &ACs, const std::string &file)
 save JuPedSim elements
bool saveMeanDatas ()
 save meanData elements of the network
void saveNetwork ()
 save the network
void savePlain (const std::string &prefix)
 save plain xml representation of the network (and nothing else)
void saveTLSPrograms (const std::string &filename)
 save TLS Programs elements of the network
void selectRoundabout (GNEJunction *junction, GNEUndoList *undoList)
 select all roundabout edges and junctions for the current roundabout
void setViewNet (GNEViewNet *viewNet)
 Set the net to be notified of network changes.
std::pair< GNEJunction *, GNEEdge * > splitEdge (GNEEdge *edge, const Position &pos, GNEUndoList *undoList, GNEJunction *newJunction=0)
 split edge at position by inserting a new junction
void splitEdgesBidi (GNEEdge *edge, GNEEdge *oppositeEdge, const Position &pos, GNEUndoList *undoList)
 split all edges at position by inserting one new junction
void splitJunction (GNEJunction *junction, bool reconnect, GNEUndoList *undoList)
 replace the selected junction by a list of junctions for each unique edge endpoint
 ~GNENet ()
 Destructor.
inherited from GUIGlObject
GUIGLObjectPopupMenugetPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent) override
 Returns an own popup-menu.
GUIParameterTableWindowgetParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent) override
 Returns an own parameter window.
Boundary getCenteringBoundary () const override
 Returns the boundary to which the view shall be centered in order to show the object.
void expandBoundary (const Boundary &newBoundary)
 expand boundary
const BoundarygetZBoundary () const
 Returns the Z boundary (stored in the x() coordinate) values of 0 do not affect the boundary.
void addZValueInBoundary (const double z)
 add Z in net boundary
void drawGL (const GUIVisualizationSettings &s) const override
 Draws the object.
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
bool isUpdateGeometryEnabled () const
 check if update geometry after inserting or removing has to be updated
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
bool isUpdateDataEnabled () const
 check if update data after inserting or removing has to be updated
get junction id counter
unsigned int & getJunctionIDCounter ()
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).
GUIGlID getGlID () const
 Returns the numerical id of the object.
FXIcon * getGLIcon () const
 get icon associated with this GL Object
interfaces to be implemented by derived classes
virtual void removedPopupMenu ()
 notify object about popup menu removal
virtual GUIParameterTableWindowgetTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own type parameter window (optional).
const std::string & getMicrosimID () const
 Returns the id of the object as known to microsim.
virtual const std::string getOptionalName () const
 Returns the name of the object (default "").
virtual void setMicrosimID (const std::string &newID)
 Changes the microsimID of the object.
GUIGlObjectType getType () const
 Returns the type of the object as coded in GUIGlObjectType.
virtual double getClickPriority () const
 Returns the priority of receiving mouse clicks.
bool isBlocked () const
 get blocking status
void setBlocked (const bool state=true)
 set blocking status
virtual double getExaggeration (const GUIVisualizationSettings &s) const
 return exaggeration associated with this GLObject
virtual Position getCenter () const
virtual double getScaleVisual () const
 return individual scaling factor for this object
virtual bool isGLObjectLocked () const
 check if element is locked (Currently used only in netedit)
virtual void markAsFrontElement ()
 mark element as front element (Currently used only in netedit)
virtual void deleteGLObject ()
 delete GLObject (Currently used only in netedit)
virtual void selectGLObject ()
 select GLObject (Currently used only in netedit)
virtual void updateGLObject ()
 update GLObject (geometry, ID, etc.) (optional)
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.

Static Public Attributes

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

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
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
helper methods for building popup-menus

build common popup options

void buildPopUpMenuCommonOptions (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, GUISUMOAbstractView *parent, const SumoXMLTag tag, const bool selected, bool addSeparator=true)
void buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true)
 Builds the header.
void buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to center to the object.
void buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds entries which allow to copy the name / typed name into the clipboard.
void buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to (de)select the object.
void buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the parameter window.
void buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the type parameter window.
void buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, const GUIMainWindow &app, bool addSeparator=true) 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.
void buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the manipulator window.

Private Member Functions

std::string createFullName () const
 create full name

Private Attributes

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

Static Private Attributes

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

get edge id counter

static const std::map< SumoXMLAttr, std::string > EMPTY_HEADER
 variable used for write headers in additional, demand and data elements
SUMORTree myGrid
 the rtree which contains all GUIGlObjects (so named for historical reasons)
NBNetBuildermyNetBuilder
 The internal netbuilder.
GNEViewNetmyViewNet = nullptr
 The net to be notified of about changes.
const GNETagPropertiesDatabasemyTagPropertiesDatabase = nullptr
 pointer to tagProperties database
GNENetHelper::AttributeCarriersmyAttributeCarriers = nullptr
 attributeCarriers module
GNENetHelper::ACTemplatemyACTemplates = nullptr
 attributeCarriers templates
GNENetHelper::SavingFilesHandlermySavingFilesHandler = nullptr
 saving files handler module
GNENetHelper::SavingStatusmySavingStatus = nullptr
 saving status module
GNEPathManagermyNetworkPathManager = nullptr
 Network path manager.
GNEPathManagermyDemandPathManager = nullptr
 Demand path manager.
GNEPathManagermyDataPathManager = nullptr
 Data path manager.
unsigned int & getEdgeIDCounter ()

counters for junction/edge IDs

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

Detailed Description

A NBNetBuilder extended by visualisation and editing capabilities.

Definition at line 42 of file GNENet.h.

Constructor & Destructor Documentation

◆ GNENet() [1/3]

GNENet::GNENet ( NBNetBuilder * netBuilder,
const GNETagPropertiesDatabase * tagPropertiesDatabase )

constructor

Definition at line 95 of file GNENet.cpp.

References GUIGlObjectStorage::gIDStorage, GLO_NETWORK, GUIGlObject::GUIGlObject(), initJunctionsAndEdges(), myACTemplates, myAttributeCarriers, myDataPathManager, myDemandPathManager, myNetBuilder, myNetworkPathManager, mySavingFilesHandler, mySavingStatus, myTagPropertiesDatabase, myZBoundary, and Z_INITIALIZED.

Referenced by GNENet(), and operator=().

Here is the caller graph for this function:

◆ ~GNENet()

GNENet::~GNENet ( )

◆ GNENet() [2/3]

GNENet::GNENet ( )
privatedelete

Invalidated default constructor.

◆ GNENet() [3/3]

GNENet::GNENet ( const GNENet & )
privatedelete

Invalidated copy constructor.

References GNENet().

Member Function Documentation

◆ addExplicitTurnaround()

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

add edge id to the list of explicit turnarounds

Definition at line 2211 of file GNENet.cpp.

References myExplicitTurnarounds.

◆ addGLObjectIntoGrid()

void GNENet::addGLObjectIntoGrid ( GNEAttributeCarrier * AC)

add GL Object into net

Definition at line 1440 of file GNENet.cpp.

References GNEAttributeCarrier::getGUIGlObject(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::inGrid(), GNETagProperties::isPlacedInRTree(), myGrid, and GNEAttributeCarrier::setInGrid().

Referenced by computeAndUpdate().

Here is the caller graph for this function:

◆ 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 942 of file GNENet.cpp.

References duplicateLane(), GNEHierarchicalElement::getChildLanes(), MIN2(), restrictLane(), and SVC_IGNORING.

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow * w)
inherited

Definition at line 411 of file GUIGlObject.cpp.

References myParamWindows.

◆ 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 906 of file GNENet.cpp.

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

◆ addReversedEdge()

◆ addZValueInBoundary()

void GNENet::addZValueInBoundary ( const double z)

add Z in net boundary

Definition at line 252 of file GNENet.cpp.

References myZBoundary, and Z_INITIALIZED.

◆ adjustPersonPlans()

◆ buildAdditionalsPopupOptions()

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

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

Definition at line 449 of file GUIGlObject.cpp.

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

◆ buildCenterPopupEntry()

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

◆ buildNameCopyPopupEntry()

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

◆ buildPopupHeader()

◆ buildPopUpMenuCommonOptions()

◆ buildPositionCopyEntry()

void GUIGlObject::buildPositionCopyEntry ( GUIGLObjectPopupMenu * ret,
const GUIMainWindow & app,
bool addSeparator = true ) const
protectedinherited

◆ buildSelectionPopupEntry()

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

◆ buildShapePopupOptions()

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

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

Definition at line 426 of file GUIGlObject.cpp.

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

Referenced by GUIPointOfInterest::getPopUpMenu().

Here is the caller graph for this function:

◆ buildShowManipulatorPopupEntry()

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

Builds an entry which allows to open the manipulator window.

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

Definition at line 402 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildShowParamsPopupEntry()

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

◆ 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 366 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ changeEdgeEndpoints()

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

modifies endpoins of the given edge

Definition at line 2184 of file GNENet.cpp.

References GNEEdge::getNBEdge(), myAttributeCarriers, NBEdge::reinitNodes(), and requireRecompute().

◆ 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 1355 of file GNENet.cpp.

References myAttributeCarriers.

Referenced by joinSelectedJunctions().

Here is the caller graph for this function:

◆ cleanInvalidCrossings()

bool GNENet::cleanInvalidCrossings ( GNEUndoList * undoList)

◆ cleanInvalidDemandElements()

void GNENet::cleanInvalidDemandElements ( GNEUndoList * undoList)

◆ cleanUnusedRoutes()

void GNENet::cleanUnusedRoutes ( GNEUndoList * undoList)

clean unused routes

Definition at line 1798 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), MODEDELETE, myAttributeCarriers, SUMO_TAG_ROUTE, and TL.

◆ clearAdditionalElements()

void GNENet::clearAdditionalElements ( GNEUndoList * undoList)

clear additionals

Definition at line 2125 of file GNENet.cpp.

References GNEUndoList::begin(), deleteAdditional(), GNEUndoList::end(), MODEDELETE, myAttributeCarriers, and TL.

◆ clearDataElements()

void GNENet::clearDataElements ( GNEUndoList * undoList)

clear data elements

Definition at line 2160 of file GNENet.cpp.

References GNEUndoList::begin(), deleteDataSet(), GNEUndoList::end(), MODEDELETE, myAttributeCarriers, and TL.

◆ clearDemandElements()

void GNENet::clearDemandElements ( GNEUndoList * undoList)

◆ clearJunctionConnections()

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

clear junction's connections

Definition at line 2102 of file GNENet.cpp.

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

Referenced by replaceJunctionByGeometry(), and resetJunctionConnections().

Here is the caller graph for this function:

◆ clearMeanDataElements()

void GNENet::clearMeanDataElements ( GNEUndoList * undoList)

clear meanDatas

Definition at line 2171 of file GNENet.cpp.

References GNEUndoList::begin(), deleteMeanData(), GNEUndoList::end(), MODEDELETE, myAttributeCarriers, and TL.

◆ computeAndUpdate()

void GNENet::computeAndUpdate ( OptionsCont & neteditOptions,
bool volatileOptions )

recompute the network and update lane geometries

Definition at line 2977 of file GNENet.cpp.

References addGLObjectIntoGrid(), OptionsCont::getBool(), GeoConvHelper::getFinal(), initJunctionsAndEdges(), OptionsCont::isSet(), myAttributeCarriers, myExplicitTurnarounds, myGrid, myNeedRecompute, myNetBuilder, myUpdateGeometryEnabled, myViewNet, and removeGLObjectFromGrid().

Referenced by computeNetwork(), GNELoadThread::run(), saveJoined(), saveNetwork(), and savePlain().

Here is the caller graph for this function:

◆ computeDataElements()

void GNENet::computeDataElements ( GNEApplicationWindow * window)

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

Definition at line 1567 of file GNENet.cpp.

References myAttributeCarriers, GNEApplicationWindow::setStatusBarText(), and TL.

Referenced by saveDataElements().

Here is the caller graph for this function:

◆ computeDemandElements()

void GNENet::computeDemandElements ( GNEApplicationWindow * window)

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

Definition at line 1547 of file GNENet.cpp.

References myAttributeCarriers, myDemandPathManager, myViewNet, GNEApplicationWindow::setStatusBarText(), and TL.

Referenced by saveDemandElements().

Here is the caller graph for this function:

◆ 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 1580 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 )

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

Definition at line 1460 of file GNENet.cpp.

References computeAndUpdate(), getApp(), OptionsCont::getOptions(), StringTokenizer::getVector(), myAttributeCarriers, myEdgesAndNumberOfLanes, myNeedRecompute, myViewNet, DataHandler::parse(), GeneralHandler::parse(), GNEApplicationWindow::setStatusBarText(), TL, WRITE_ERROR, and WRITE_MESSAGE.

◆ 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 277 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNEAttributeCarrier::getID(), GNEEdge::getNBEdge(), GNEJunction::getNBNode(), OptionsCont::getOptions(), NBNode::getOutgoingEdges(), OptionsCont::getString(), myAttributeCarriers, myEdgeIDCounter, requireRecompute(), RIGHT, GNEJunction::setLogicValid(), TL, toString(), StringUtils::trim(), NBEdge::UNSPECIFIED_FRICTION, NBEdge::UNSPECIFIED_OFFSET, and NBEdge::UNSPECIFIED_WIDTH.

Referenced by addReversedEdge(), createRoundabout(), 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 472 of file GUIGlObject.cpp.

References getMicrosimID(), myGLObjectType, and TypeNames.

Referenced by GUIGlObject(), and 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 261 of file GNENet.cpp.

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

Referenced by addReversedEdge(), joinSelectedJunctions(), splitEdge(), and splitJunction().

Here is the caller graph for this function:

◆ createRoundabout()

◆ deleteAdditional()

void GNENet::deleteAdditional ( GNEAdditional * additional,
GNEUndoList * undoList )

remove additional

Parameters
[in]additionalThe additional to be removed
[in]undoListThe undolist in which to mark changes

Definition at line 712 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), deleteAdditional(), deleteDemandElement(), deleteGenericData(), deleteTAZSourceSink(), GNEUndoList::end(), GNEHierarchicalElement::getChildAdditionals(), GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getChildGenericDatas(), GNEHierarchicalElement::getChildTAZSourceSinks(), GNEAttributeCarrier::getTagStr(), MODEDELETE, and TL.

Referenced by clearAdditionalElements(), deleteAdditional(), deleteDemandElement(), deleteEdge(), and deleteLane().

Here is the caller graph for this function:

◆ deleteConnection()

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

remove connection

Parameters
[in]connectionThe connection to be removed
[in]undoListThe undolist in which to mark changes

Definition at line 679 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNEConnection::getEdgeFrom(), GNEConnection::getNBConnection(), GNEConnection::getNBEdgeConnection(), GNEEdge::getToJunction(), GNEJunction::invalidateTLS(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNEJunction::markAsModified(), MODEDELETE, requireRecompute(), and TL.

Referenced by clearJunctionConnections(), and deleteNetworkElement().

Here is the caller graph for this function:

◆ deleteCrossing()

void GNENet::deleteCrossing ( GNECrossing * crossing,
GNEUndoList * undoList )

remove crossing

Parameters
[in]crossingThe crossing to be removed
[in]undoListThe undolist in which to mark changes

Definition at line 694 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), NBNode::Crossing::customShape, NBNode::Crossing::customTLIndex, NBNode::Crossing::customTLIndex2, NBNode::Crossing::edges, GNEUndoList::end(), GNECrossing::getNBCrossing(), GNEHierarchicalElement::getParentJunctions(), GNEAttributeCarrier::isAttributeCarrierSelected(), MODEDELETE, NBNode::Crossing::priority, requireRecompute(), TL, and NBNode::Crossing::width.

Referenced by cleanInvalidCrossings(), deleteJunction(), deleteNetworkElement(), and joinSelectedJunctions().

Here is the caller graph for this function:

◆ 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 785 of file GNENet.cpp.

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

Referenced by deleteDataSet().

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 772 of file GNENet.cpp.

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

Referenced by clearDataElements().

Here is the caller graph for this function:

◆ deleteDemandElement()

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

◆ deleteEdge()

◆ deleteGenericData()

void GNENet::deleteGenericData ( GNEGenericData * genericData,
GNEUndoList * undoList )

remove generic data

Parameters
[in]genericDataThe generic data to be removed
[in]undoListThe undolist in which to mark changes

Definition at line 798 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), deleteDemandElement(), deleteGenericData(), GNEUndoList::end(), GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getChildGenericDatas(), GNEDataSet::getDataIntervalChildren(), GNEGenericData::getDataIntervalParent(), GNEDataInterval::getDataSetParent(), GNEDataInterval::getGenericDataChildren(), GNEAttributeCarrier::getTagStr(), MODEDELETE, and TL.

Referenced by deleteAdditional(), deleteDataInterval(), deleteDemandElement(), deleteEdge(), deleteGenericData(), and deleteLane().

Here is the caller graph for this function:

◆ deleteGLObject()

void GUIGlObject::deleteGLObject ( )
virtualinherited

delete GLObject (Currently used only in netedit)

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

Definition at line 238 of file GUIGlObject.cpp.

◆ deleteJunction()

void GNENet::deleteJunction ( GNEJunction * junction,
GNEUndoList * undoList )

removes junction and all incident edges

Parameters
[in]junctionThe junction to be removed
[in]undoListThe undolist in which to mark changes

Definition at line 411 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), deleteCrossing(), deleteDemandElement(), deleteEdge(), GNEUndoList::end(), GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getChildEdges(), NBNode::getEdges(), GNEJunction::getGNECrossings(), GNEJunction::getJunctionNeighbours(), GNEJunction::getNBNode(), MODEDELETE, myAttributeCarriers, myDataPathManager, myDemandPathManager, myNetworkPathManager, PRIORITY, GNEJunction::setAttribute(), SUMO_ATTR_TYPE, TL, and toString().

Referenced by createRoundabout(), deleteNetworkElement(), joinSelectedJunctions(), mergeJunctions(), removeSolitaryJunctions(), replaceJunctionByGeometry(), and splitJunction().

Here is the caller graph for this function:

◆ deleteLane()

◆ deleteMeanData()

void GNENet::deleteMeanData ( GNEMeanData * meanData,
GNEUndoList * undoList )

remove generic data

Parameters
[in]genericDataThe generic data to be removed
[in]undoListThe undolist in which to mark changes

Definition at line 828 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNEAttributeCarrier::getTagStr(), MODEDELETE, and TL.

Referenced by clearMeanDataElements().

Here is the caller graph for this function:

◆ deleteNetworkElement()

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

delete network element

Parameters
[in]networkElementThe network element to be removed
[in]undoListThe undolist in which to mark changes

Definition at line 370 of file GNENet.cpp.

References deleteConnection(), deleteCrossing(), deleteEdge(), deleteJunction(), deleteLane(), GNENetworkElement::getGUIGlObject(), GNEAttributeCarrier::getID(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), myAttributeCarriers, SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, and SUMO_TAG_LANE.

◆ deleteTAZSourceSink()

void GNENet::deleteTAZSourceSink ( GNETAZSourceSink * TAZSourceSink,
GNEUndoList * undoList )

remove TAZSourceSink

Parameters
[in]TAZSourceSinkThe TAZSourceSink to be removed
[in]undoListThe undolist in which to mark changes

Definition at line 737 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), GNEUndoList::end(), GNEAttributeCarrier::getTagStr(), MODEDELETE, and TL.

Referenced by deleteAdditional(), and deleteEdge().

Here is the caller graph for this function:

◆ disableUpdateData()

void GNENet::disableUpdateData ( )

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

Definition at line 2896 of file GNENet.cpp.

References myUpdateDataEnabled.

◆ disableUpdateGeometry()

void GNENet::disableUpdateGeometry ( )

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

Definition at line 2873 of file GNENet.cpp.

References myUpdateGeometryEnabled.

◆ drawGL()

void GNENet::drawGL ( const GUIVisualizationSettings & s) const
overridevirtual

Draws the object.

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

Implements GUIGlObject.

Definition at line 227 of file GNENet.cpp.

References GLHelper::drawBoundary(), and getCenteringBoundary().

◆ 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 270 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 837 of file GNENet.cpp.

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

Referenced by addGreenVergeLane(), addRestrictedLane(), and splitJunction().

Here is the caller graph for this function:

◆ enableUpdateData()

void GNENet::enableUpdateData ( )

Definition at line 2885 of file GNENet.cpp.

References myAttributeCarriers, and myUpdateDataEnabled.

◆ enableUpdateGeometry()

void GNENet::enableUpdateGeometry ( )

Definition at line 2867 of file GNENet.cpp.

References myUpdateGeometryEnabled.

◆ expandBoundary()

void GNENet::expandBoundary ( const Boundary & newBoundary)

expand boundary

Definition at line 240 of file GNENet.cpp.

References myGrid.

◆ getACTemplates()

GNENetHelper::ACTemplate * GNENet::getACTemplates ( ) const

get all attribute carriers templates used in this net

Definition at line 150 of file GNENet.cpp.

References myACTemplates.

Referenced by GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), and GNERouteHandler::transformToRouteFlow().

Here is the caller graph for this function:

◆ getApp()

FXApp * GNENet::getApp ( )

get pointer to the main App

Definition at line 1610 of file GNENet.cpp.

References myViewNet.

Referenced by computeNetwork(), saveAdditionalsConfirmed(), saveDataElementsConfirmed(), saveDemandElementsConfirmed(), saveMeanDatasConfirmed(), and saveNetwork().

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 144 of file GNENet.cpp.

References myAttributeCarriers.

Referenced by GNEPathManager::PathCalculator::calculateDijkstraPath(), GNEPathManager::PathCalculator::calculateReachability(), GNECalibratorDialog::CalibratorFlowsList::CalibratorFlowsList(), GNEConnection::changeTLIndex(), GNERerouterIntervalDialog::ClosingLaneReroutesList::ClosingLaneReroutesList(), GNERerouterIntervalDialog::ClosingReroutesList::ClosingReroutesList(), GNERerouterIntervalDialog::DestProbReroutesList::DestProbReroutesList(), GNEEdge::GNEEdge(), GNEViewParent::onCmdLocate(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNERerouterIntervalDialog::ParkingAreaReroutesList::ParkingAreaReroutesList(), GNEAttributeCarrier::parse(), GNERerouterIntervalDialog::RouteProbReroutesList::RouteProbReroutesList(), GNELoadThread::run(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToTripJunctions(), GNERouteHandler::transformToTripTAZs(), and GNERouteHandler::transformToVehicle().

Here is the caller graph for this function:

◆ getBoundary()

const Boundary & GNENet::getBoundary ( ) const

returns the bounder of the network

Definition at line 186 of file GNENet.cpp.

References myGrid.

Referenced by getCenteringBoundary().

Here is the caller graph for this function:

◆ getCenter()

◆ getCenteringBoundary()

Boundary GNENet::getCenteringBoundary ( ) const
overridevirtual

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 234 of file GNENet.cpp.

References getBoundary().

Referenced by drawGL().

Here is the caller graph for this function:

◆ getClickPriority()

virtual double GUIGlObject::getClickPriority ( ) const
inlinevirtualinherited

Returns the priority of receiving mouse clicks.

Reimplemented in GUIEdge, GUILane, GUIPointOfInterest, and GUIPolygon.

Definition at line 162 of file GUIGlObject.h.

References 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 GNEEdgeData, GNEEdgeRelData, GNEJunction, GNELane, GNETAZRelData, GUIContainer, GUIEdge, GUIJunctionWrapper, GUILane, GUIMEVehicle, GUIPerson, and GUIVehicle.

Definition at line 213 of file GUIGlObject.h.

Referenced by GUIViewTraffic::buildColorRainbow(), GNEPerson::drawGL(), GUIBaseVehicle::drawOnPos(), and GUIBaseVehicle::setColor().

Here is the caller graph for this function:

◆ getDataPathManager()

GNEPathManager * GNENet::getDataPathManager ( )

get data path manager

Definition at line 180 of file GNENet.cpp.

References myDataPathManager.

Referenced by GNEGenericDataFrame::GNEGenericDataFrame().

Here is the caller graph for this function:

◆ getDataSetIntervalMaximumEnd()

double GNENet::getDataSetIntervalMaximumEnd ( ) const

get maximum interval

Definition at line 2327 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_ATTR_END.

◆ getDataSetIntervalMinimumBegin()

double GNENet::getDataSetIntervalMinimumBegin ( ) const

get minimum interval

Definition at line 2310 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_ATTR_BEGIN.

◆ getDemandPathManager()

GNEPathManager * GNENet::getDemandPathManager ( )

◆ getEdgeCont()

NBEdgeCont & GNENet::getEdgeCont ( )

returns the NBEdgeCont of the underlying netbuilder

Definition at line 2205 of file GNENet.cpp.

References myNetBuilder.

◆ getEdgeIDCounter()

unsigned int & GNENet::getEdgeIDCounter ( )

Definition at line 2914 of file GNENet.cpp.

References myEdgeIDCounter.

◆ getEdgesAndNumberOfLanes()

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

et edges and number of lanes

Definition at line 198 of file GNENet.cpp.

References myEdgesAndNumberOfLanes.

◆ getExaggeration()

◆ getFullName()

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

Definition at line 95 of file GUIGlObject.h.

References myFullName.

Referenced by buildPopupHeader(), GNENetworkElement::getShapeEditedPopUpMenu(), GUIGlObject_AbstractAdd::GUIGlObject_AbstractAdd(), GUICalibrator::openManipulator(), GUILaneSpeedTrigger::openManipulator(), GUITriggeredRerouter::openManipulator(), and GUIGlObject_AbstractAdd::remove().

Here is the caller graph for this function:

◆ getGLIcon()

FXIcon * GUIGlObject::getGLIcon ( ) const
inherited

get icon associated with this GL Object

Definition at line 211 of file GUIGlObject.cpp.

References myIcon.

Referenced by GNENetworkElement::getShapeEditedPopUpMenu().

Here is the caller graph for this function:

◆ getGlID()

GUIGlID GUIGlObject::getGlID ( ) const
inlineinherited

Returns the numerical id of the object.

Returns
This object's gl-id

Definition at line 105 of file GUIGlObject.h.

References myGlID.

Referenced by GUIMessageWindow::appendMsg(), buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIEdge::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GUIContainer::getColorValue(), GUIEdge::getColorValue(), GUIJunctionWrapper::getColorValue(), GUIMEVehicle::getColorValue(), GUIPerson::getColorValue(), GUIVehicle::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(), GUIContainer::isSelected(), GUIEdge::isSelected(), GUIGlChildWindow::isSelected(), GUILane::isSelected(), GUIMEVehicle::isSelected(), GUIPerson::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIVehicle::isSelected(), GUIViewTraffic::onCmdAddRerouter(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdSelectTransported(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_ChooserAbstract::onCmdTrack(), GUIViewTraffic::onGamingClick(), GUIDialog_ChooserAbstract::refreshList(), GLObjectValuePassConnector< T >::removeObject(), GUIVehicle::selectBlockingFoes(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GUIPointOfInterest::setPOIColor(), GUIViewTraffic::showLaneReachability(), GUIBaseVehicle::~GUIBaseVehicle(), ~GUIGlObject(), GUIPerson::~GUIPerson(), and GUIVehicle::~GUIVehicle().

◆ getGrid()

SUMORTree & GNENet::getGrid ( )

Returns the RTree used for visualisation speed-up.

Returns
The visualisation speed-up
Note
only use in GNEViewNet constructor. For edit grid ALWAYS use addGLObjectIntoGrid/removeGLObjectIntoGrid

Definition at line 193 of file GNENet.cpp.

References myGrid.

◆ getJunctionIDCounter()

unsigned int & GNENet::getJunctionIDCounter ( )

Definition at line 2908 of file GNENet.cpp.

References myJunctionIDCounter.

◆ getMicrosimID()

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

Returns the id of the object as known to microsim.

Definition at line 144 of file GUIGlObject.h.

References myMicrosimID.

Referenced by SUMORTree::addAdditionalGLObject(), GNEViewNet::askMergeJunctions(), GNEJunction::checkDrawFromContour(), GNETLSEditorFrame::controlsEdge(), createFullName(), GNENetHelper::AttributeCarriers::deleteEdgeType(), GNENetHelper::AttributeCarriers::deleteSingleEdge(), GNENetHelper::AttributeCarriers::deleteSingleJunction(), GNEAdditional::drawAdditionalID(), drawName(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEConnection::getAttribute(), GNEContainer::getAttribute(), GNEDestProbReroute::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNEPerson::getAttribute(), GNERerouter::getAttribute(), GNERoute::getAttribute(), GNERouteDistribution::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNERouteRef::getAttribute(), GNEStop::getAttribute(), GNETAZ::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEVTypeDistribution::getAttribute(), GNEVTypeRef::getAttribute(), GNEWalkingArea::getAttribute(), GNEDetector::getDetectorAttribute(), GNEWalkingArea::getNBWalkingArea(), GNEACChooserDialog::getObjectName(), GUIDialog_ChooserAbstract::getObjectName(), GNEStoppingPlace::getStoppingPlaceAttribute(), GNETLSEditorFrame::handleMultiChange(), GNENetHelper::AttributeCarriers::insertEdgeType(), GNENetHelper::AttributeCarriers::insertInternalLane(), GNENetHelper::AttributeCarriers::registerEdge(), GNENetHelper::AttributeCarriers::registerEdgeType(), GNENetHelper::AttributeCarriers::registerJunction(), SUMORTree::removeAdditionalGLObject(), GNENetHelper::AttributeCarriers::retrieveConnection(), GNENetHelper::AttributeCarriers::retrieveCrossing(), GNENetHelper::AttributeCarriers::retrieveInternalLane(), GNENetHelper::AttributeCarriers::retrieveLane(), GNENetHelper::AttributeCarriers::retrieveWalkingArea(), GNEStop::setStopMicrosimID(), GNENet::splitEdge(), and GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements().

◆ getNetBuilder()

NBNetBuilder * GNENet::getNetBuilder ( ) const

get net builder

Definition at line 1616 of file GNENet.cpp.

References myNetBuilder.

Referenced by GNELoadThread::run().

Here is the caller graph for this function:

◆ getNetworkPathManager()

GNEPathManager * GNENet::getNetworkPathManager ( )

get network path manager

Definition at line 168 of file GNENet.cpp.

References myNetworkPathManager.

◆ getNumberOfTLSPrograms()

int GNENet::getNumberOfTLSPrograms ( ) const

get number of TLS Programs

Definition at line 2833 of file GNENet.cpp.

◆ getOptionalName()

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

Returns the name of the object (default "").

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

Definition at line 256 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 )
overridevirtual

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 217 of file GNENet.cpp.

References GUIParameterTableWindow::closeBuilding().

◆ getParentName()

◆ getPopUpMenu()

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

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 204 of file GNENet.cpp.

References GUIGlObject::buildCenterPopupEntry(), GUIDesigns::buildFXMenuCommand(), GUIGlObject::buildPopupHeader(), GUIGlObject::buildPositionCopyEntry(), GeoConvHelper::getFinal(), MID_COPY_VIEW_GEOBOUNDARY, and TL.

◆ getSavingFilesHandler()

GNENetHelper::SavingFilesHandler * GNENet::getSavingFilesHandler ( ) const

get saving files handler

Definition at line 156 of file GNENet.cpp.

References mySavingFilesHandler.

◆ getSavingStatus()

GNENetHelper::SavingStatus * GNENet::getSavingStatus ( ) const

get saving status

Definition at line 162 of file GNENet.cpp.

References mySavingStatus.

◆ getScaleVisual()

virtual double GUIGlObject::getScaleVisual ( ) const
inlinevirtualinherited

return individual scaling factor for this object

Reimplemented in GUIBaseVehicle, GUIContainer, and GUIPerson.

Definition at line 190 of file GUIGlObject.h.

Referenced by GUIVisualizationSizeSettings::getExaggeration().

Here is the caller graph for this function:

◆ getTagPropertiesDatabase()

const GNETagPropertiesDatabase * GNENet::getTagPropertiesDatabase ( ) const

get tag properties database

Definition at line 138 of file GNENet.cpp.

References myTagPropertiesDatabase.

Referenced by GNEAttributesEditorType::buildRows(), GNEDemandElementSelector::GNEDemandElementSelector(), and GNEViewParent::onCmdLocate().

Here is the caller graph for this function:

◆ getTLLogicCont()

NBTrafficLightLogicCont & GNENet::getTLLogicCont ( )

returns the tllcont of the underlying netbuilder

Definition at line 2199 of file GNENet.cpp.

References myNetBuilder.

Referenced by computeJunction(), replaceIncomingEdge(), and saveTLSPrograms().

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 157 of file GUIGlObject.h.

References myGLObjectType.

Referenced by buildSelectionPopupEntry(), GNEConnection::calculateConnectionContour(), GNEContour::calculateContourEdgeGeometryPoints(), GNECrossing::calculateCrossingContour(), GNEJunction::calculateJunctioncontour(), GNEParkingSpace::calculateSpaceContour(), GNEStoppingPlace::calculateStoppingPlaceContour(), GNEViewNet::checkOverLockedElement(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNECalibrator::drawCalibratorSymbol(), GNELaneAreaDetector::drawE2PartialJunction(), GNELaneAreaDetector::drawE2PartialLane(), GNEEntryExitDetector::drawE3Logo(), GNEEntryExitDetector::drawEntryLogo(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEConnection::drawGL(), GNEContainer::drawGL(), GNEContainerStop::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNEPerson::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNEStop::drawGL(), GNEStopPlan::drawGL(), GNETAZ::drawGL(), GNETAZRelData::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEVehicle::drawGL(), GNEWalkingArea::drawGL(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIPerson::drawGLAdditional(), GNEDemandElement::drawJunctionLine(), GNELaneAreaDetector::drawJunctionPartialGL(), GNEOverheadWire::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNEEdgeData::drawLanePartialGL(), GNEEdgeRelData::drawLanePartialGL(), GNELaneAreaDetector::drawLanePartialGL(), GNEOverheadWire::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GUIBaseVehicle::drawOnPos(), GNERoute::drawRoutePartialJunction(), GNERoute::drawRoutePartialLane(), GUIEdge::getColorValue(), GUIJunctionWrapper::getColorValue(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GUIGlChildWindow::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GNESelectorFrame::SelectionOperation::loadFromFile(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), LayeredRTree::selectLayer(), GUIPolygon::setColor(), GNEJunction::setJunctionType(), GUIPointOfInterest::setPOIColor(), GNEViewNetHelper::ViewObjectsSelector::updateGenericDataElements(), GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements(), GNEViewNetHelper::ViewObjectsSelector::updateShapeElements(), and GNEViewNetHelper::ViewObjectsSelector::updateTAZElements().

◆ getTypeParameterWindow()

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

Returns an own type parameter window (optional).

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

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

Definition at line 217 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

◆ getViewNet()

◆ 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 246 of file GNENet.cpp.

References myZBoundary.

◆ initGNEConnections()

void GNENet::initGNEConnections ( )

initialize GNEConnections

Definition at line 2964 of file GNENet.cpp.

References myAttributeCarriers.

Referenced by GNEViewNet::onCmdToggleShowConnections().

Here is the caller graph for this function:

◆ initJunctionsAndEdges()

void GNENet::initJunctionsAndEdges ( )
private

Init Junctions and edges.

Definition at line 2923 of file GNENet.cpp.

References GNEHierarchicalElement::addChildElement(), GNEEdge::getFromJunction(), GNEEdge::getToJunction(), myAttributeCarriers, myGrid, myNetBuilder, NBNodesEdgesSorter::sortNodesEdges(), and TL.

Referenced by computeAndUpdate(), and GNENet().

Here is the caller graph for this function:

◆ isBlocked()

bool GUIGlObject::isBlocked ( ) const
inlineinherited

get blocking status

Definition at line 167 of file GUIGlObject.h.

References myAmBlocked.

◆ isGLObjectLocked()

bool GUIGlObject::isGLObjectLocked ( ) const
virtualinherited

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

Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.

Definition at line 225 of file GUIGlObject.cpp.

Referenced by GNEViewNetHelper::ViewObjectsSelector::filterLockedElements().

Here is the caller graph for this function:

◆ isNetRecomputed()

bool GNENet::isNetRecomputed ( ) const

check if net require recomputing

Definition at line 1604 of file GNENet.cpp.

References myNeedRecompute.

◆ isUpdateDataEnabled()

bool GNENet::isUpdateDataEnabled ( ) const

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

Definition at line 2902 of file GNENet.cpp.

References myUpdateDataEnabled.

◆ isUpdateGeometryEnabled()

bool GNENet::isUpdateGeometryEnabled ( ) const

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

Definition at line 2879 of file GNENet.cpp.

References myUpdateGeometryEnabled.

◆ joinRoutes()

void GNENet::joinRoutes ( GNEUndoList * undoList)

◆ joinSelectedJunctions()

bool GNENet::joinSelectedJunctions ( GNEUndoList * undoList)

join selected junctions

Note
difference to mergeJunctions:
  • can join more than 2
  • connected edges will keep their geometry (big junction shape is created)
  • no hierarchy: if any junction has a traffic light than the resulting junction will

Definition at line 1622 of file GNENet.cpp.

References GNEDialog::ACCEPT, GNEUndoList::add(), GNEUndoList::begin(), GNEChange_Attribute::changeAttribute(), checkJunctionPosition(), createJunction(), deleteCrossing(), deleteEdge(), deleteJunction(), GNEUndoList::end(), GNEAttributeCarrier::getID(), GNEJunction::getNBNode(), GNEEdge::getToJunction(), GNE_ATTR_SELECTED, NBNode::isTLControlled(), joinSelectedJunctions(), JUNCTION, myAttributeCarriers, myNetBuilder, myViewNet, GNEChange_RegisterJoin::registerJoin(), GNEJunction::setAttribute(), Position::setx(), Position::sety(), SUMO_ATTR_FROM, SUMO_ATTR_ID, SUMO_ATTR_POSITION, SUMO_ATTR_TLTYPE, SUMO_ATTR_TO, SUMO_ATTR_TYPE, SUMO_TAG_JUNCTION, TL, toString(), UNKNOWN, Position::x(), Position::y(), and GNEDialog::YES_NO.

Referenced by joinSelectedJunctions().

Here is the caller graph for this function:

◆ markAsFrontElement()

void GUIGlObject::markAsFrontElement ( )
virtualinherited

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

Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.

Definition at line 232 of file GUIGlObject.cpp.

◆ mergeJunctions()

void GNENet::mergeJunctions ( GNEJunction * moved,
const 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 1168 of file GNENet.cpp.

References GNEUndoList::begin(), deleteEdge(), deleteJunction(), GNEUndoList::end(), GNEEdge::getFromJunction(), GNEAttributeCarrier::getID(), NBNode::getIncomingEdges(), GNEJunction::getNBNode(), NBNode::getOutgoingEdges(), GNEEdge::getToJunction(), myAttributeCarriers, GNEEdge::setAttribute(), SUMO_ATTR_FROM, SUMO_ATTR_TO, and TL.

◆ onLeftBtnPress()

virtual void GUIGlObject::onLeftBtnPress ( void * )
inlinevirtualinherited

notify object about left click

Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.

Definition at line 228 of file GUIGlObject.h.

Referenced by GUIViewTraffic::onGamingClick().

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

References GNENet().

◆ removeActiveAddVisualisation()

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

remove additional user-griggered visualisations

Reimplemented in GUIBaseVehicle, and GUIPerson.

Definition at line 225 of file GUIGlObject.h.

◆ removedPopupMenu()

virtual void GUIGlObject::removedPopupMenu ( )
inlinevirtualinherited

notify object about popup menu removal

Reimplemented in GUIBaseVehicle.

Definition at line 125 of file GUIGlObject.h.

◆ removeExplicitTurnaround()

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

remove edge id from the list of explicit turnarounds

Definition at line 2217 of file GNENet.cpp.

References myExplicitTurnarounds.

◆ removeGLObjectFromGrid()

void GNENet::removeGLObjectFromGrid ( GNEAttributeCarrier * AC)

add GL Object into net

Definition at line 1450 of file GNENet.cpp.

References GNEAttributeCarrier::getGUIGlObject(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::inGrid(), GNETagProperties::isPlacedInRTree(), myGrid, and GNEAttributeCarrier::setInGrid().

Referenced by computeAndUpdate().

Here is the caller graph for this function:

◆ removeParameterTable()

void GUIGlObject::removeParameterTable ( GUIParameterTableWindow * w)
inherited

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

Parameters
[in]wThe closed parameter window

Definition at line 417 of file GUIGlObject.cpp.

References myParamWindows.

◆ 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 959 of file GNENet.cpp.

References deleteLane(), and GNEHierarchicalElement::getChildLanes().

◆ removeSolitaryJunctions()

void GNENet::removeSolitaryJunctions ( GNEUndoList * undoList)

removes junctions that have no edges

Definition at line 1782 of file GNENet.cpp.

References GNEUndoList::begin(), deleteJunction(), GNEUndoList::end(), MODEDELETE, myAttributeCarriers, and TL.

◆ replaceIncomingEdge()

◆ 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 3076 of file GNENet.cpp.

References GNEAttributeCarrier::getAttribute(), GNETagProperties::getAttributeProperties(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::parse(), 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 1598 of file GNENet.cpp.

References myNeedRecompute.

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

Here is the caller graph for this function:

◆ resetJunctionConnections()

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

reset junction's connections

Definition at line 2114 of file GNENet.cpp.

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

◆ 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 853 of file GNENet.cpp.

References GNEUndoList::add(), GNEChange_Attribute::changeAttribute(), GNEAttributeCarrier::FEATURE_GUESSED, GNEHierarchicalElement::getChildLanes(), OptionsCont::getFloat(), GNEEdge::getGNEConnections(), GNELane::getGNEOutcomingConnections(), GNEEdge::getNBEdge(), OptionsCont::getOptions(), GNELane::getParentEdge(), NBEdge::getPermissions(), NBEdge::getStep(), getVehicleClassNames(), GNE_ATTR_MODIFICATION_STATUS, NBEdge::LANES2LANES_RECHECK, GNELane::setAttribute(), SUMO_ATTR_ALLOW, SUMO_ATTR_WIDTH, SVC_BICYCLE, SVC_PEDESTRIAN, and toString().

Referenced by addGreenVergeLane(), and addRestrictedLane().

Here is the caller graph for this function:

◆ reverseEdge()

◆ saveAdditionals()

bool GNENet::saveAdditionals ( )

save additional elements

Definition at line 2223 of file GNENet.cpp.

References GNEDialog::ACCEPT, myAttributeCarriers, myViewNet, and saveAdditionalsConfirmed().

◆ saveAdditionalsConfirmed()

void GNENet::saveAdditionalsConfirmed ( )
private

◆ saveDataElements()

bool GNENet::saveDataElements ( )

save data set elements of the network

Definition at line 2298 of file GNENet.cpp.

References computeDataElements(), myViewNet, and saveDataElementsConfirmed().

◆ saveDataElementsConfirmed()

void GNENet::saveDataElementsConfirmed ( )
private

save data elements after confirming invalid objects

Definition at line 2475 of file GNENet.cpp.

References OutputDevice::close(), EMPTY_HEADER, getApp(), OutputDevice::getDevice(), myAttributeCarriers, mySavingFilesHandler, mySavingStatus, and OutputDevice::writeXMLHeader().

Referenced by saveDataElements().

Here is the caller graph for this function:

◆ saveDemandElements()

bool GNENet::saveDemandElements ( )

save demand element elements of the network

Definition at line 2267 of file GNENet.cpp.

References GNEDialog::ACCEPT, computeDemandElements(), myAttributeCarriers, myViewNet, GNEDemandElement::OK, and saveDemandElementsConfirmed().

◆ saveDemandElementsConfirmed()

void GNENet::saveDemandElementsConfirmed ( )
private

save demand elements after confirming invalid objects

Definition at line 2423 of file GNENet.cpp.

References OutputDevice::close(), EMPTY_HEADER, getApp(), OutputDevice::getDevice(), myAttributeCarriers, mySavingFilesHandler, mySavingStatus, SUMO_ATTR_DEPART, writeRouteComment(), writeRouteDistributions(), writeRoutes(), writeVTypeComment(), writeVTypeDistributions(), 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 2839 of file GNENet.cpp.

References OutputDevice::close(), OutputDevice::closeTag(), OutputDevice::getDevice(), myAttributeCarriers, myNetBuilder, OutputDevice::openTag(), and SUMO_TAG_TYPES.

◆ saveJoined()

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

save log of joined junctions (and nothing else)

Definition at line 1414 of file GNENet.cpp.

References computeAndUpdate(), OptionsCont::getOptions(), myNetBuilder, and NWWriter_XML::writeJoinedJunctions().

◆ saveJuPedSimElements()

bool GNENet::saveJuPedSimElements ( const std::unordered_set< const GNEAttributeCarrier * > & ACs,
const std::string & file )

◆ saveMeanDatas()

bool GNENet::saveMeanDatas ( )

save meanData elements of the network

Definition at line 2344 of file GNENet.cpp.

References myViewNet, and saveMeanDatasConfirmed().

◆ saveMeanDatasConfirmed()

void GNENet::saveMeanDatasConfirmed ( )
private

save meanDatas

Definition at line 2503 of file GNENet.cpp.

References OutputDevice::close(), EMPTY_HEADER, getApp(), OutputDevice::getDevice(), mySavingFilesHandler, mySavingStatus, SUMO_TAG_MEANDATA_EDGE, SUMO_TAG_MEANDATA_LANE, writeMeanDataEdgeComment(), writeMeanDataLaneComment(), writeMeanDatas(), and OutputDevice::writeXMLHeader().

Referenced by saveMeanDatas().

Here is the caller graph for this function:

◆ saveNetwork()

void GNENet::saveNetwork ( )

◆ savePlain()

void GNENet::savePlain ( const std::string & prefix)

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

Definition at line 1405 of file GNENet.cpp.

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

◆ 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 2820 of file GNENet.cpp.

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

◆ selectGLObject()

void GUIGlObject::selectGLObject ( )
virtualinherited

select GLObject (Currently used only in netedit)

Reimplemented in GNEAdditional, GNEDemandElement, GNEGenericData, and GNENetworkElement.

Definition at line 244 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 1199 of file GNENet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNEJunction::getNBNode(), GNEEdge::getToJunction(), GNE_ATTR_SELECTED, myAttributeCarriers, myNetBuilder, GNEEdge::setAttribute(), GNEJunction::setAttribute(), and TL.

◆ setBlocked()

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

set blocking status

Definition at line 172 of file GUIGlObject.h.

References myAmBlocked.

Referenced by GUIGlObjectStorage::getObjectBlocking(), and GUIGlObjectStorage::getObjectBlocking().

Here is the caller graph for this function:

◆ setMicrosimID()

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

Changes the microsimID of the object.

Note
happens in netedit

Definition at line 262 of file GUIGlObject.cpp.

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

Referenced by GNEAdditional::setAdditionalID(), GNEDemandElement::setDemandElementID(), GNENetworkElement::setNetworkElementID(), GNENetHelper::AttributeCarriers::updateAdditionalID(), and GNENetHelper::AttributeCarriers::updateDemandElementID().

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 1422 of file GNENet.cpp.

References 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 1090 of file GNENet.cpp.

References GNEUndoList::begin(), GNEUndoList::end(), GNEHierarchicalElement::getChildLanes(), NBNode::getEdges(), GNEJunction::getNBNode(), GNE_ATTR_OPPOSITE, myAttributeCarriers, splitEdge(), and TL.

◆ splitJunction()

◆ updateGLObject()

void GUIGlObject::updateGLObject ( )
virtualinherited

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

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

Definition at line 250 of file GUIGlObject.cpp.

◆ writeAdditionalByType()

void GNENet::writeAdditionalByType ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs,
const std::vector< SumoXMLTag > tags ) const
private

write additional element by type and sorted by ID

Definition at line 2533 of file GNENet.cpp.

References myAttributeCarriers, SUMO_TAG_VAPORIZER, and TL.

Referenced by saveAdditionalsConfirmed(), and saveJuPedSimElements().

Here is the caller graph for this function:

◆ writeCalibratorComment()

bool GNENet::writeCalibratorComment ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs ) const
private

write calibrator comment

Definition at line 2698 of file GNENet.cpp.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

◆ writeDemandByType()

void GNENet::writeDemandByType ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs,
SumoXMLTag tag ) const
private

write demand element by type and sorted by ID

Definition at line 2556 of file GNENet.cpp.

References myAttributeCarriers.

◆ writeDetectorComment()

bool GNENet::writeDetectorComment ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs ) const
private

write detector comment

Definition at line 2722 of file GNENet.cpp.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

◆ writeJuPedSimComment()

bool GNENet::writeJuPedSimComment ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs ) const
private

write JuPedSim comment

Definition at line 2764 of file GNENet.cpp.

Referenced by saveAdditionalsConfirmed(), and saveJuPedSimElements().

Here is the caller graph for this function:

◆ writeMeanDataEdgeComment()

bool GNENet::writeMeanDataEdgeComment ( OutputDevice & device) const
private

write meanDataEdge comment

Definition at line 2800 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_MEANDATA_EDGE.

Referenced by saveMeanDatasConfirmed().

Here is the caller graph for this function:

◆ writeMeanDataLaneComment()

bool GNENet::writeMeanDataLaneComment ( OutputDevice & device) const
private

write Wire comment

Definition at line 2810 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_MEANDATA_LANE.

Referenced by saveMeanDatasConfirmed().

Here is the caller graph for this function:

◆ writeMeanDatas()

void GNENet::writeMeanDatas ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs,
SumoXMLTag tag ) const
private

write meanData element by type and sorted by ID

Definition at line 2628 of file GNENet.cpp.

References myAttributeCarriers, and TL.

Referenced by saveMeanDatasConfirmed().

Here is the caller graph for this function:

◆ writeOtherAdditionalsComment()

bool GNENet::writeOtherAdditionalsComment ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs ) const
private

write other additional comment

Definition at line 2734 of file GNENet.cpp.

References 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 std::unordered_set< const GNEAttributeCarrier * > & ACs,
const bool additionalFile ) const
private

write route comment

Definition at line 2669 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_ROUTE.

Referenced by saveAdditionalsConfirmed(), and saveDemandElementsConfirmed().

Here is the caller graph for this function:

◆ writeRouteDistributions()

void GNENet::writeRouteDistributions ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs ) const
private

write route distributions sorted by ID

Definition at line 2570 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_ROUTE_DISTRIBUTION.

Referenced by saveDemandElementsConfirmed().

Here is the caller graph for this function:

◆ writeRouteProbeComment()

bool GNENet::writeRouteProbeComment ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs ) const
private

write routeProbe comment

Definition at line 2686 of file GNENet.cpp.

References SUMO_TAG_ROUTEPROBE.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

◆ writeRoutes()

void GNENet::writeRoutes ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs,
const bool additionalFile ) const
private

write route sorted by ID

Definition at line 2585 of file GNENet.cpp.

References 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 std::unordered_set< const GNEAttributeCarrier * > & ACs ) const
private

write shape comment

Definition at line 2752 of file GNENet.cpp.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

◆ writeStoppingPlaceComment()

bool GNENet::writeStoppingPlaceComment ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs ) const
private

write stoppingPlace comment

Definition at line 2710 of file GNENet.cpp.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

◆ writeTAZComment()

bool GNENet::writeTAZComment ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs ) const
private

write TAZ comment

Definition at line 2776 of file GNENet.cpp.

References SUMO_TAG_TAZ.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

◆ writeVTypeComment()

bool GNENet::writeVTypeComment ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs,
const bool additionalFile ) const
private

write vType comment

Definition at line 2645 of file GNENet.cpp.

References GNE_ATTR_DEFAULT_VTYPE, GNE_ATTR_DEFAULT_VTYPE_MODIFIED, myAttributeCarriers, GNEAttributeCarrier::parse(), and SUMO_TAG_VTYPE.

Referenced by saveAdditionalsConfirmed(), and saveDemandElementsConfirmed().

Here is the caller graph for this function:

◆ writeVTypeDistributions()

void GNENet::writeVTypeDistributions ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs ) const
private

write vTypeDistributions sorted by ID

Definition at line 2599 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_VTYPE_DISTRIBUTION.

Referenced by saveDemandElementsConfirmed().

Here is the caller graph for this function:

◆ writeVTypes()

void GNENet::writeVTypes ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs,
const bool additionalFile ) const
private

write vTypes sorted by ID

Definition at line 2614 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_VTYPE.

Referenced by saveAdditionalsConfirmed(), and saveDemandElementsConfirmed().

Here is the caller graph for this function:

◆ writeWireComment()

bool GNENet::writeWireComment ( OutputDevice & device,
const std::unordered_set< const GNEAttributeCarrier * > & ACs ) const
private

write Wire comment

Definition at line 2788 of file GNENet.cpp.

Referenced by saveAdditionalsConfirmed().

Here is the caller graph for this function:

Field Documentation

◆ EMPTY_HEADER

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

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

Definition at line 507 of file GNENet.h.

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

◆ GUIGlObjectTypeNamesInitializer

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

vector for TypeNames Initializer

Definition at line 52 of file GUIGlObject.h.

◆ INVALID_ID

◆ INVALID_PRIORITY

const double GUIGlObject::INVALID_PRIORITY
staticinherited

◆ myACTemplates

GNENetHelper::ACTemplate* GNENet::myACTemplates = nullptr
protected

attributeCarriers templates

Definition at line 526 of file GNENet.h.

Referenced by getACTemplates(), GNENet(), and ~GNENet().

◆ myAmBlocked

bool GUIGlObject::myAmBlocked = false
privateinherited

whether the object can be deleted

Definition at line 333 of file GUIGlObject.h.

Referenced by isBlocked(), and setBlocked().

◆ myAttributeCarriers

◆ myDataPathManager

GNEPathManager* GNENet::myDataPathManager = nullptr
protected

Data path manager.

Definition at line 541 of file GNENet.h.

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

◆ myDemandPathManager

GNEPathManager* GNENet::myDemandPathManager = nullptr
protected

Demand path manager.

Definition at line 538 of file GNENet.h.

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

◆ myEdgeIDCounter

unsigned int GNENet::myEdgeIDCounter = 0
protected

Definition at line 546 of file GNENet.h.

Referenced by createEdge(), and getEdgeIDCounter().

◆ myEdgesAndNumberOfLanes

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

map with the Edges and their number of lanes

Definition at line 648 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 550 of file GNENet.h.

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

◆ myFullName

std::string GUIGlObject::myFullName
privateinherited

full name of GL Object

Definition at line 327 of file GUIGlObject.h.

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

◆ myGlID

const GUIGlID GUIGlObject::myGlID
privateinherited

The numerical id of the object.

Definition at line 318 of file GUIGlObject.h.

Referenced by getGlID(), and GUIGlObject().

◆ myGLObjectType

const GUIGlObjectType GUIGlObject::myGLObjectType
privateinherited

The type of the object.

Definition at line 321 of file GUIGlObject.h.

Referenced by createFullName(), getClickPriority(), getType(), and GUIGlObject().

◆ 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 330 of file GUIGlObject.h.

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

◆ myJunctionIDCounter

unsigned int GNENet::myJunctionIDCounter = 0
protected

Definition at line 545 of file GNENet.h.

Referenced by createJunction(), and getJunctionIDCounter().

◆ myMicrosimID

std::string GUIGlObject::myMicrosimID
privateinherited

ID of GL object.

Definition at line 324 of file GUIGlObject.h.

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

◆ myNeedRecompute

bool GNENet::myNeedRecompute = true
protected

whether the net needs recomputation

Definition at line 553 of file GNENet.h.

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

◆ myNetBuilder

◆ myNetworkPathManager

GNEPathManager* GNENet::myNetworkPathManager = nullptr
protected

Network path manager.

Definition at line 535 of file GNENet.h.

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

◆ myParamWindows

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

Parameter table windows which refer to this object.

Definition at line 336 of file GUIGlObject.h.

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

◆ mySavingFilesHandler

GNENetHelper::SavingFilesHandler* GNENet::mySavingFilesHandler = nullptr
protected

◆ mySavingStatus

◆ myTagPropertiesDatabase

const GNETagPropertiesDatabase* GNENet::myTagPropertiesDatabase = nullptr
protected

pointer to tagProperties database

Definition at line 520 of file GNENet.h.

Referenced by getTagPropertiesDatabase(), and GNENet().

◆ myUpdateDataEnabled

bool GNENet::myUpdateDataEnabled = true
protected

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

Definition at line 559 of file GNENet.h.

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

◆ myUpdateGeometryEnabled

bool GNENet::myUpdateGeometryEnabled = true
protected

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

Definition at line 556 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 645 of file GNENet.h.

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

◆ TypeNames

StringBijection< GUIGlObjectType > GUIGlObject::TypeNames
staticinherited

associates object types with strings

Definition at line 72 of file GUIGlObject.h.

Referenced by createFullName(), GNESelectorFrame::SelectionOperation::loadFromFile(), and GNESelectorFrame::SelectionOperation::onCmdSave().

◆ Z_INITIALIZED

const double GNENet::Z_INITIALIZED = 1
staticprivate

marker for whether the z-boundary is initialized

Definition at line 651 of file GNENet.h.

Referenced by addZValueInBoundary(), and GNENet().


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