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)
 Returns an own popup-menu.
 
GUIParameterTableWindowgetParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own parameter window.
 
Boundary getCenteringBoundary () const
 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
 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::~GNENet ( )

◆ GNENet() [2/3]

GNENet::GNENet ( )
privatedelete

Invalidated default constructor.

◆ GNENet() [3/3]

GNENet::GNENet ( const GNENet )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ addExplicitTurnaround()

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

add edge id to the list of explicit turnarounds

Definition at line 2211 of file GNENet.cpp.

References NBEdgeCont::insert(), and myExplicitTurnarounds.

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

Here is the caller graph for this function:

◆ addGLObjectIntoGrid()

◆ addGreenVergeLane()

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

add restricted lane to edge

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

Definition at line 942 of file GNENet.cpp.

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

Referenced by GNEViewNet::addRestrictedLane().

Here is the caller graph for this function:

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow w)
inherited

Definition at line 411 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::GUIParameterTableWindow().

Here is the caller graph for this function:

◆ addRestrictedLane()

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

add restricted lane to edge

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

Definition at line 906 of file GNENet.cpp.

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

Referenced by GNEViewNet::addRestrictedLane().

Here is the caller graph for this function:

◆ addReversedEdge()

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

add reversed edge

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

Definition at line 1130 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ addZValueInBoundary()

void GNENet::addZValueInBoundary ( const double  z)

add Z in net boundary

Definition at line 252 of file GNENet.cpp.

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

◆ adjustPersonPlans()

◆ buildAdditionalsPopupOptions()

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

◆ buildCenterPopupEntry()

◆ 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

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

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

Definition at line 375 of file GUIGlObject.cpp.

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

Referenced by GUIGlObject::buildAdditionalsPopupOptions(), GUIGlObject::buildPopUpMenuCommonOptions(), GUIGlObject::buildShapePopupOptions(), GUIBaseVehicle::getPopUpMenu(), GUIBusStop::getPopUpMenu(), GUICalibrator::getPopUpMenu(), GUIChargingStation::getPopUpMenu(), GUIDetectorWrapper::getPopUpMenu(), GUIJunctionWrapper::getPopUpMenu(), GUILaneSpeedTrigger::getPopUpMenu(), GUIOverheadWire::getPopUpMenu(), GUIOverheadWireClamp::getPopUpMenu(), GUIParkingArea::getPopUpMenu(), GUITrafficLightLogicWrapper::getPopUpMenu(), GUITriggeredRerouter::getPopUpMenu(), GNELane::getPopUpMenu(), getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIEdge::getPopUpMenu(), GUILane::getPopUpMenu(), GUINet::getPopUpMenu(), GUIPerson::getPopUpMenu(), and GUIPolygon::getPopUpMenu().

Here is the caller graph for this function:

◆ buildSelectionPopupEntry()

◆ buildShapePopupOptions()

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

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

Definition at line 426 of file GUIGlObject.cpp.

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

Referenced by GUIPointOfInterest::getPopUpMenu().

Here is the caller graph for this function:

◆ buildShowManipulatorPopupEntry()

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

Builds an entry which allows to open the manipulator window.

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

Definition at line 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(), GNEJunction::getNBNode(), myAttributeCarriers, NBEdge::reinitNodes(), requireRecompute(), and GNENetHelper::AttributeCarriers::retrieveJunction().

Referenced by GNEEdge::setAttribute().

Here is the caller graph for this function:

◆ checkJunctionPosition()

bool GNENet::checkJunctionPosition ( const Position pos)
private

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

Definition at line 1355 of file GNENet.cpp.

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

Referenced by joinSelectedJunctions().

Here is the caller graph for this function:

◆ cleanInvalidCrossings()

bool GNENet::cleanInvalidCrossings ( GNEUndoList undoList)

clear invalid crossings

Definition at line 1740 of file GNENet.cpp.

References GNEDialog::ACCEPT, GNEUndoList::begin(), deleteCrossing(), GNEUndoList::end(), GNEViewParent::getGNEAppWindows(), GNENetHelper::AttributeCarriers::getJunctions(), GNEViewNet::getViewParent(), MODEDELETE, myAttributeCarriers, myViewNet, TL, and GNEDialog::YES_NO.

Referenced by GNEApplicationWindow::onCmdProcessButton().

Here is the caller graph for this function:

◆ cleanInvalidDemandElements()

void GNENet::cleanInvalidDemandElements ( GNEUndoList undoList)

clean invalid demand elements

Definition at line 1933 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::onCmdProcessButton().

Here is the caller graph for this function:

◆ cleanUnusedRoutes()

void GNENet::cleanUnusedRoutes ( GNEUndoList undoList)

clean unused routes

Definition at line 1798 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::onCmdProcessButton().

Here is the caller graph for this function:

◆ clearAdditionalElements()

void GNENet::clearAdditionalElements ( GNEUndoList undoList)

clear additionals

Definition at line 2125 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::onCmdReloadAdditionalElements().

Here is the caller graph for this function:

◆ clearDataElements()

void GNENet::clearDataElements ( GNEUndoList undoList)

clear data elements

Definition at line 2160 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::onCmdReloadDataElements().

Here is the caller graph for this function:

◆ clearDemandElements()

void GNENet::clearDemandElements ( GNEUndoList undoList)

clear demand elements

Definition at line 2138 of file GNENet.cpp.

References GNEUndoList::begin(), deleteDemandElement(), GNEUndoList::end(), GNEAttributeCarrier::FALSE_STR, GNENetHelper::AttributeCarriers::getDemandElements(), GNE_ATTR_DEFAULT_VTYPE, MODEDELETE, myAttributeCarriers, SUMO_TAG_VTYPE, and TL.

Referenced by GNEApplicationWindow::onCmdReloadDemandElements().

Here is the caller graph for this function:

◆ clearJunctionConnections()

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

clear junction's connections

Definition at line 2102 of file GNENet.cpp.

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

Referenced by GNEViewNet::onCmdClearConnections(), 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(), GNENetHelper::AttributeCarriers::getMeanDatas(), MODEDELETE, myAttributeCarriers, and TL.

Referenced by GNEApplicationWindow::onCmdReloadMeanDataElements().

Here is the caller graph for this function:

◆ computeAndUpdate()

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

◆ 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 GNENetHelper::AttributeCarriers::getGenericDatas(), myAttributeCarriers, GNEApplicationWindow::setStatusBarText(), and TL.

Referenced by saveDataElements().

Here is the caller graph for this function:

◆ computeDemandElements()

◆ computeJunction()

void GNENet::computeJunction ( GNEJunction junction)

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

Definition at line 1580 of file GNENet.cpp.

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

◆ computeNetwork()

◆ 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(), GNENetHelper::AttributeCarriers::generateEdgeID(), GNENetHelper::AttributeCarriers::getEdges(), GNEAttributeCarrier::getID(), GNEEdge::getNBEdge(), GNEJunction::getNBNode(), OptionsCont::getOptions(), NBNode::getOutgoingEdges(), OptionsCont::getString(), myAttributeCarriers, myEdgeIDCounter, requireRecompute(), GNENetHelper::AttributeCarriers::retrieveEdge(), GNENetHelper::AttributeCarriers::retrieveEdges(), RIGHT, GNEJunction::setLogicValid(), TL, toString(), StringUtils::trim(), NBEdge::UNSPECIFIED_FRICTION, NBEdge::UNSPECIFIED_OFFSET, and NBEdge::UNSPECIFIED_WIDTH.

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

Here is the caller graph for this function:

◆ createFullName()

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

create full name

Definition at line 472 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ createJunction()

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

creates a new junction

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

Definition at line 261 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ createRoundabout()

◆ deleteAdditional()

◆ deleteConnection()

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

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 GNEConnectorFrame::buildConnection(), clearJunctionConnections(), GNEViewNet::deleteNetworkAttributeCarrier(), deleteNetworkElement(), GNEElementTree::onCmdDeleteItem(), and GNEDeleteFrame::removeSelectedAttributeCarriers().

Here is the caller graph for this function:

◆ deleteCrossing()

◆ deleteDataInterval()

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

remove data interval

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

Definition at line 785 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ deleteDataSet()

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

remove data set

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

Definition at line 772 of file GNENet.cpp.

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

Referenced by GNEDataHandler::checkDuplicatedDataSet(), clearDataElements(), GNEViewNet::deleteDataAttributeCarrier(), and GNEElementTree::onCmdDeleteItem().

Here is the caller graph for this function:

◆ deleteDemandElement()

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

remove demand element

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

Definition at line 746 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), deleteAdditional(), deleteDemandElement(), deleteGenericData(), GNEUndoList::end(), GNEDemandElement::getAttribute(), GNEHierarchicalElement::getChildAdditionals(), GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getChildGenericDatas(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNE_ATTR_DEFAULT_VTYPE, MODEDELETE, SUMO_TAG_VTYPE, and TL.

Referenced by GNERouteHandler::checkElement(), clearDemandElements(), deleteAdditional(), GNEViewNet::deleteDemandAttributeCarrier(), deleteDemandElement(), deleteEdge(), deleteGenericData(), GNEDemandElement::deleteGLObject(), deleteJunction(), deleteLane(), GNEElementTree::onCmdDeleteItem(), GNEDeleteFrame::removeSelectedAttributeCarriers(), 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:

◆ deleteEdge()

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

removes edge

Parameters
[in]edgeThe edge to be removed
[in]undoListThe undolist in which to mark changes

Definition at line 458 of file GNENet.cpp.

References GNEUndoList::add(), GNEUndoList::begin(), deleteAdditional(), deleteDemandElement(), deleteGenericData(), deleteTAZSourceSink(), GNEUndoList::end(), GNEHierarchicalElement::getChildAdditionals(), GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getChildGenericDatas(), GNEHierarchicalElement::getChildLanes(), GNEHierarchicalElement::getChildTAZSourceSinks(), GNEEdge::getFromJunction(), GNEJunction::getGNEIncomingEdges(), GNEJunction::getGNEOutgoingEdges(), GNEJunction::getNBNode(), GNEEdge::getToJunction(), GNE_ATTR_OPPOSITE, GNE_TAG_ROUTE_EMBEDDED, GNEPathManager::invalidateLanePath(), NBNode::isTLControlled(), MODEDELETE, myAttributeCarriers, myDataPathManager, myDemandPathManager, myNetworkPathManager, PRIORITY, GNEJunction::removeConnectionsFrom(), GNEJunction::removeConnectionsTo(), GNEJunction::removeEdgeFromCrossings(), requireRecompute(), GNENetHelper::AttributeCarriers::retrieveLane(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNEJunction::setLogicValid(), SUMO_ATTR_TYPE, TL, and toString().

Referenced by GNEEdge::deleteGLObject(), deleteJunction(), deleteLane(), GNEViewNet::deleteNetworkAttributeCarrier(), deleteNetworkElement(), joinSelectedJunctions(), mergeJunctions(), GNEElementTree::onCmdDeleteItem(), GNEDeleteFrame::removeSelectedAttributeCarriers(), and reverseEdge().

Here is the caller graph for this function:

◆ deleteGenericData()

◆ deleteGLObject()

void GUIGlObject::deleteGLObject ( )
virtualinherited

delete GLObject (Currently used only in netedit)

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

Definition at line 238 of file GUIGlObject.cpp.

◆ deleteJunction()

◆ 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 GNEMeanDataHandler::checkDuplicatedMeanDataElement(), and clearMeanDataElements().

Here is the caller graph for this function:

◆ deleteNetworkElement()

◆ 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(), deleteEdge(), GNEViewNet::deleteNetworkAttributeCarrier(), and GNEElementTree::onCmdDeleteItem().

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

References myUpdateDataEnabled.

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

Here is the caller graph for this function:

◆ disableUpdateGeometry()

void GNENet::disableUpdateGeometry ( )

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

Definition at line 2901 of file GNENet.cpp.

References myUpdateGeometryEnabled.

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

Here is the caller graph for this function:

◆ drawGL()

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

Draws the object.

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

Implements GUIGlObject.

Definition at line 227 of file GNENet.cpp.

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

Referenced by GNEViewNet::doPaintGL().

Here is the caller graph for this function:

◆ 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(), GNEViewNet::onCmdDuplicateLane(), and splitJunction().

Here is the caller graph for this function:

◆ enableUpdateData()

void GNENet::enableUpdateData ( )

Definition at line 2913 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ enableUpdateGeometry()

void GNENet::enableUpdateGeometry ( )

Definition at line 2895 of file GNENet.cpp.

References myUpdateGeometryEnabled.

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

Here is the caller graph for this function:

◆ expandBoundary()

void GNENet::expandBoundary ( const Boundary newBoundary)

expand boundary

Definition at line 240 of file GNENet.cpp.

References Boundary::add(), and 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 GNETagSelector::onCmdSelectTag(), GNETagSelector::setCurrentTag(), 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 GNEDataSet::addDataIntervalChild(), GNEDataInterval::addGenericDataChild(), GNEEdge::addLane(), GNECalibratorDialog::CalibratorFlowsList::addNewElement(), GNETAZFrame::addOrRemoveTAZMember(), GNEViewNet::addRestrictedLane(), GNETAZFrame::CurrentTAZ::addSourceSink(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEViewNet::buildColorRainbow(), GNEContainerFrame::buildContainer(), GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildContainerPlan(), GNERouteHandler::buildContainerStop(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildDestProbReroute(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEDataHandler::buildEdgeData(), GNEMeanDataHandler::buildEdgeMeanData(), GNELane::buildEdgeOperations(), GNEDataHandler::buildEdgeRelationData(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNETLSEditorFrame::buildInternalLanes(), GNEAdditionalHandler::buildJpsObstacle(), GNEAdditionalHandler::buildJpsWalkableArea(), GNEAdditionalHandler::buildLaneCalibrator(), GNEMeanDataHandler::buildLaneMeanData(), GNELane::buildLaneOperations(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingAreaReroute(), GNEAdditionalHandler::buildParkingSpace(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonPlan(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), GNERouteHandler::buildRide(), GNERouteHandler::buildRoute(), GNERouteHandler::buildRouteDistribution(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNERouteHandler::buildRouteRef(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEDataHandler::buildTAZRelationData(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNELane::buildTemplateOperations(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), GNERouteHandler::buildTranship(), GNERouteHandler::buildTransport(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNEVehicleFrame::buildVehicleOverRoute(), GNERouteHandler::buildVType(), GNERouteHandler::buildVTypeDistribution(), GNERouteHandler::buildVTypeRef(), GNERouteHandler::buildWalk(), GNEWireFrame::buildWireOverView(), GNEPathManager::PathCalculator::calculateDijkstraPath(), GNEPathManager::PathCalculator::calculateReachability(), GNECalibratorDialog::CalibratorFlowsList::CalibratorFlowsList(), GNEConnection::changeTLIndex(), GNEDataHandler::checkDuplicatedDataSet(), GNEMeanDataHandler::checkDuplicatedMeanDataElement(), GNERouteHandler::checkViaAttribute(), GNETLSEditorFrame::cleanup(), GNEPathCreator::clearEdgeColors(), GNEPlanSelector::clearEdgeColors(), GNEEdge::clearGNEConnections(), GNEPathCreator::clearJunctionColors(), GNEPlanSelector::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNEJunction::clearWalkingAreas(), GNERerouterIntervalDialog::ClosingLaneReroutesList::ClosingLaneReroutesList(), GNERerouterIntervalDialog::ClosingReroutesList::ClosingReroutesList(), GNEVehicle::computePathElement(), GNERouteFrame::createPath(), GNEWireFrame::createPath(), GNEElementTree::createPopUpMenu(), GNETLSEditorFrame::TLSPrograms::createTLS(), GNEViewNet::deleteDataAttributeCarrier(), GNEViewNet::deleteDemandAttributeCarrier(), GNEViewNet::deleteNetworkAttributeCarrier(), GNERerouterIntervalDialog::DestProbReroutesList::DestProbReroutesList(), GNEViewNet::drawTemporalE1TLSLines(), GNEViewNet::drawTemporalJunctionTLSLines(), GNEViewNet::drawTemporalRoundabout(), GNEPlanCreator::drawTemporalRoute(), GNETLSEditorFrame::editJunction(), GNEViewNet::getAdditionalAtPopupPosition(), GNEAdditionalHandler::getAdditionalParent(), GNEAttributesEditorRow::getAttributeValue(), GNEViewNet::getConnectionAtPopupPosition(), GNERouteHandler::getContainerParent(), GNEViewNet::getCrossingAtPopupPosition(), GNEGenericDataFrame::DataSetSelector::getDataSet(), GNEViewNetHelper::IntervalBar::getDataSet(), GNEViewNet::getDemandElementAtPopupPosition(), GNERouteHandler::getDistributionElements(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getEdgeDataAttrs(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GNEMatchAttribute::getMatches(), GNEEdge::getMoveOperation(), GNEEdge::getOppositeEdges(), GNERouteHandler::getPersonParent(), GNEViewNet::getPOIAtPopupPosition(), GNEViewNet::getPolygonAtPopupPosition(), GNEAdditional::getPopUpMenu(), GNEVehicle::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNEViewNet::getRelDataAttrs(), GNEAdditionalHandler::getRerouterIntervalParent(), GNERouteHandler::getRouteDistributionParent(), GNEViewNet::getShapeEditedAtPopupPosition(), GNEViewNet::getTAZAtPopupPosition(), GNERouteHandler::getType(), GNERouteHandler::getVTypeDistributionParent(), GNEViewNet::getWalkingAreaAtPopupPosition(), GNEEdge::GNEEdge(), GNETypeFrame::GNETypeFrame(), GNESelectorFrame::handleIDs(), GNETLSEditorFrame::handleMultiChange(), GNEGenericDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNEViewNet::hotkeyDel(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectElement(), GNEAttributesEditorType::inspectParent(), GNEJunction::invalidateTLS(), GNEDetector::isDetectorValid(), GNEStoppingPlace::isStoppingPlaceValid(), GNEAccess::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEClosingLaneReroute::isValid(), GNEClosingReroute::isValid(), GNEDestProbReroute::isValid(), GNEEntryExitDetector::isValid(), GNEOverheadWire::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNERouteProbe::isValid(), GNERouteProbReroute::isValid(), GNEVaporizer::isValid(), GNEDataSet::isValid(), GNEEdgeRelData::isValid(), GNEMeanData::isValid(), GNETAZRelData::isValid(), GNEContainer::isValid(), GNEPerson::isValid(), GNEStop::isValid(), GNEVehicle::isValid(), GNEEdge::isValid(), GNEEdgeType::isValid(), GNEJunction::isValid(), GNEPOI::isValid(), GNEAdditional::isValidAdditionalID(), GNEAdditional::isValidAdditionalID(), GNEDemandElement::isValidDemandElementID(), GNEDemandElement::isValidDemandElementID(), GNEAdditional::isValidDetectorID(), GNEAdditional::isValidDetectorID(), GNEJunction::markAsModified(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEAttributesEditorType::moveLaneDown(), GNEAttributesEditorType::moveLaneUp(), GNEViewNet::onCmdAddJoinTLS(), GNEViewNet::onCmdAddReversedEdge(), GNEViewNet::onCmdAddReversedEdgeDisconnected(), GNEViewNet::onCmdAddTLS(), GNEViewNet::onCmdClearConnections(), GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections(), GNEViewNet::onCmdClosePolygon(), GNECreateEdgeFrame::EdgeTypeSelector::onCmdDeleteEdgeType(), GNEViewNet::onCmdDuplicateLane(), GNEViewNet::onCmdEgeApplyTemplate(), GNEViewNet::onCmdLaneReachability(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNEViewParent::onCmdLocate(), GNEAttributesEditorType::onCmdOpenExtendedAttributesDialog(), GNEViewNet::onCmdOpenPolygon(), GNEApplicationWindow::onCmdOpenSUMOGUI(), GNEViewNet::onCmdResetConnections(), GNEViewNet::onCmdResetEdgeEndpoint(), GNEViewNet::onCmdResetEdgeEndPoints(), GNEViewNet::onCmdResetEndPoints(), GNEViewNet::onCmdResetJunctionShape(), GNEViewNet::onCmdResetLaneCustomShape(), GNEViewNet::onCmdResetLength(), GNEViewNet::onCmdResetOppositeLane(), GNEViewNet::onCmdReverseEdge(), GNEApplicationWindow::onCmdSaveAdditionalElementsUnified(), GNETLSEditorFrame::TLSPrograms::onCmdSaveChanges(), GNEApplicationWindow::onCmdSaveDataElementsUnified(), GNEApplicationWindow::onCmdSaveDemandElementsUnified(), GNEApplicationWindow::onCmdSaveJuPedSimElementsAs(), GNEApplicationWindow::onCmdSaveMeanDataElementsUnified(), GNEApplicationWindow::onCmdSaveNetwork(), GNEApplicationWindow::onCmdSaveSumoConfig(), GNEConnectorFrame::ConnectionOperations::onCmdSelectConflicts(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNEDemandElementSelector::onCmdSelectDemandElement(), GNECrossingFrame::CrossingParameters::onCmdSetAttribute(), GNEViewNet::onCmdSimplifyShape(), GNEViewNet::onCmdSmoothEdges(), GNEViewNet::onCmdSmoothEdgesElevation(), GNEViewNet::onCmdStraightenEdges(), GNEViewNet::onCmdStraightenEdgesElevation(), GNEViewNet::onCmdToggleDrawSpreadVehicles(), GNEViewNet::onCmdTriangulatePolygon(), GNEViewObjectSelector::onCmdUseSelectedElements(), GNEApplicationWindow::onUpdNeedsNetworkElement(), GNEApplicationWindow::onUpdSaveAdditionalElementsUnified(), GNEApplicationWindow::onUpdSaveDataElementsUnified(), GNEApplicationWindow::onUpdSaveDemandElementsUnified(), GNEApplicationWindow::onUpdSaveEdgeTypes(), GNEApplicationWindow::onUpdSaveEdgeTypesAs(), GNEApplicationWindow::onUpdSaveJuPedSimElementsAs(), GNEApplicationWindow::onUpdSaveMeanDataElementsUnified(), GNEApplicationWindow::onUpdSaveTLSPrograms(), GNERerouterIntervalDialog::ParkingAreaReroutesList::ParkingAreaReroutesList(), GNEAttributeCarrier::parse(), GNERouteHandler::parseEdge(), GNERouteHandler::parseEdgeFromLaneID(), GNEAdditionalHandler::parseEdges(), GNERouteHandler::parseEdges(), GNEMeanDataHandler::parseEdges(), GNERouteHandler::parseJunction(), GNEAdditionalHandler::parseLanes(), GNERouteHandler::parseStopEdge(), GNERouteHandler::parseTAZ(), GNETLSEditorFrame::parseTLSPrograms(), GNERouteHandler::postParserTasks(), GNECreateEdgeFrame::processClick(), GNEJunction::rebuildGNECrossings(), GNEViewNet::recalculateBoundaries(), GNEPlanCreator::recalculatePath(), GNEChange_Additional::redo(), GNEChange_Attribute::redo(), GNEChange_Crossing::redo(), GNEChange_DataSet::redo(), GNEChange_DemandElement::redo(), GNEChange_Edge::redo(), GNEChange_EdgeType::redo(), GNEChange_Junction::redo(), GNEChange_MeanData::redo(), GNEChange_TAZSourceSink::redo(), GNEDemandElementSelector::refreshDemandElementSelector(), GNESelectorParent::refreshSelectorParentModule(), GNEEdge::remakeGNEConnections(), GNEEdge::removeConnection(), GNEJunction::removeConnectionsTo(), GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), GNEEdge::removeLane(), GNEViewNet::removeRestrictedLane(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNEJunction::removeTLSConnections(), GNEAdditional::replaceAdditionalParent(), GNEAdditional::replaceDemandElementParent(), GNEDemandElement::replaceDemandElementParent(), GNEDemandElement::replaceFirstParentAdditional(), GNEGenericData::replaceFirstParentEdge(), GNEDemandElement::replaceFirstParentEdge(), GNEDemandElement::replaceFirstParentJunction(), GNEDemandElement::replaceFirstParentLane(), GNEJunction::replaceIncomingConnections(), GNEDemandElement::replaceLastParentAdditional(), GNEGenericData::replaceLastParentEdge(), GNEDemandElement::replaceLastParentEdge(), GNEDemandElement::replaceLastParentJunction(), GNEGenericData::replaceParentTAZElement(), GNEDemandElementPlan::replacePlanParent(), GNEViewNet::restrictLane(), GNEAdditionalHandler::retrieveAdditionalElement(), GNERouteHandler::retrieveDemandElement(), GNEEdge::retrieveGNEConnection(), GNEJunction::retrieveGNECrossing(), GNEJunction::retrieveGNEWalkingArea(), GNERerouterIntervalDialog::RouteProbReroutesList::RouteProbReroutesList(), GNELoadThread::run(), GNEDeleteFrame::selectedACsToDelete(), GNEAdditional::setAdditionalID(), GNEAccess::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNEMeanData::setAttribute(), GNEVehicle::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNEJunction::setAttribute(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), GNEDemandElement::setDemandElementID(), GNEJunction::setJunctionType(), GNEJunction::setLogicValid(), GNEJunction::setMoveShape(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNETAZFrame::CurrentTAZ::setTAZ(), GNETAZFrame::shapeDrawed(), GNEMoveFrame::show(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEElementTree::showAttributeCarrierParents(), GNEAttributesEditorRow::showAttributeRow(), GNEDemandElementSelector::showDemandElementSelector(), GNEElementTree::showHierarchicalElementChildren(), GNEAttributesEditorRow::showMoveLaneButtons(), GNEAttributesEditorRow::showValueComboBox(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToTripJunctions(), GNERouteHandler::transformToTripTAZs(), GNERouteHandler::transformToVehicle(), GNEChange_Additional::undo(), GNEChange_Attribute::undo(), GNEChange_Crossing::undo(), GNEChange_DataSet::undo(), GNEChange_DemandElement::undo(), GNEChange_Edge::undo(), GNEChange_EdgeType::undo(), GNEChange_Junction::undo(), GNEChange_MeanData::undo(), GNEChange_TAZSourceSink::undo(), GNEViewNetHelper::ViewObjectsSelector::updateDemandElements(), GNEPathCreator::updateEdgeColors(), GNEPlanSelector::updateEdgeColors(), GNEEdge::updateFirstParentJunction(), GNEPathCreator::updateJunctionColors(), GNEPlanSelector::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements(), GNEApplicationWindow::updateRecomputingLabel(), GNEEdge::updateSecondParentJunction(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_DataInterval::~GNEChange_DataInterval(), GNEChange_DataSet::~GNEChange_DataSet(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_EdgeType::~GNEChange_EdgeType(), GNEChange_GenericData::~GNEChange_GenericData(), GNEChange_MeanData::~GNEChange_MeanData(), GNEChange_TAZSourceSink::~GNEChange_TAZSourceSink(), GNEEdge::~GNEEdge(), and GNEJunction::~GNEJunction().

◆ 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(), and GNEDemandElement::getColorByScheme().

Here is the caller graph for this function:

◆ getCenter()

virtual Position GUIGlObject::getCenter ( ) const
inlinevirtualinherited

◆ getCenteringBoundary()

Boundary GNENet::getCenteringBoundary ( ) const
virtual

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

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

Implements GUIGlObject.

Definition at line 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 GUIGlObject::myGLObjectType.

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

Here is the caller graph for this function:

◆ getColorValue()

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

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

Definition at line 213 of file GUIGlObject.h.

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

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 GNEEdgeRelData::computePathElement(), GNEViewNet::doPaintGL(), GNELane::drawChildren(), GNEJunction::drawJunctionChildren(), GNEGenericDataFrame::GNEGenericDataFrame(), GNEViewNet::redrawPathElementContours(), GNEDataInterval::removeGenericDataChild(), and GNEEdgeData::updateGeometry().

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 GNENetHelper::AttributeCarriers::getDataIntervals(), myAttributeCarriers, and SUMO_ATTR_END.

◆ getDataSetIntervalMinimumBegin()

double GNENet::getDataSetIntervalMinimumBegin ( ) const

get minimum interval

Definition at line 2310 of file GNENet.cpp.

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

◆ getDemandPathManager()

GNEPathManager * GNENet::getDemandPathManager ( )

get demand path manager

Definition at line 174 of file GNENet.cpp.

References myDemandPathManager.

Referenced by GNEDemandElement::buildMenuCommandRouteLength(), GNERouteHandler::canReverse(), GNERouteHandler::canReverse(), GNERoute::computePathElement(), GNEVehicle::computePathElement(), GNEDemandElementPlan::computePlanPathElement(), GNEViewNet::doPaintGL(), GNELane::drawChildren(), GNEContainer::drawGL(), GNEVehicle::drawGL(), GNEJunction::drawJunctionChildren(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEDemandElementPlan::drawPlanLanePartial(), GNEVehicle::getDemandElementProblem(), GNEDemandElement::getEdgeStopIndex(), GNEContainerFrame::GNEContainerFrame(), GNEContainerPlanFrame::GNEContainerPlanFrame(), GNEPersonFrame::GNEPersonFrame(), GNEPersonPlanFrame::GNEPersonPlanFrame(), GNERouteFrame::GNERouteFrame(), GNEVehicleFrame::GNEVehicleFrame(), GNEVehicle::isDemandElementValid(), GNEApplicationWindow::onCmdComputePathManager(), GNEViewNet::onCmdLaneReachability(), GNEApplicationWindow::onUpdComputePathManager(), GNEViewNet::redrawPathElementContours(), GNEConnection::setAttribute(), GNECrossing::setAttribute(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), GNELane::setAttribute(), GNERouteHandler::transformToRouteFlow(), and GNERouteHandler::transformToVehicle().

Here is the caller graph for this function:

◆ getEdgeCont()

NBEdgeCont & GNENet::getEdgeCont ( )

returns the NBEdgeCont of the underlying netbuilder

Definition at line 2205 of file GNENet.cpp.

References NBNetBuilder::getEdgeCont(), and myNetBuilder.

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

Here is the caller graph for this function:

◆ getEdgeIDCounter()

unsigned int & GNENet::getEdgeIDCounter ( )

Definition at line 2942 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()

◆ getGLIcon()

FXIcon * GUIGlObject::getGLIcon ( ) const
inherited

get icon associated with this GL Object

Definition at line 211 of file GUIGlObject.cpp.

References GUIGlObject::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 GUIGlObject::myGlID.

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

Referenced by GNEViewNet::recalculateBoundaries().

Here is the caller graph for this function:

◆ getJunctionIDCounter()

unsigned int & GNENet::getJunctionIDCounter ( )

Definition at line 2936 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 GUIGlObject::myMicrosimID.

Referenced by SUMORTree::addAdditionalGLObject(), GNEViewNet::askMergeJunctions(), GNEJunction::checkDrawFromContour(), GNETLSEditorFrame::controlsEdge(), GUIGlObject::createFullName(), GNENetHelper::AttributeCarriers::deleteEdgeType(), GNENetHelper::AttributeCarriers::deleteSingleEdge(), GNENetHelper::AttributeCarriers::deleteSingleJunction(), GNEAdditional::drawAdditionalID(), GNEInternalLane::drawGL(), GUIGlObject::drawName(), GNECalibrator::getAttribute(), GNECalibratorFlow::getAttribute(), GNEClosingLaneReroute::getAttribute(), GNEClosingReroute::getAttribute(), GNEDestProbReroute::getAttribute(), GNEMultiEntryExitDetector::getAttribute(), GNEOverheadWire::getAttribute(), GNEParkingAreaReroute::getAttribute(), GNEParkingSpace::getAttribute(), GNERerouter::getAttribute(), GNERouteProbe::getAttribute(), GNERouteProbReroute::getAttribute(), GNETAZ::getAttribute(), GNETractionSubstation::getAttribute(), GNEVaporizer::getAttribute(), GNEVariableSpeedSign::getAttribute(), GNEVariableSpeedSignStep::getAttribute(), GNEContainer::getAttribute(), GNEPerson::getAttribute(), GNERoute::getAttribute(), GNERouteDistribution::getAttribute(), GNERouteRef::getAttribute(), GNEStop::getAttribute(), GNEVehicle::getAttribute(), GNEVType::getAttribute(), GNEVTypeDistribution::getAttribute(), GNEVTypeRef::getAttribute(), GNEConnection::getAttribute(), GNEEdge::getAttribute(), GNEEdgeType::getAttribute(), GNEJunction::getAttribute(), GNELane::getAttribute(), GNEWalkingArea::getAttribute(), GNEDetector::getDetectorAttribute(), GNEWalkingArea::getNBWalkingArea(), GUIDialog_ChooserAbstract::getObjectName(), GNEACChooserDialog::getObjectName(), GNEMultiEntryExitDetector::getParentName(), GNERerouter::getParentName(), GNETAZ::getParentName(), GNETractionSubstation::getParentName(), GNEVariableSpeedSign::getParentName(), GNERouteDistribution::getParentName(), GNEVType::getParentName(), GNEVTypeDistribution::getParentName(), GNEPOI::getParentName(), GNEPoly::getParentName(), GNEStoppingPlace::getStoppingPlaceAttribute(), GNEChange_TLS::GNEChange_TLS(), GNETLSEditorFrame::handleMultiChange(), GNENetHelper::AttributeCarriers::insertEdgeType(), GNENetHelper::AttributeCarriers::insertInternalLane(), GUIGLObjectPopupMenu::onCmdCopyName(), 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(), 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 GNEJunction::invalidateTLS(), GNEPathManager::PathCalculator::PathCalculator(), GNEJunction::rebuildGNECrossings(), GNEChange_Crossing::redo(), GNELoadThread::run(), GNEJunction::setAttribute(), and GNEChange_Crossing::undo().

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.

Referenced by GNELaneAreaDetector::computePathElement(), GNEOverheadWire::computePathElement(), GNEViewNet::doPaintGL(), GNELane::drawChildren(), GNEJunction::drawJunctionChildren(), and GNEViewNet::redrawPathElementContours().

Here is the caller graph for this function:

◆ getNumberOfTLSPrograms()

int GNENet::getNumberOfTLSPrograms ( ) const

get number of TLS Programs

Definition at line 2861 of file GNENet.cpp.

◆ getOptionalName()

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

Returns the name of the object (default "")

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

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 
)
virtual

Returns an own parameter window.

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

Implements GUIGlObject.

Definition at line 217 of file GNENet.cpp.

References GUIParameterTableWindow::closeBuilding().

◆ getParentName()

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

◆ getPopUpMenu()

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

Returns an own popup-menu.

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

Implements GUIGlObject.

Definition at line 204 of file GNENet.cpp.

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

◆ getSavingFilesHandler()

◆ getSavingStatus()

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

get saving status

Definition at line 162 of file GNENet.cpp.

References mySavingStatus.

Referenced by GNEApplicationWindow::askSaveElements(), GNEApplicationWindow::handleEvent_NetworkLoaded(), GNEApplicationWindow::loadAdditionalElements(), GNEApplicationWindow::loadDataElements(), GNEApplicationWindow::loadDemandElements(), GNEApplicationWindow::loadMeanDataElements(), GNEApplicationWindow::onCmdOpenAdditionalElements(), GNEApplicationWindow::onCmdOpenDataElements(), GNEApplicationWindow::onCmdOpenDemandElements(), GNEApplicationWindow::onCmdOpenMeanDataElements(), GNEApplicationWindow::onCmdOpenOptionsDialog(), GNEApplicationWindow::onCmdOpenSumoOptionsDialog(), GNEApplicationWindow::onCmdSaveAdditionalElements(), GNEApplicationWindow::onCmdSaveDataElements(), GNEApplicationWindow::onCmdSaveDemandElements(), GNEApplicationWindow::onCmdSaveMeanDataElements(), GNEApplicationWindow::onCmdSaveNeteditConfig(), GNEApplicationWindow::onCmdSaveNetwork(), GNEApplicationWindow::onCmdSaveNetworkAs(), GNEApplicationWindow::onCmdSaveSumoConfig(), GNEApplicationWindow::onUpdSaveAdditionalElements(), GNEApplicationWindow::onUpdSaveDataElements(), GNEApplicationWindow::onUpdSaveDemandElements(), GNEApplicationWindow::onUpdSaveMeanDataElements(), GNEApplicationWindow::onUpdSaveNeteditConfig(), GNEApplicationWindow::onUpdSaveNetwork(), GNEApplicationWindow::onUpdSaveSumoConfig(), GNEChange_Additional::redo(), GNEChange_Attribute::redo(), GNEChange_Children::redo(), GNEChange_Connection::redo(), GNEChange_Crossing::redo(), GNEChange_DataInterval::redo(), GNEChange_DataSet::redo(), GNEChange_DemandElement::redo(), GNEChange_Edge::redo(), GNEChange_EdgeType::redo(), GNEChange_GenericData::redo(), GNEChange_Junction::redo(), GNEChange_Lane::redo(), GNEChange_MeanData::redo(), GNEChange_TAZSourceSink::redo(), GNEChange_TLS::redo(), GNEChange_ToggleAttribute::redo(), GNEAdditional::setAdditionalID(), GNEEdge::setAttribute(), GNENetworkElement::setNetworkElementID(), GNEChange_Additional::undo(), GNEChange_Attribute::undo(), GNEChange_Children::undo(), GNEChange_Connection::undo(), GNEChange_Crossing::undo(), GNEChange_DataInterval::undo(), GNEChange_DataSet::undo(), GNEChange_DemandElement::undo(), GNEChange_Edge::undo(), GNEChange_EdgeType::undo(), GNEChange_GenericData::undo(), GNEChange_Junction::undo(), GNEChange_Lane::undo(), GNEChange_MeanData::undo(), GNEChange_TAZSourceSink::undo(), GNEChange_TLS::undo(), and GNEChange_ToggleAttribute::undo().

◆ 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

◆ getTLLogicCont()

NBTrafficLightLogicCont & GNENet::getTLLogicCont ( )

returns the tllcont of the underlying netbuilder

Definition at line 2199 of file GNENet.cpp.

References NBNetBuilder::getTLLogicCont(), and myNetBuilder.

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

Here is the caller graph for this function:

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inlineinherited

Returns the type of the object as coded in GUIGlObjectType.

See also
GUIGlObjectType

Definition at line 157 of file GUIGlObject.h.

References GUIGlObject::myGLObjectType.

Referenced by GUIGlObject::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(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIJunctionWrapper::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEStop::drawGL(), GNEStopPlan::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEWalkingArea::drawGL(), GUIContainer::drawGL(), GUILane::drawGL(), GUIPerson::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIPerson::drawGLAdditional(), GNEDemandElement::drawJunctionLine(), GNELaneAreaDetector::drawJunctionPartialGL(), GNEOverheadWire::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNELaneAreaDetector::drawLanePartialGL(), GNEOverheadWire::drawLanePartialGL(), GNEEdgeData::drawLanePartialGL(), GNEEdgeRelData::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEAdditional::drawListedAdditional(), GUIBaseVehicle::drawOnPos(), GNEDemandElementPlan::drawPlanGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEDemandElementPlan::drawPlanLanePartial(), GNERoute::drawRoutePartialJunction(), GNERoute::drawRoutePartialLane(), GNEAdditional::drawSquaredAdditional(), GUIJunctionWrapper::getColorValue(), GUIEdge::getColorValue(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GNESelectorFrame::SelectionOperation::loadFromFile(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), LayeredRTree::selectLayer(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GNEJunction::setJunctionType(), GNEViewNetHelper::ViewObjectsSelector::updateGenericDataElements(), GNEViewNetHelper::ViewObjectsSelector::updateNetworkElements(), GNEViewNetHelper::ViewObjectsSelector::updateShapeElements(), and GNEViewNetHelper::ViewObjectsSelector::updateTAZElements().

◆ getTypeParameterWindow()

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

Returns an own type parameter window (optional)

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

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

Definition at line 217 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

Referenced by GUIGLObjectPopupMenu::onCmdShowTypePars().

Here is the caller graph for this function:

◆ getViewNet()

GNEViewNet * GNENet::getViewNet ( ) const

get view net

Definition at line 2193 of file GNENet.cpp.

References myViewNet.

Referenced by GNECreateEdgeFrame::addBikelane(), GNECreateEdgeFrame::addSidewalk(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNERouteHandler::buildContainer(), GNERouteHandler::buildContainerFlow(), GNERouteHandler::buildContainerPlan(), GNERouteHandler::buildContainerStop(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildDestProbReroute(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEAdditionalHandler::buildE1Detector(), GNEAdditionalHandler::buildEdgeCalibrator(), GNEDataHandler::buildEdgeData(), GNEMeanDataHandler::buildEdgeMeanData(), GNEDataHandler::buildEdgeRelationData(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowJunctions(), GNERouteHandler::buildFlowOverRoute(), GNERouteHandler::buildFlowTAZs(), GNEAdditionalHandler::buildJpsObstacle(), GNEAdditionalHandler::buildJpsWalkableArea(), GNEAdditionalHandler::buildLaneCalibrator(), GNEMeanDataHandler::buildLaneMeanData(), GNEDemandElement::buildMenuAddReverse(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildOverheadWire(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingAreaReroute(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonPlan(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildPOI(), GNEAdditionalHandler::buildPOIGeo(), GNEAdditionalHandler::buildPOILane(), GNEAdditionalHandler::buildPolygon(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRide(), GNERouteHandler::buildRoute(), GNERouteHandler::buildRouteDistribution(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNERouteHandler::buildRouteRef(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEDataHandler::buildTAZRelationData(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNELane::buildTemplateOperations(), GNEAdditionalHandler::buildTractionSubstation(), GNEAdditionalHandler::buildTrainStop(), GNERouteHandler::buildTranship(), GNERouteHandler::buildTransport(), GNERouteHandler::buildTrip(), GNERouteHandler::buildTripJunctions(), GNERouteHandler::buildTripTAZs(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildVType(), GNERouteHandler::buildVTypeDistribution(), GNERouteHandler::buildVTypeRef(), GNERouteHandler::buildWalk(), GNEConnection::calculateConnectionContour(), GNEAdditional::calculateContourPolygons(), GNECrossing::calculateCrossingContour(), GNEEdge::calculateEdgeContour(), GNEStop::canDrawVehicleStop(), GNEChange_Attribute::changeAttribute(), GNEPoly::changeFirstGeometryPoint(), GNEConnection::checkDrawConnection(), GNEDemandElementPlan::checkDrawContainerPlan(), GNECrossing::checkDrawCrossing(), GNEAdditional::checkDrawDeleteContour(), GNEGenericData::checkDrawDeleteContour(), GNEDemandElement::checkDrawDeleteContour(), GNEConnection::checkDrawDeleteContour(), GNECrossing::checkDrawDeleteContour(), GNEEdge::checkDrawDeleteContour(), GNEJunction::checkDrawDeleteContour(), GNELane::checkDrawDeleteContour(), GNEWalkingArea::checkDrawDeleteContour(), GNEAdditional::checkDrawDeleteContourSmall(), GNEDemandElement::checkDrawDeleteContourSmall(), GNEEdge::checkDrawDeleteContourSmall(), GNEAdditional::checkDrawFromContour(), GNEEdge::checkDrawFromContour(), GNEJunction::checkDrawFromContour(), GNELane::checkDrawFromContour(), GNEViewNetHelper::LockIcon::checkDrawing(), GNEAttributeCarrier::checkDrawInspectContour(), GNEAccess::checkDrawMoveContour(), GNECalibrator::checkDrawMoveContour(), GNEDetector::checkDrawMoveContour(), GNEMultiEntryExitDetector::checkDrawMoveContour(), GNEParkingSpace::checkDrawMoveContour(), GNERerouter::checkDrawMoveContour(), GNERerouterSymbol::checkDrawMoveContour(), GNEStoppingPlace::checkDrawMoveContour(), GNETAZ::checkDrawMoveContour(), GNETractionSubstation::checkDrawMoveContour(), GNEVariableSpeedSign::checkDrawMoveContour(), GNEDemandElement::checkDrawMoveContour(), GNEConnection::checkDrawMoveContour(), GNECrossing::checkDrawMoveContour(), GNEEdge::checkDrawMoveContour(), GNEJunction::checkDrawMoveContour(), GNELane::checkDrawMoveContour(), GNEPOI::checkDrawMoveContour(), GNEPoly::checkDrawMoveContour(), GNEAdditional::checkDrawOverContour(), GNEDemandElement::checkDrawOverContour(), GNEEdge::checkDrawOverContour(), GNEInternalLane::checkDrawOverContour(), GNEJunction::checkDrawOverContour(), GNELane::checkDrawOverContour(), GNEDemandElementPlan::checkDrawPersonPlan(), GNEAdditional::checkDrawRelatedContour(), GNEInductionLoopDetector::checkDrawRelatedContour(), GNEGenericData::checkDrawRelatedContour(), GNEDemandElement::checkDrawRelatedContour(), GNEVehicle::checkDrawRelatedContour(), GNEConnection::checkDrawRelatedContour(), GNECrossing::checkDrawRelatedContour(), GNEEdge::checkDrawRelatedContour(), GNEInternalLane::checkDrawRelatedContour(), GNEJunction::checkDrawRelatedContour(), GNELane::checkDrawRelatedContour(), GNEWalkingArea::checkDrawRelatedContour(), GNEAdditional::checkDrawSelectContour(), GNEGenericData::checkDrawSelectContour(), GNEDemandElement::checkDrawSelectContour(), GNEConnection::checkDrawSelectContour(), GNECrossing::checkDrawSelectContour(), GNEEdge::checkDrawSelectContour(), GNEJunction::checkDrawSelectContour(), GNELane::checkDrawSelectContour(), GNEWalkingArea::checkDrawSelectContour(), GNEAdditional::checkDrawToContour(), GNEEdge::checkDrawToContour(), GNEJunction::checkDrawToContour(), GNELane::checkDrawToContour(), GNEDataHandler::checkDuplicatedDataSet(), GNEMeanDataHandler::checkDuplicatedMeanDataElement(), GNEAdditionalHandler::checkElement(), GNERouteHandler::checkElement(), GNEJunction::clearWalkingAreas(), GNEPoly::closePolygon(), GNERoute::copyRoute(), GNEVehicle::copyVehicle(), GNEPoly::deleteGeometryPoint(), GNEAdditional::deleteGLObject(), GNEGenericData::deleteGLObject(), GNEDemandElement::deleteGLObject(), GNEConnection::deleteGLObject(), GNECrossing::deleteGLObject(), GNEEdge::deleteGLObject(), GNEEdgeType::deleteGLObject(), GNEJunction::deleteGLObject(), GNELane::deleteGLObject(), GNELaneType::deleteGLObject(), GNEViewNet::doPaintGL(), GNEJunction::drawAsBubble(), GNEGenericData::drawAttribute(), GNEEdge::drawBigGeometryPoints(), GNEEdge::drawChildrens(), GNEConnection::drawConnection(), GNECrossing::drawCrossing(), GNEEdge::drawEdgeGeometryPoints(), GNEJunction::drawElevation(), GNEEdge::drawEndGeometryPoint(), GNEStop::drawGeometryPoints(), GNEPoly::drawGeometryPoints(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNECalibratorFlow::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEEntryExitDetector::drawGL(), GNEInductionLoopDetector::drawGL(), GNEInstantInductionLoopDetector::drawGL(), GNELaneAreaDetector::drawGL(), GNEMultiEntryExitDetector::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouter::drawGL(), GNERerouterInterval::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNETAZRelData::drawGL(), GNEContainer::drawGL(), GNEPerson::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNEWalkingArea::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNEWalkingArea::drawInContourMode(), GNEStop::drawIndex(), GNEJunction::drawJunctionAsShape(), GNEJunction::drawJunctionCenter(), GNELaneAreaDetector::drawJunctionPartialGL(), GNEOverheadWire::drawJunctionPartialGL(), GNEEdgeRelData::drawJunctionPartialGL(), GNERoute::drawJunctionPartialGL(), GNEVehicle::drawJunctionPartialGL(), GNELane::drawLane(), GNELaneAreaDetector::drawLanePartialGL(), GNEOverheadWire::drawLanePartialGL(), GNEEdgeData::drawLanePartialGL(), GNEEdgeRelData::drawLanePartialGL(), GNERoute::drawLanePartialGL(), GNEVehicle::drawLanePartialGL(), GNEPathManager::drawLanePathElements(), GNEAdditional::drawListedAdditional(), GNEAdditional::drawMovingGeometryPoints(), GNEAdditional::drawParentChildLines(), GNEDemandElementPlan::drawPlanGL(), GNEDemandElementPlan::drawPlanJunctionPartial(), GNEDemandElementPlan::drawPlanLanePartial(), GNELane::drawShapeEdited(), GNEEdge::drawStartGeometryPoint(), GNEEdge::drawTAZElements(), GNETAZRelData::drawTAZRel(), GNEWalkingArea::drawTesselatedWalkingArea(), GNEJunction::drawTLSIcon(), GNEAttributeCarrier::drawUsingSelectColor(), GNEEdge::editEndpoint(), GNEAccess::fixAdditionalProblem(), GNEEntryExitDetector::fixAdditionalProblem(), GNEInductionLoopDetector::fixAdditionalProblem(), GNEInstantInductionLoopDetector::fixAdditionalProblem(), GNELaneAreaDetector::fixAdditionalProblem(), GNEOverheadWire::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEPOI::fixAdditionalProblem(), GNEPersonTrip::getColor(), GNERide::getColor(), GNEStop::getColor(), GNEStopPlan::getColor(), GNETranship::getColor(), GNETransport::getColor(), GNEWalk::getColor(), GNECrossing::getCrossingColor(), GNEEdge::getGeometryPointRadius(), GNENetworkElement::getGeometryPointUnderCursorShapeEdited(), GNEContainer::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEAccess::getMoveOperation(), GNEDetector::getMoveOperation(), GNEOverheadWire::getMoveOperation(), GNEParkingSpace::getMoveOperation(), GNEStoppingPlace::getMoveOperation(), GNETAZ::getMoveOperation(), GNEStop::getMoveOperation(), GNEVehicle::getMoveOperation(), GNEEdge::getMoveOperation(), GNEPOI::getMoveOperation(), GNEPoly::getMoveOperation(), GNEAdditional::getMoveOperationMultiLane(), GNEAdditional::getMoveOperationSingleLane(), GNEDemandElementPlan::getPlanMoveOperation(), GNEDemandElementPlan::getPlanPopUpMenu(), GNEAdditional::getPopUpMenu(), GNETAZ::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNERoute::getPopUpMenu(), GNERouteRef::getPopUpMenu(), GNEVTypeRef::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEWalkingArea::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEEdge::getSplitPos(), GNENetworkElement::getVertexIndex(), GNEPoly::getVertexIndex(), GNETAZ::getVertexIndex(), GNEAttributeCarrierDialog::GNEAttributeCarrierDialog(), GNEContainer::GNESelectedContainersPopupMenu::GNESelectedContainersPopupMenu(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicle::GNESingleVehiclePopupMenu::GNESingleVehiclePopupMenu(), GNEEdgeType::isAttributeEnabled(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEAdditional::isGLObjectLocked(), GNEDemandElement::isGLObjectLocked(), GNENetworkElement::isGLObjectLocked(), GNEGenericData::isVisibleInspectDeleteSelect(), GNEAttributeCarrier::markForDrawingFront(), GNEAttributeCarrierDialog::onCmdAccept(), GNECalibratorDialog::onCmdAccept(), GNERerouterDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAccept(), GNEVariableSpeedSignDialog::onCmdAccept(), GNEVehicleTypeDialog::onCmdAccept(), GNEViewNet::onCmdAddJoinTLS(), GNEViewNet::onCmdAddTLS(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNEViewNet::onCmdClosePolygon(), GNEViewNet::onCmdCloseShapeEdited(), GNEViewNet::onCmdDeleteGeometryPointShapeEdited(), GNEViewNet::onCmdOpenPolygon(), GNEViewNet::onCmdOpenShapeEdited(), GNEApplicationWindow::onCmdOpenTLSPrograms(), GNEApplicationWindow::onCmdReloadTLSPrograms(), GNEViewNet::onCmdResetShapeEdited(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNEViewNet::onCmdSelectPolygonElements(), GNEAttributeCarrierDialog::AttributeTextField::onCmdSetAttribute(), GNEViewNet::onCmdSetFirstGeometryPointShapeEdited(), GNEViewNet::onCmdSimplifyShape(), GNEViewNet::onCmdSimplifyShapeEdited(), GNEViewNet::onCmdStraightenShapeEdited(), GNEViewNet::onCmdTriangulatePolygon(), GNELane::onDefault(), GNEApplicationWindow::onUpdSaveAdditionalElements(), GNEPoly::openPolygon(), GNERouteHandler::postParserTasks(), GNEEdge::processNoneJunctionSelected(), GNEJunction::rebuildGNECrossings(), GNERerouter::rebuildRerouterSymbols(), GNEVariableSpeedSign::rebuildVSSSymbols(), GNEChange_DemandElement::redo(), GNEChange_EdgeType::redo(), GNEEdge::removeConnection(), GNEDataSet::removeDataIntervalChild(), GNEElementList::removeElementRecursively(), GNEElementList::removeElementRecursively(), GNEDataInterval::removeGenericDataChild(), GNETAZ::removeGeometryPoint(), GNEConnection::removeGeometryPoint(), GNECrossing::removeGeometryPoint(), GNEJunction::removeGeometryPoint(), GNELane::removeGeometryPoint(), GNEPoly::removeGeometryPoint(), GNEEdge::removeLane(), GNEAttributeCarrier::resetDefaultValues(), GNERouteHandler::reverse(), GNEElementTable::Row::Row(), GNEAdditional::selectGLObject(), GNEGenericData::selectGLObject(), GNEDemandElement::selectGLObject(), GNENetworkElement::selectGLObject(), GNEDataInterval::setAttribute(), GNEDataSet::setAttribute(), GNEEdgeData::setAttribute(), GNEEdgeRelData::setAttribute(), GNETAZRelData::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNELane::setAttribute(), GNELaneType::setAttribute(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), GNEEdgeData::setColor(), GNEEdgeRelData::setColor(), GNEJunction::setColor(), GNELane::setLaneColor(), GNEJunction::setMoveShape(), GNEVehicleTypeDialog::VTypeAttributes::VClassRow::setVariable(), GNEPoly::simplifyShape(), GNEConnection::smootShape(), GNERouteHandler::transformToContainer(), GNERouteHandler::transformToContainerFlow(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), GNERouteHandler::transformToPerson(), GNERouteHandler::transformToPersonFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToTripJunctions(), GNERouteHandler::transformToTripTAZs(), GNERouteHandler::transformToVehicle(), GNEChange_DemandElement::undo(), GNEChange_EdgeType::undo(), GNEAttributeCarrier::unmarkForDrawingFront(), GNEBusStop::updateGeometry(), GNEChargingStation::updateGeometry(), GNEContainerStop::updateGeometry(), GNEStopPlan::updateGeometry(), GNEEdge::updateGeometry(), GNELane::updateGeometry(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_Attribute::~GNEChange_Attribute(), GNEChange_Children::~GNEChange_Children(), GNEChange_DataInterval::~GNEChange_DataInterval(), GNEChange_DataSet::~GNEChange_DataSet(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_Edge::~GNEChange_Edge(), GNEChange_EdgeType::~GNEChange_EdgeType(), GNEChange_GenericData::~GNEChange_GenericData(), GNEChange_Junction::~GNEChange_Junction(), GNEChange_Lane::~GNEChange_Lane(), GNEChange_MeanData::~GNEChange_MeanData(), GNEChange_TAZSourceSink::~GNEChange_TAZSourceSink(), GNEChange_TLS::~GNEChange_TLS(), and GNEChange_ToggleAttribute::~GNEChange_ToggleAttribute().

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

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

Referenced by GNEViewNet::onCmdToggleShowConnections().

Here is the caller graph for this function:

◆ initJunctionsAndEdges()

◆ isBlocked()

bool GUIGlObject::isBlocked ( ) const
inlineinherited

get blocking status

Definition at line 167 of file GUIGlObject.h.

References GUIGlObject::myAmBlocked.

◆ isGLObjectLocked()

bool GUIGlObject::isGLObjectLocked ( ) const
virtualinherited

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

Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.

Definition at line 225 of file GUIGlObject.cpp.

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

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.

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

Here is the caller graph for this function:

◆ isUpdateDataEnabled()

bool GNENet::isUpdateDataEnabled ( ) const

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

Definition at line 2930 of file GNENet.cpp.

References myUpdateDataEnabled.

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

Here is the caller graph for this function:

◆ isUpdateGeometryEnabled()

bool GNENet::isUpdateGeometryEnabled ( ) const

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

Definition at line 2907 of file GNENet.cpp.

References myUpdateGeometryEnabled.

Referenced by GNEDataInterval::addGenericDataChild().

Here is the caller graph for this function:

◆ joinRoutes()

void GNENet::joinRoutes ( GNEUndoList undoList)

join routes

Definition at line 1824 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::onCmdProcessButton().

Here is the caller graph for this function:

◆ 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(), NBNodeCont::analyzeCluster(), GNEUndoList::begin(), GNEChange_Attribute::changeAttribute(), checkJunctionPosition(), createJunction(), deleteCrossing(), deleteEdge(), deleteJunction(), GNEUndoList::end(), GNENetHelper::AttributeCarriers::getEdges(), GNEViewParent::getGNEAppWindows(), GNEAttributeCarrier::getID(), GNENetHelper::AttributeCarriers::getJunctions(), GNEJunction::getNBNode(), NBNetBuilder::getNodeCont(), GNENetHelper::AttributeCarriers::getSelectedJunctions(), GNEEdge::getToJunction(), GNEViewNet::getViewParent(), 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(), and GNEApplicationWindow::onCmdProcessButton().

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(), GNENetHelper::AttributeCarriers::getEdges(), GNEEdge::getFromJunction(), GNEAttributeCarrier::getID(), NBNode::getIncomingEdges(), GNEJunction::getNBNode(), NBNode::getOutgoingEdges(), GNEEdge::getToJunction(), myAttributeCarriers, GNEEdge::setAttribute(), SUMO_ATTR_FROM, SUMO_ATTR_TO, and TL.

Referenced by GNEJunction::setAttribute().

Here is the caller graph for this function:

◆ 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.

◆ 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.

Referenced by GUIGLObjectPopupMenu::removePopupFromObject().

Here is the caller graph for this function:

◆ removeExplicitTurnaround()

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

remove edge id from the list of explicit turnarounds

Definition at line 2217 of file GNENet.cpp.

References myExplicitTurnarounds.

Referenced by GNEEdge::removeConnection().

Here is the caller graph for this function:

◆ removeGLObjectFromGrid()

◆ removeParameterTable()

void GUIGlObject::removeParameterTable ( GUIParameterTableWindow w)
inherited

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

Parameters
[in]wThe closed parameter window

Definition at line 417 of file GUIGlObject.cpp.

References GUIGlObject::myParamWindows.

Referenced by GUIParameterTableWindow::~GUIParameterTableWindow().

Here is the caller graph for this function:

◆ removeRestrictedLane()

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

remove restricted lane

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

Definition at line 959 of file GNENet.cpp.

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

Referenced by GNEViewNet::removeRestrictedLane().

Here is the caller graph for this function:

◆ removeSolitaryJunctions()

void GNENet::removeSolitaryJunctions ( GNEUndoList undoList)

removes junctions that have no edges

Definition at line 1782 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::onCmdProcessButton().

Here is the caller graph for this function:

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

References GNEAttributeCarrier::getAttribute(), GNETagProperties::getAttributeProperties(), GNEAttributeCarrier::getTagProperty(), 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(), GNEJunction::invalidateShape(), 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.

Referenced by GNEViewNet::onCmdResetConnections().

Here is the caller graph for this function:

◆ restrictLane()

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

transform lane to restricted lane

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

Definition at line 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(), addRestrictedLane(), and GNEViewNet::restrictLane().

Here is the caller graph for this function:

◆ reverseEdge()

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

reverse edge

Parameters
[in]edgeThe edge to be reversed

Definition at line 1114 of file GNENet.cpp.

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

Referenced by GNEViewNet::onCmdReverseEdge().

Here is the caller graph for this function:

◆ saveAdditionals()

bool GNENet::saveAdditionals ( )

save additional elements

Definition at line 2223 of file GNENet.cpp.

References GNEDialog::ACCEPT, GNENetHelper::AttributeCarriers::getAdditionals(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getViewParent(), myAttributeCarriers, myViewNet, and saveAdditionalsConfirmed().

Referenced by GNEApplicationWindow::onCmdSaveAdditionalElements().

Here is the caller graph for this function:

◆ saveAdditionalsConfirmed()

◆ saveDataElements()

bool GNENet::saveDataElements ( )

save data set elements of the network

Definition at line 2298 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::onCmdSaveDataElements().

Here is the caller graph for this function:

◆ saveDataElementsConfirmed()

void GNENet::saveDataElementsConfirmed ( )
private

save data elements after confirming invalid objects

Definition at line 2475 of file GNENet.cpp.

References OutputDevice::close(), GNENetHelper::SavingStatus::dataElementsSaved(), EMPTY_HEADER, getApp(), GNENetHelper::SavingFilesHandler::getDatasByFilename(), GNENetHelper::AttributeCarriers::getDataSets(), OutputDevice::getDevice(), myAttributeCarriers, mySavingFilesHandler, mySavingStatus, GNENetHelper::SavingFilesHandler::updateNeteditConfig(), 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(), GNENetHelper::AttributeCarriers::getDemandElements(), GNEViewParent::getGNEAppWindows(), GNEViewNet::getViewParent(), myAttributeCarriers, myViewNet, GNEDemandElement::OK, and saveDemandElementsConfirmed().

Referenced by GNEApplicationWindow::onCmdSaveDemandElements().

Here is the caller graph for this function:

◆ saveDemandElementsConfirmed()

void GNENet::saveDemandElementsConfirmed ( )
private

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

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

Referenced by GNEApplicationWindow::onCmdSaveEdgeTypes().

Here is the caller graph for this function:

◆ saveJoined()

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

save log of joined junctions (and nothing else)

Definition at line 1414 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::onCmdSaveJoinedJunctionsAs().

Here is the caller graph for this function:

◆ saveJuPedSimElements()

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

save JuPedSim elements

Definition at line 2250 of file GNENet.cpp.

References OutputDevice::close(), EMPTY_HEADER, OutputDevice::getDevice(), GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, myViewNet, writeAdditionalByType(), writeJuPedSimComment(), and OutputDevice::writeXMLHeader().

Referenced by GNEApplicationWindow::onCmdSaveJuPedSimElementsAs().

Here is the caller graph for this function:

◆ saveMeanDatas()

bool GNENet::saveMeanDatas ( )

save meanData elements of the network

Definition at line 2344 of file GNENet.cpp.

References myViewNet, and saveMeanDatasConfirmed().

Referenced by GNEApplicationWindow::onCmdSaveMeanDataElements().

Here is the caller graph for this function:

◆ saveMeanDatasConfirmed()

void GNENet::saveMeanDatasConfirmed ( )
private

◆ 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().

Referenced by GNEApplicationWindow::onCmdSavePlainXMLAs().

Here is the caller graph for this function:

◆ saveTLSPrograms()

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

save TLS Programs elements of the network

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

Definition at line 2848 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::onCmdSaveTLSPrograms().

Here is the caller graph for this function:

◆ selectGLObject()

void GUIGlObject::selectGLObject ( )
virtualinherited

select GLObject (Currently used only in netedit)

Reimplemented in GNEAdditional, GNEGenericData, GNEDemandElement, and GNENetworkElement.

Definition at line 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(), NBNetBuilder::getEdgeCont(), GNEJunction::getNBNode(), NBEdgeCont::getRoundabouts(), GNEEdge::getToJunction(), GNE_ATTR_SELECTED, myAttributeCarriers, myNetBuilder, GNENetHelper::AttributeCarriers::retrieveEdge(), GNEEdge::setAttribute(), GNEJunction::setAttribute(), and TL.

Referenced by GNEViewNet::onCmdSelectRoundabout().

Here is the caller graph for this function:

◆ setBlocked()

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

set blocking status

Definition at line 172 of file GUIGlObject.h.

References GUIGlObject::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 GUIGlObjectStorage::changeName(), GUIGlObject::createFullName(), GUIGlObjectStorage::gIDStorage, GUIGlObject::myFullName, and GUIGlObject::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 GNENetHelper::AttributeCarriers::addDefaultVTypes(), GNENetHelper::AttributeCarriers::getEdges(), myAttributeCarriers, and myViewNet.

Referenced by GNEViewNet::GNEViewNet().

Here is the caller graph for this function:

◆ 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, GNENetHelper::AttributeCarriers::retrieveEdge(), splitEdge(), and TL.

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

Here is the caller graph for this function:

◆ splitJunction()

◆ updateGLObject()

void GUIGlObject::updateGLObject ( )
virtualinherited

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

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

Definition at line 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 GNENetHelper::AttributeCarriers::getAdditionals(), 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 2726 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 GNENetHelper::AttributeCarriers::getDemandElements(), and myAttributeCarriers.

◆ writeDetectorComment()

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

write detector comment

Definition at line 2750 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 2792 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 2828 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getMeanDatas(), 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 2838 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getMeanDatas(), 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 2656 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getMeanDatas(), 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 2762 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 2697 of file GNENet.cpp.

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

Referenced by saveAdditionalsConfirmed(), and saveDemandElementsConfirmed().

Here is the caller graph for this function:

◆ 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 GNENetHelper::AttributeCarriers::getDemandElements(), 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 2714 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 2586 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDemandElements(), GNE_TAG_ROUTEREF, 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 2780 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 2738 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 2804 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 2673 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDemandElements(), GNE_ATTR_DEFAULT_VTYPE, GNE_ATTR_DEFAULT_VTYPE_MODIFIED, myAttributeCarriers, 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 2613 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDemandElements(), 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 2629 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDemandElements(), GNE_TAG_VTYPEREF, 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 2816 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 GUIGlObject::isBlocked(), and GUIGlObject::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(), 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(), 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 GUIGlObject::getFullName(), GUIGlObject::GUIGlObject(), and GUIGlObject::setMicrosimID().

◆ myGlID

const GUIGlID GUIGlObject::myGlID
privateinherited

The numerical id of the object.

Definition at line 318 of file GUIGlObject.h.

Referenced by GUIGlObject::getGlID().

◆ myGLObjectType

const GUIGlObjectType GUIGlObject::myGLObjectType
privateinherited

◆ myGrid

SUMORTree GNENet::myGrid
protected

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

Definition at line 511 of file GNENet.h.

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

◆ myIcon

FXIcon* GUIGlObject::myIcon
privateinherited

icon associatd with this GL Object

Definition at line 330 of file GUIGlObject.h.

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

◆ 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 GUIGlObject::getMicrosimID(), and GUIGlObject::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(), 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 GUIGlObject::addParameterTable(), GUIGlObject::removeParameterTable(), and GUIGlObject::~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().

◆ 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

◆ 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: