Eclipse SUMO - Simulation of Urban MObility
GNENet Class Reference

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

#include <GNENet.h>

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

Public Member Functions

void addExplicitTurnaround (std::string id)
 add edge id to the list of explicit turnarounds More...
 
void addGLObjectIntoGrid (GNEAttributeCarrier *AC)
 add GL Object into net More...
 
bool addRestrictedLane (SUMOVehicleClass vclass, GNEEdge *edge, int index, GNEUndoList *undoList)
 add restricted lane to edge More...
 
GNEEdgeaddReversedEdge (GNEEdge *edge, GNEUndoList *undoList)
 add reversed edge More...
 
void changeEdgeEndpoints (GNEEdge *edge, const std::string &newSourceID, const std::string &newDestID)
 modifies endpoins of the given edge More...
 
bool cleanInvalidCrossings (GNEUndoList *undoList)
 clear invalid crossings More...
 
void cleanInvalidDemandElements (GNEUndoList *undoList)
 clean invalid demand elements More...
 
void cleanUnusedRoutes (GNEUndoList *undoList)
 clean unused routes More...
 
void clearJunctionConnections (GNEJunction *junction, GNEUndoList *undoList)
 clear junction's connections More...
 
void computeAndUpdate (OptionsCont &oc, bool volatileOptions)
 recompute the network and update lane geometries More...
 
void computeDataElements (GNEApplicationWindow *window)
 compute data elements param[in] window The window to inform about delay More...
 
void computeDemandElements (GNEApplicationWindow *window)
 compute demand elements param[in] window The window to inform about delay More...
 
void computeJunction (GNEJunction *junction)
 trigger recomputation of junction shape and logic param[in] window The window to inform about delay More...
 
void computeNetwork (GNEApplicationWindow *window, bool force=false, bool volatileOptions=false, std::string additionalPath="", std::string demandPath="", std::string dataPath="")
 trigger full netbuild computation param[in] window The window to inform about delay param[in] force Whether to force recomputation even if not needed param[in] volatileOptions enable or disable volatile options param[in] additionalPath path in wich additionals were saved before recomputing with volatile options param[in] demandPath path in wich demand elements were saved before recomputing with volatile options param[in] dataPath path in wich data elements were saved before recomputing with volatile options More...
 
GNEEdgecreateEdge (GNEJunction *src, GNEJunction *dest, GNEEdge *edgeTemplate, GNEUndoList *undoList, const std::string &suggestedName="", bool wasSplit=false, bool allowDuplicateGeom=false, bool recomputeConnections=true)
 creates a new edge (unless an edge with the same geometry already exists) More...
 
GNEJunctioncreateJunction (const Position &pos, GNEUndoList *undoList)
 creates a new junction More...
 
void createRoundabout (GNEJunction *junction, GNEUndoList *undoList)
 transform the given junction into a roundabout More...
 
void deleteAdditional (GNEAdditional *additional, GNEUndoList *undoList)
 remove additional More...
 
void deleteConnection (GNEConnection *connection, GNEUndoList *undoList)
 remove connection More...
 
void deleteCrossing (GNECrossing *crossing, GNEUndoList *undoList)
 remove crossing More...
 
void deleteDataInterval (GNEDataInterval *dataInterval, GNEUndoList *undoList)
 remove data interval More...
 
void deleteDataSet (GNEDataSet *dataSet, GNEUndoList *undoList)
 remove data set More...
 
void deleteDemandElement (GNEDemandElement *demandElement, GNEUndoList *undoList)
 remove demand element More...
 
void deleteEdge (GNEEdge *edge, GNEUndoList *undoList, bool recomputeConnections)
 removes edge More...
 
void deleteGenericData (GNEGenericData *genericData, GNEUndoList *undoList)
 remove generic data More...
 
void deleteJunction (GNEJunction *junction, GNEUndoList *undoList)
 removes junction and all incident edges More...
 
void deleteLane (GNELane *lane, GNEUndoList *undoList, bool recomputeConnections)
 removes lane More...
 
void deleteShape (GNEShape *shape, GNEUndoList *undoList)
 remove shape More...
 
void deleteTAZElement (GNETAZElement *TAZElement, GNEUndoList *undoList)
 remove TAZElement More...
 
virtual void drawGLAdditional (GUISUMOAbstractView *const parent, const GUIVisualizationSettings &s) const
 Draws additional, user-triggered visualisations. More...
 
void drawName (const Position &pos, const double scale, const GUIVisualizationTextSettings &settings, const double angle=0) const
 draw name of item More...
 
void duplicateLane (GNELane *lane, GNEUndoList *undoList, bool recomputeConnections)
 duplicates lane More...
 
std::string generateEdgeTypeID () const
 generate edgeType id More...
 
FXApp * getApp ()
 get pointer to the main App More...
 
GNENetHelper::AttributeCarriersgetAttributeCarriers () const
 retrieve all attribute carriers of Net More...
 
const BoundarygetBoundary () const
 returns the bounder of the network More...
 
NBEdgeContgetEdgeCont ()
 returns the NBEdgeCont of the underlying netbuilder More...
 
SUMORTreegetGrid ()
 Returns the RTree used for visualisation speed-up. More...
 
NBNetBuildergetNetBuilder () const
 get net builder More...
 
GNENetHelper::PathCalculatorgetPathCalculator ()
 obtain instance of PathCalculator More...
 
std::vector< GNEAttributeCarrier * > getSelectedAttributeCarriers (bool ignoreCurrentSupermode)
 get all selected attribute carriers (or only relative to current supermode More...
 
NBTrafficLightLogicContgetTLLogicCont ()
 returns the tllcont of the underlying netbuilder More...
 
GNEViewNetgetViewNet () const
 get view net More...
 
 GNENet (NBNetBuilder *netBuilder)
 Constructor. More...
 
void initGNEConnections ()
 initialize GNEConnections More...
 
bool isNetRecomputed () const
 check if net requiere recomputing More...
 
bool isNetSaved () const
 return if net has to be saved More...
 
void joinRoutes (GNEUndoList *undoList)
 join routes More...
 
bool joinSelectedJunctions (GNEUndoList *undoList)
 join selected junctions More...
 
void mergeJunctions (GNEJunction *moved, GNEJunction *target, GNEUndoList *undoList)
 merge the given junctions edges between the given junctions will be deleted More...
 
bool netHasGNECrossings () const
 check if net has GNECrossings More...
 
virtual void onLeftBtnPress (void *)
 notify object about left click More...
 
virtual void removeActiveAddVisualisation (GUISUMOAbstractView *const, int)
 remove additional user-griggered visualisations More...
 
void removeExplicitTurnaround (std::string id)
 remove edge id from the list of explicit turnarounds More...
 
void removeGLObjectFromGrid (GNEAttributeCarrier *AC)
 add GL Object into net More...
 
bool removeRestrictedLane (SUMOVehicleClass vclass, GNEEdge *edge, GNEUndoList *undoList)
 remove restricted lane More...
 
void removeSolitaryJunctions (GNEUndoList *undoList)
 removes junctions that have no edges More...
 
void replaceIncomingEdge (GNEEdge *which, GNEEdge *by, GNEUndoList *undoList)
 replaces edge More...
 
void replaceJunctionByGeometry (GNEJunction *junction, GNEUndoList *undoList)
 replace the selected junction by geometry node(s) and merge the edges More...
 
void requireRecompute ()
 inform the net about the need for recomputation More...
 
void requireSaveNet (bool value)
 inform that net has to be saved More...
 
void resetJunctionConnections (GNEJunction *junction, GNEUndoList *undoList)
 reset junction's connections More...
 
bool restrictLane (SUMOVehicleClass vclass, GNELane *lane, GNEUndoList *undoList)
 transform lane to restricted lane More...
 
std::vector< GNEEdge * > retrieve000180AngleEdges (bool onlySelected=false) const
 return edges with junction angle between 0 (inclusive) and 180 (exclusive) degrees More...
 
std::vector< GNEEdge * > retrieve180360AngleEdges (bool onlySelected=false) const
 return edges with junction angle between 180 (inclusive) and 360 (exclusive) degrees More...
 
GNEAttributeCarrierretrieveAttributeCarrier (const GUIGlID id, bool failHard=true) const
 get a single attribute carrier based on a GLID More...
 
std::vector< GNEAttributeCarrier * > retrieveAttributeCarriers (SumoXMLTag type=SUMO_TAG_NOTHING)
 get the attribute carriers based on Type More...
 
GNEConnectionretrieveConnection (const std::string &id, bool failHard=true) const
 get Connection by id More...
 
std::vector< GNEConnection * > retrieveConnections (bool onlySelected=false) const
 return all connections More...
 
GNECrossingretrieveCrossing (const std::string &id, bool failHard=true) const
 get Crossing by id More...
 
std::vector< GNECrossing * > retrieveCrossings (bool onlySelected=false) const
 return all crossings More...
 
GNEEdgeretrieveEdge (const std::string &id, bool failHard=true) const
 get edge by id More...
 
GNEEdgeretrieveEdge (GNEJunction *from, GNEJunction *to, bool failHard=true) const
 get edge by from and to GNEJunction More...
 
std::vector< GNEEdge * > retrieveEdges (bool onlySelected=false)
 return all edges More...
 
GNEEdgeTyperetrieveEdgeType (const std::string &id, bool failHard=true) const
 get edge type by id More...
 
GNEJunctionretrieveJunction (const std::string &id, bool failHard=true) const
 get junction by id More...
 
std::vector< GNEJunction * > retrieveJunctions (bool onlySelected=false)
 return all junctions More...
 
GNELaneretrieveLane (const std::string &id, bool failHard=true, bool checkVolatileChange=false)
 get lane by id More...
 
std::vector< GNELane * > retrieveLanes (bool onlySelected=false)
 return all lanes More...
 
std::vector< GNEShape * > retrieveShapes (bool onlySelected=false)
 return all shapes More...
 
std::vector< GNEShape * > retrieveShapes (SumoXMLTag shapeTag, bool onlySelected=false)
 return shape by type shapes More...
 
void reverseEdge (GNEEdge *edge, GNEUndoList *undoList)
 reverse edge More...
 
void save (OptionsCont &oc)
 save the network More...
 
void saveJoined (OptionsCont &oc)
 save log of joined junctions (and nothing else) More...
 
void savePlain (OptionsCont &oc)
 save plain xml representation of the network (and nothing else) More...
 
void selectRoundabout (GNEJunction *junction, GNEUndoList *undoList)
 select all roundabout edges and junctions for the current roundabout More...
 
void setViewNet (GNEViewNet *viewNet)
 Set the net to be notified of network changes. More...
 
GNEJunctionsplitEdge (GNEEdge *edge, const Position &pos, GNEUndoList *undoList, GNEJunction *newJunction=0)
 split edge at position by inserting a new junction More...
 
void splitEdgesBidi (GNEEdge *edge, GNEEdge *oppositeEdge, const Position &pos, GNEUndoList *undoList)
 split all edges at position by inserting one new junction More...
 
void splitJunction (GNEJunction *junction, bool reconnect, GNEUndoList *undoList)
 replace the selected junction by a list of junctions for each unique edge endpoint More...
 
 ~GNENet ()
 Destructor. More...
 
inherited from GUIGlObject
GUIGLObjectPopupMenugetPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own popup-menu. More...
 
GUIParameterTableWindowgetParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own parameter window. More...
 
Boundary getCenteringBoundary () const
 Returns the boundary to which the view shall be centered in order to show the object. More...
 
void expandBoundary (const Boundary &newBoundary)
 expand boundary More...
 
const BoundarygetZBoundary () const
 Returns the Z boundary (stored in the x() coordinate) values of 0 do not affect the boundary. More...
 
void addZValueInBoundary (const double z)
 add Z in net boundary More...
 
void drawGL (const GUIVisualizationSettings &s) const
 Draws the object. More...
 
Functions related to Additional Items
GNEAdditionalretrieveAdditional (SumoXMLTag type, const std::string &id, bool hardFail=true) const
 Returns the named additional. More...
 
std::vector< GNEAdditional * > retrieveAdditionals (bool onlySelected=false) const
 return all additionals More...
 
int getNumberOfAdditionals (SumoXMLTag type=SUMO_TAG_NOTHING) const
 Returns the number of additionals of the net. More...
 
void requireSaveAdditionals (bool value)
 inform that additionals has to be saved More...
 
void saveAdditionals (const std::string &filename)
 save additional elements of the network More...
 
bool isAdditionalsSaved () const
 check if additionals are saved More...
 
std::string generateAdditionalID (SumoXMLTag type) const
 generate additional id More...
 
Functions related to DemandElement Items
GNEDemandElementretrieveDemandElement (SumoXMLTag type, const std::string &id, bool hardFail=true) const
 Returns the named demand element. More...
 
std::vector< GNEDemandElement * > retrieveDemandElements (bool onlySelected=false) const
 return all demand elements More...
 
int getNumberOfDemandElements (SumoXMLTag type=SUMO_TAG_NOTHING) const
 Returns the number of demand elements of the net. More...
 
void requireSaveDemandElements (bool value)
 inform that demand elements has to be saved More...
 
void saveDemandElements (const std::string &filename)
 save demand element elements of the network More...
 
bool isDemandElementsSaved () const
 check if demand elements are saved More...
 
std::string generateDemandElementID (SumoXMLTag tag) const
 generate demand element id More...
 
Functions related to DataSet Items
GNEDataSetretrieveDataSet (const std::string &id, bool hardFail=true) const
 Returns the named data set. More...
 
std::vector< GNEDataSet * > retrieveDataSets () const
 return all data sets More...
 
std::vector< GNEGenericData * > retrieveGenericDatas (bool onlySelected=false) const
 return all generic datas More...
 
int getNumberOfDataSets () const
 Returns the number of data sets of the net. More...
 
void requireSaveDataElements (bool value)
 inform that data sets has to be saved More...
 
void saveDataElements (const std::string &filename)
 save data set elements of the network More...
 
bool isDataElementsSaved () const
 check if data sets are saved More...
 
std::string generateDataSetID (const std::string &prefix) const
 generate data set id More...
 
std::set< std::string > retrieveGenericDataParameters (const std::string &genericDataTag, const double begin, const double end) const
 return a set of parameters for the given data Interval More...
 
std::set< std::string > retrieveGenericDataParameters (const std::string &dataSetID, const std::string &genericDataTag, const std::string &beginStr, const std::string &endStr) const
 return a set of parameters for the given dataSet, generic data Type, begin and end More...
 
double getDataSetIntervalMinimumBegin () const
 get minimum interval More...
 
double getDataSetIntervalMaximumEnd () const
 get maximum interval More...
 
Functions related with Shapes
GNEShaperetrieveShape (SumoXMLTag type, const std::string &id, bool hardFail=true) const
 Returns the named shape. More...
 
std::vector< GNEShape * > retrieveShapes (bool onlySelected=false) const
 return all shapes More...
 
std::string generateShapeID (SumoXMLTag shapeTag) const
 generate Shape ID More...
 
int getNumberOfShapes (SumoXMLTag type=SUMO_TAG_NOTHING) const
 Returns the number of shapes of the net. More...
 
Functions related with TAZElements
GNETAZElementretrieveTAZElement (SumoXMLTag type, const std::string &id, bool hardFail=true) const
 Returns the named TAZElement. More...
 
std::vector< GNETAZElement * > retrieveTAZElements (bool onlySelected=false) const
 return all TAZElements More...
 
std::string generateTAZElementID (SumoXMLTag TAZElementTag) const
 generate TAZElement ID More...
 
int getNumberOfTAZElements (SumoXMLTag type=SUMO_TAG_NOTHING) const
 Returns the number of TAZElements of the net. More...
 
Functions related to TLS Programs
void requireSaveTLSPrograms ()
 
void saveTLSPrograms (const std::string &filename)
 save TLS Programs elements of the network More...
 
int getNumberOfTLSPrograms () const
 get number of TLS Programs More...
 
void saveEdgeTypes (const std::string &filename)
 save edgeTypes elements of the network More...
 
Functions related to Enable or disable update geometry of elements after insertio

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

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

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

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

Returns the full name appearing in the tool tip

Returns
This object's typed id
const std::string & getFullName () const
 
virtual std::string getParentName () const
 Returns the name of the parent object (if any) More...
 
GUIGlID getGlID () const
 Returns the numerical id of the object. More...
 
interfaces to be implemented by derived classes
virtual void removedPopupMenu ()
 notify object about popup menu removal More...
 
virtual GUIParameterTableWindowgetTypeParameterWindow (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own type parameter window (optional) More...
 
virtual const std::string & getMicrosimID () const
 Returns the id of the object as known to microsim. More...
 
virtual const std::string getOptionalName () const
 Returns the name of the object (default "") More...
 
virtual void setMicrosimID (const std::string &newID)
 Changes the microsimID of the object. More...
 
GUIGlObjectType getType () const
 Returns the type of the object as coded in GUIGlObjectType. More...
 
virtual double getColorValue (const GUIVisualizationSettings &, int) const
 
Parameter table window I/O

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

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

Static Public Attributes

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

Protected Member Functions

void buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More...
 
void buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI More...
 
helper methods for building popup-menus
void buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true)
 Builds the header. More...
 
void buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to center to the object. More...
 
void buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds entries which allow to copy the name / typed name into the clipboard. More...
 
void buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to (de)select the object. More...
 
void buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the parameter window. More...
 
void buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the type parameter window. More...
 
void buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position. More...
 
void buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the manipulator window. More...
 

Protected Attributes

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

Private Member Functions

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

Private Attributes

std::string myFullName
 full name of GL Object More...
 
GUIGlID myGlID
 The numerical id of the object. More...
 
const GUIGlObjectType myGLObjectType
 The type of the object. More...
 
std::string myMicrosimID
 ID of GL object. More...
 
std::set< GUIParameterTableWindow * > myParamWindows
 Parameter table windows which refer to this object. More...
 

Static Private Attributes

static StringBijection< GUIGlObjectType >::Entry GUIGlObjectTypeNamesInitializer []
 LinkStates (Currently unused) More...
 

ID Suppliers for newly created edges and junctions

IDSupplier myEdgeIDSupplier
 
IDSupplier myJunctionIDSupplier
 
std::set< std::string > myExplicitTurnarounds
 list of edge ids for which turn-arounds must be added explicitly More...
 
bool myNeedRecompute
 whether the net needs recomputation More...
 
bool myNetSaved
 Flag to check if net has to be saved. More...
 
bool myAdditionalsSaved
 Flag to check if additionals has to be saved. More...
 
bool myTLSProgramsSaved
 Flag to check if shapes has to be saved. More...
 
bool myDemandElementsSaved
 Flag to check if demand elements has to be saved. More...
 
bool myDataElementsSaved
 Flag to check if data elements has to be saved. More...
 
bool myUpdateGeometryEnabled
 Flag to enable or disable update geometry of elements after inserting or removing element in net. More...
 
bool myUpdateDataEnabled
 Flag to enable or disable update data elements after inserting or removing element in net. More...
 
Boundary myZBoundary
 the z boundary (stored in the x-coordinate), values of 0 are ignored More...
 
std::map< std::string, int > myEdgesAndNumberOfLanes
 map with the Edges and their number of lanes More...
 
static const double Z_INITIALIZED = 1
 marker for whether the z-boundary is initialized More...
 
void initJunctionsAndEdges ()
 Init Junctions and edges. More...
 
void reserveEdgeID (const std::string &id)
 reserve edge ID (To avoid duplicates) More...
 
void reserveJunctionID (const std::string &id)
 reserve junction ID (To avoid duplicates) More...
 
bool checkJunctionPosition (const Position &pos)
 return true if there are already a Junction in the given position, false in other case More...
 
void saveAdditionalsConfirmed (const std::string &filename)
 save additionals after confirming invalid objects More...
 
void saveDemandElementsConfirmed (const std::string &filename)
 save demand elements after confirming invalid objects More...
 
void saveDataElementsConfirmed (const std::string &filename)
 save data elements after confirming invalid objects More...
 
 GNENet (const GNENet &)=delete
 Invalidated copy constructor. More...
 
GNENetoperator= (const GNENet &)=delete
 Invalidated assignment operator. More...
 
static void replaceInListAttribute (GNEAttributeCarrier *ac, SumoXMLAttr key, const std::string &which, const std::string &by, GNEUndoList *undoList)
 

Detailed Description

A NBNetBuilder extended by visualisation and editing capabilities.

Definition at line 40 of file GNENet.h.

Constructor & Destructor Documentation

◆ GNENet() [1/2]

GNENet::GNENet ( NBNetBuilder netBuilder)

Constructor.

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

Definition at line 88 of file GNENet.cpp.

References GUIGlObjectStorage::gIDStorage, GUIGlObjectStorage::setNetObject(), and WRITE_GLDEBUG.

◆ ~GNENet()

GNENet::~GNENet ( )

Destructor.

Definition at line 118 of file GNENet.cpp.

References myAttributeCarriers, myNetBuilder, myPathCalculator, and WRITE_DEBUG.

◆ GNENet() [2/2]

GNENet::GNENet ( const GNENet )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ addExplicitTurnaround()

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

add edge id to the list of explicit turnarounds

Definition at line 2294 of file GNENet.cpp.

References myExplicitTurnarounds.

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

Here is the caller graph for this function:

◆ addGLObjectIntoGrid()

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow w)
inherited

Definition at line 309 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]undoListThe undolist in which to mark changes

Definition at line 706 of file GNENet.cpp.

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

Referenced by GNEViewNet::addRestrictedLane().

Here is the caller graph for this function:

◆ addReversedEdge()

GNEEdge * GNENet::addReversedEdge ( GNEEdge edge,
GNEUndoList undoList 
)

◆ addZValueInBoundary()

void GNENet::addZValueInBoundary ( const double  z)

add Z in net boundary

Definition at line 199 of file GNENet.cpp.

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

◆ buildAdditionalsPopupOptions()

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

◆ buildCenterPopupEntry()

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

Builds an entry which allows to center to the object.

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

Definition at line 238 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildNameCopyPopupEntry()

◆ buildPopupHeader()

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

Builds the header.

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

Definition at line 229 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildPositionCopyEntry()

void GUIGlObject::buildPositionCopyEntry ( GUIGLObjectPopupMenu ret,
bool  addSeparator = true 
)
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 288 of file GUIGlObject.cpp.

References GUIDesigns::buildFXMenuCommand(), GeoConvHelper::getFinal(), MID_COPY_CURSOR_GEOPOSITION, and MID_COPY_CURSOR_POSITION.

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

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

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

Referenced by GNEPOI::getPopUpMenu(), and 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 300 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildShowParamsPopupEntry()

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

Builds an entry which allows to open the parameter window.

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

Definition at line 270 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildShowTypeParamsPopupEntry()

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

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

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

Definition at line 279 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ changeEdgeEndpoints()

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

modifies endpoins of the given edge

Definition at line 2236 of file GNENet.cpp.

References GNEEdge::getNBEdge(), GNEJunction::getNBNode(), NBEdge::reinitNodes(), requireRecompute(), and 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 1035 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 1881 of file GNENet.cpp.

References deleteCrossing(), getApp(), GNENetHelper::AttributeCarriers::getJunctions(), myAttributeCarriers, GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_CROSSING, toString(), and WRITE_DEBUG.

Referenced by GNEApplicationWindow::onCmdProcessButton().

Here is the caller graph for this function:

◆ cleanInvalidDemandElements()

void GNENet::cleanInvalidDemandElements ( GNEUndoList undoList)

clean invalid demand elements

Definition at line 2040 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDemandElements(), myAttributeCarriers, GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_FLOW, SUMO_TAG_ROUTE, and SUMO_TAG_TRIP.

Referenced by GNEApplicationWindow::onCmdProcessButton().

Here is the caller graph for this function:

◆ cleanUnusedRoutes()

void GNENet::cleanUnusedRoutes ( GNEUndoList undoList)

clean unused routes

Definition at line 1950 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::onCmdProcessButton().

Here is the caller graph for this function:

◆ clearJunctionConnections()

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

clear junction's connections

Definition at line 2213 of file GNENet.cpp.

References deleteConnection(), GNEJunction::getGNEConnections(), GNEUndoList::p_begin(), and GNEUndoList::p_end().

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

Here is the caller graph for this function:

◆ computeAndUpdate()

◆ computeDataElements()

void GNENet::computeDataElements ( GNEApplicationWindow window)

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

Definition at line 1676 of file GNENet.cpp.

References GNEApplicationWindow::setStatusBarText().

Referenced by saveDataElements().

Here is the caller graph for this function:

◆ computeDemandElements()

void GNENet::computeDemandElements ( GNEApplicationWindow window)

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

Definition at line 1659 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDemandElements(), GNEViewNet::getEditModes(), GNEViewNetHelper::EditModes::isCurrentSupermodeDemand(), myAttributeCarriers, myPathCalculator, myViewNet, GNEApplicationWindow::setStatusBarText(), and GNENetHelper::PathCalculator::updatePathCalculator().

Referenced by GNEApplicationWindow::onCmdProcessButton(), GNEViewNet::onCmdToogleShowDemandElements(), and saveDemandElements().

Here is the caller graph for this function:

◆ computeJunction()

void GNENet::computeJunction ( GNEJunction junction)

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

Definition at line 1691 of file GNENet.cpp.

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

Referenced by GNETLSEditorFrame::onCmdDefSwitch().

Here is the caller graph for this function:

◆ computeNetwork()

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

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

Definition at line 1603 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ createEdge()

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

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

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

Definition at line 219 of file GNENet.cpp.

References OptionsCont::getFloat(), OptionsCont::getInt(), GNEEdge::getNBEdge(), GNEJunction::getNBNode(), IDSupplier::getNext(), OptionsCont::getOptions(), NBNode::getOutgoingEdges(), OptionsCont::getString(), myEdgeIDSupplier, GNEUndoList::p_begin(), GNEUndoList::p_end(), requireRecompute(), reserveEdgeID(), retrieveEdge(), GNEJunction::setLogicValid(), SUMO_TAG_EDGE, toString(), 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 370 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 208 of file GNENet.cpp.

References IDSupplier::getNext(), and myJunctionIDSupplier.

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

Here is the caller graph for this function:

◆ createRoundabout()

◆ deleteAdditional()

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

remove additional

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

Definition at line 527 of file GNENet.cpp.

References deleteDemandElement(), deleteGenericData(), GNEHierarchicalElement::getChildAdditionals(), GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getChildGenericDatas(), GNEAttributeCarrier::getTagStr(), GNEUndoList::p_begin(), and GNEUndoList::p_end().

Referenced by deleteEdge(), deleteLane(), GNEViewNet::deleteSelectedAdditionals(), GNEFixAdditionalElements::onCmdAccept(), GNEDeleteFrame::removeAttributeCarrier(), and GNEDeleteFrame::removeSelectedAttributeCarriers().

Here is the caller graph for this function:

◆ deleteConnection()

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

remove connection

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

Definition at line 494 of file GNENet.cpp.

References GNEConnection::getEdgeFrom(), GNEConnection::getNBConnection(), GNEConnection::getNBEdgeConnection(), GNEHierarchicalElement::getParentJunctions(), GNEJunction::invalidateTLS(), GNEAttributeCarrier::isAttributeCarrierSelected(), GNEJunction::markAsModified(), GNEUndoList::p_begin(), GNEUndoList::p_end(), requireRecompute(), SUMO_TAG_CONNECTION, and toString().

Referenced by GNEConnectorFrame::buildConnection(), clearJunctionConnections(), GNEViewNet::deleteSelectedConnections(), GNEDeleteFrame::removeAttributeCarrier(), and GNEDeleteFrame::removeSelectedAttributeCarriers().

Here is the caller graph for this function:

◆ deleteCrossing()

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

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

References deleteGenericData(), GNEDataInterval::getGenericDataChildren(), GNEAttributeCarrier::getTagStr(), GNEUndoList::p_begin(), and GNEUndoList::p_end().

Referenced by deleteDataSet().

Here is the caller graph for this function:

◆ deleteDataSet()

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

remove data set

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

Definition at line 604 of file GNENet.cpp.

References deleteDataInterval(), GNEDataSet::getDataIntervalChildren(), GNEAttributeCarrier::getTagStr(), GNEUndoList::p_begin(), and GNEUndoList::p_end().

◆ deleteDemandElement()

◆ deleteEdge()

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

◆ deleteGenericData()

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

◆ deleteJunction()

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

◆ deleteLane()

◆ deleteShape()

void GNENet::deleteShape ( GNEShape shape,
GNEUndoList undoList 
)

remove shape

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

Definition at line 548 of file GNENet.cpp.

References GNEAttributeCarrier::getTagStr(), GNEUndoList::p_begin(), and GNEUndoList::p_end().

Referenced by deleteEdge(), deleteLane(), GNEViewNet::deleteSelectedShapes(), GNEViewNet::onCmdTransformPOI(), GNEDeleteFrame::removeAttributeCarrier(), and GNEDeleteFrame::removeSelectedAttributeCarriers().

Here is the caller graph for this function:

◆ deleteTAZElement()

void GNENet::deleteTAZElement ( GNETAZElement TAZElement,
GNEUndoList undoList 
)

remove TAZElement

Parameters
[in]TAZElementThe TAZElement to be removed
[in]undoListThe undolist in which to mark changes

Definition at line 557 of file GNENet.cpp.

References deleteDemandElement(), deleteGenericData(), GNEHierarchicalElement::getChildDemandElements(), GNEHierarchicalElement::getChildGenericDatas(), GNEHierarchicalElement::getChildTAZElements(), GNEAttributeCarrier::getTagStr(), GNEUndoList::p_begin(), and GNEUndoList::p_end().

Referenced by GNEViewNet::deleteSelectedTAZElements(), and GNEDeleteFrame::removeAttributeCarrier().

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

References myUpdateDataEnabled.

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

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

◆ drawGLAdditional()

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

Draws additional, user-triggered visualisations.

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

Reimplemented in GUIPerson, GUIContainer, and GUIBaseVehicle.

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

References GNELane::getIndex(), NBEdge::getLaneStruct(), GNEEdge::getNBEdge(), GNELane::getParentEdge(), GNEHierarchicalElement::getParentJunctions(), GNEUndoList::p_begin(), GNEUndoList::p_end(), requireRecompute(), SUMO_TAG_LANE, and toString().

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

Here is the caller graph for this function:

◆ enableUpdateData()

void GNENet::enableUpdateData ( )

Definition at line 3127 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ enableUpdateGeometry()

void GNENet::enableUpdateGeometry ( )

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

References Boundary::add(), and myGrid.

◆ generateAdditionalID()

std::string GNENet::generateAdditionalID ( SumoXMLTag  type) const

generate additional id

Definition at line 2425 of file GNENet.cpp.

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

◆ generateDataSetID()

std::string GNENet::generateDataSetID ( const std::string &  prefix) const

generate data set id

Definition at line 2677 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDataSets(), myAttributeCarriers, SUMO_TAG_DATASET, and toString().

◆ generateDemandElementID()

std::string GNENet::generateDemandElementID ( SumoXMLTag  tag) const

◆ generateEdgeTypeID()

std::string GNENet::generateEdgeTypeID ( ) const

generate edgeType id

Definition at line 2306 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getEdgeTypes(), myAttributeCarriers, and toString().

◆ generateShapeID()

std::string GNENet::generateShapeID ( SumoXMLTag  shapeTag) const

generate Shape ID

Definition at line 2971 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getShapes(), myAttributeCarriers, SUMO_TAG_POI, SUMO_TAG_POLY, and toString().

Referenced by GNEPolygonFrame::processClick(), and GNEPolygonFrame::shapeDrawed().

Here is the caller graph for this function:

◆ generateTAZElementID()

std::string GNENet::generateTAZElementID ( SumoXMLTag  TAZElementTag) const

generate TAZElement ID

Definition at line 3028 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getTAZElements(), myAttributeCarriers, and toString().

Referenced by GNETAZFrame::shapeDrawed().

Here is the caller graph for this function:

◆ getApp()

FXApp * GNENet::getApp ( )

get pointer to the main App

Definition at line 1732 of file GNENet.cpp.

References myViewNet.

Referenced by cleanInvalidCrossings(), and joinSelectedJunctions().

Here is the caller graph for this function:

◆ getAttributeCarriers()

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

retrieve all attribute carriers of Net

Definition at line 130 of file GNENet.cpp.

References myAttributeCarriers.

Referenced by GNESelectorFrame::ACsToSelected(), GNEPolygonFrame::addPOI(), GNEPolygonFrame::addPOILane(), GNEPolygonFrame::addPolygon(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildRerouter(), GNERouteHandler::buildRide(), GNERouteHandler::buildRoute(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildWalk(), GNENetHelper::PathCalculator::calculateReachability(), GNESelectorFrame::clearCurrentSelection(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVType(), GNEPOI::generateChildID(), GNEPoly::generateChildID(), GNEGenericDataFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNERerouterIntervalDialog::onCmdAddClosingLaneReroute(), GNERerouterIntervalDialog::onCmdAddClosingReroute(), GNERerouterIntervalDialog::onCmdAddDestProbReroute(), GNECalibratorDialog::onCmdAddFlow(), GNERerouterIntervalDialog::onCmdAddParkingAreaReroute(), GNECalibratorDialog::onCmdClickedRoute(), GNECalibratorDialog::onCmdClickedVehicleType(), GNEViewNet::onCmdLaneReachability(), GNEViewParent::onCmdLocate(), GNEViewNet::onCmdToogleDrawSpreadVehicles(), GNEViewNet::onCmdTransformPOI(), GNEAdditionalHandler::parseAndBuildPOI(), GNEAdditionalHandler::parseAndBuildPoly(), GNEChange_Additional::redo(), GNEChange_DataSet::redo(), GNEChange_DemandElement::redo(), GNEChange_Edge::redo(), GNEChange_EdgeType::redo(), GNEChange_Junction::redo(), GNEChange_Shape::redo(), GNEChange_TAZElement::redo(), GNEDeleteFrame::selectedACsToDelete(), GNEBusStop::setAttribute(), GNECalibrator::setAttribute(), GNECalibratorFlow::setAttribute(), GNEChargingStation::setAttribute(), GNEClosingLaneReroute::setAttribute(), GNEClosingReroute::setAttribute(), GNEContainerStop::setAttribute(), GNEDestProbReroute::setAttribute(), GNEDetectorE1::setAttribute(), GNEDetectorE1Instant::setAttribute(), GNEDetectorE2::setAttribute(), GNEDetectorE3::setAttribute(), GNEParkingArea::setAttribute(), GNEParkingAreaReroute::setAttribute(), GNEPOI::setAttribute(), GNEPoly::setAttribute(), GNERerouter::setAttribute(), GNERouteProbe::setAttribute(), GNERouteProbReroute::setAttribute(), GNETAZ::setAttribute(), GNETAZSourceSink::setAttribute(), GNEVaporizer::setAttribute(), GNEVariableSpeedSign::setAttribute(), GNEDataSet::setAttribute(), GNEPerson::setAttribute(), GNERoute::setAttribute(), GNEVehicle::setAttribute(), GNEVehicleType::setAttribute(), GNEEdge::setAttribute(), GNEEdgeType::setAttribute(), GNEJunction::setAttribute(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEChange_Additional::undo(), GNEChange_DataSet::undo(), GNEChange_DemandElement::undo(), GNEChange_Edge::undo(), GNEChange_EdgeType::undo(), GNEChange_Junction::undo(), GNEChange_Shape::undo(), GNEChange_TAZElement::undo(), GNECalibratorDialog::updateFlowAndLabelButton(), GNECalibratorDialog::updateRouteTable(), GNECalibratorDialog::updateVehicleTypeTable(), GNEChange_Additional::~GNEChange_Additional(), GNEChange_DataInterval::~GNEChange_DataInterval(), GNEChange_DataSet::~GNEChange_DataSet(), GNEChange_DemandElement::~GNEChange_DemandElement(), GNEChange_EdgeType::~GNEChange_EdgeType(), GNEChange_GenericData::~GNEChange_GenericData(), GNEChange_Shape::~GNEChange_Shape(), and GNEChange_TAZElement::~GNEChange_TAZElement().

◆ getBoundary()

const Boundary & GNENet::getBoundary ( ) const

returns the bounder of the network

Definition at line 142 of file GNENet.cpp.

References myGrid.

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

Here is the caller graph for this function:

◆ getCenteringBoundary()

Boundary GNENet::getCenteringBoundary ( ) const
virtual

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

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

Implements GUIGlObject.

Definition at line 181 of file GNENet.cpp.

References getBoundary().

◆ getColorValue()

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

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

Definition at line 148 of file GUIGlObject.h.

Referenced by GNEPerson::drawGL(), GNEPerson::setColor(), and GUISUMOAbstractView::showToolTipFor().

Here is the caller graph for this function:

◆ getDataSetIntervalMaximumEnd()

double GNENet::getDataSetIntervalMaximumEnd ( ) const

get maximum interval

Definition at line 2809 of file GNENet.cpp.

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

◆ getDataSetIntervalMinimumBegin()

double GNENet::getDataSetIntervalMinimumBegin ( ) const

get minimum interval

Definition at line 2789 of file GNENet.cpp.

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

◆ getEdgeCont()

NBEdgeCont & GNENet::getEdgeCont ( )

returns the NBEdgeCont of the underlying netbuilder

Definition at line 2288 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:

◆ getFullName()

◆ getGlID()

GUIGlID GUIGlObject::getGlID ( ) const
inherited

Returns the numerical id of the object.

Returns
This object's gl-id

Definition at line 166 of file GUIGlObject.cpp.

References GUIGlObject::myGlID.

Referenced by GUIMessageWindow::appendMsg(), GUIGlObject::buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIEdge::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNERerouter::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEInternalLane::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GNEAdditional::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialJunction(), GNEDemandElement::drawPersonPlanPartialLane(), GUIContainer::getColorValue(), GUIEdge::getColorValue(), GUIJunctionWrapper::getColorValue(), GUIPerson::getColorValue(), GUIVehicle::getColorValue(), GUIMEVehicle::getColorValue(), GNEPOI::getGlID(), GNEPoly::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIShapeContainer::getPOIIds(), GUIShapeContainer::getPolygonIDs(), GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIEdge::getScaleValue(), GUITransportableControl::insertIDs(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), GUILane::isLaneOrEdgeSelected(), GUIEdge::isSelected(), GUILane::isSelected(), GUIPerson::isSelected(), GUIVehicle::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::loadIDs(), GUIViewTraffic::onCmdAddRerouter(), GUIGLObjectPopupMenu::onCmdAddSelected(), GUIGLObjectPopupMenu::onCmdCenter(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GUIGLObjectPopupMenu::onCmdRemoveSelected(), GUIViewTraffic::onCmdShowReachability(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_ChooserAbstract::onCmdTrack(), GUIViewTraffic::onGamingClick(), TraCIServerAPI_GUI::processGet(), TraCIServerAPI_GUI::processSet(), GUIDialog_ChooserAbstract::refreshList(), GLObjectValuePassConnector< T >::removeObject(), GUIVehicle::selectBlockingFoes(), GUIPointOfInterest::setColor(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GUIGlObject::~GUIGlObject(), and GUIPerson::~GUIPerson().

◆ getGrid()

SUMORTree & GNENet::getGrid ( )

Returns the RTree used for visualisation speed-up.

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

Definition at line 149 of file GNENet.cpp.

References myGrid.

Referenced by GNETLSEditorFrame::buildInternalLanes().

Here is the caller graph for this function:

◆ getMicrosimID()

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

◆ getNetBuilder()

NBNetBuilder * GNENet::getNetBuilder ( ) const

get net builder

Definition at line 1738 of file GNENet.cpp.

References myNetBuilder.

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

Here is the caller graph for this function:

◆ getNumberOfAdditionals()

int GNENet::getNumberOfAdditionals ( SumoXMLTag  type = SUMO_TAG_NOTHING) const

Returns the number of additionals of the net.

Parameters
[in]typetype of additional to count. SUMO_TAG_NOTHING will count all additionals
Returns
Number of additionals of the net

Definition at line 2349 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::computeJunctionWithVolatileOptions(), GNEAdditionalFrame::generateID(), and GNEApplicationWindow::onCmdOpenSUMOGUI().

Here is the caller graph for this function:

◆ getNumberOfDataSets()

int GNENet::getNumberOfDataSets ( ) const

Returns the number of data sets of the net.

Returns
Number of data sets of the net

Definition at line 2639 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::computeJunctionWithVolatileOptions().

Here is the caller graph for this function:

◆ getNumberOfDemandElements()

int GNENet::getNumberOfDemandElements ( SumoXMLTag  type = SUMO_TAG_NOTHING) const

Returns the number of demand elements of the net.

Parameters
[in]typetype of demand element to count. SUMO_TAG_NOTHING will count all demand elements
Returns
Number of demand elements of the net

Definition at line 2462 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ getNumberOfShapes()

int GNENet::getNumberOfShapes ( SumoXMLTag  type = SUMO_TAG_NOTHING) const

Returns the number of shapes of the net.

Parameters
[in]typetype of shape to count. SUMO_TAG_NOTHING will count all shapes
Returns
Number of shapes of the net

Definition at line 2989 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getShapes(), myAttributeCarriers, and SUMO_TAG_NOTHING.

◆ getNumberOfTAZElements()

int GNENet::getNumberOfTAZElements ( SumoXMLTag  type = SUMO_TAG_NOTHING) const

Returns the number of TAZElements of the net.

Parameters
[in]typetype of TAZElement to count. SUMO_TAG_NOTHING will count all TAZElements
Returns
Number of TAZElements of the net

Definition at line 3038 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getTAZElements(), myAttributeCarriers, and SUMO_TAG_NOTHING.

◆ getNumberOfTLSPrograms()

int GNENet::getNumberOfTLSPrograms ( ) const

get number of TLS Programs

Definition at line 3075 of file GNENet.cpp.

◆ getOptionalName()

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

Returns the name of the object (default "")

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

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

References GUIParameterTableWindow::closeBuilding().

◆ getParentName()

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

Returns the name of the parent object (if any)

Returns
This object's parent id

Reimplemented in GNELane, GNEWalk, GNEVehicleType, GNEVehicle, GNEStop, GNERoute, GNERide, GNEPersonTrip, GNEPersonStop, GNEPerson, GNEVariableSpeedSignSymbol, GNEVariableSpeedSignStep, GNEVariableSpeedSign, GNEVaporizer, GNETAZSourceSink, GNETAZ, GNEStoppingPlace, GNERouteProbReroute, GNERouteProbe, GNERerouterSymbol, GNERerouterInterval, GNERerouter, GNEPoly, GNEPOI, GNEParkingSpace, GNEParkingAreaReroute, GNEDetectorE3, GNEDetector, GNEDestProbReroute, GNEClosingReroute, GNEClosingLaneReroute, GNECalibratorFlow, GNECalibrator, GNEAccess, and GUILane.

Definition at line 160 of file GUIGlObject.cpp.

References StringUtils::emptyString.

Referenced by GUIGLObjectPopupMenu::onCmdCopyEdgeName().

Here is the caller graph for this function:

◆ getPathCalculator()

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

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

◆ getSelectedAttributeCarriers()

◆ getTLLogicCont()

NBTrafficLightLogicCont & GNENet::getTLLogicCont ( )

returns the tllcont of the underlying netbuilder

Definition at line 2282 of file GNENet.cpp.

References NBNetBuilder::getTLLogicCont(), and myNetBuilder.

Referenced by GNEJunction::addTrafficLight(), computeJunction(), GNETLSEditorFrame::onCmdDefSwitch(), GNETLSEditorFrame::parseTLSPrograms(), GNEJunction::removeTrafficLight(), replaceIncomingEdge(), saveTLSPrograms(), and GNEJunction::setAttribute().

Here is the caller graph for this function:

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inherited

Returns the type of the object as coded in GUIGlObjectType.

See also
GUIGlObjectType

Definition at line 202 of file GUIGlObject.cpp.

References GUIGlObject::myGLObjectType.

Referenced by GUIGlObject::buildSelectionPopupEntry(), GUIVehicle::drawAction_drawCarriageClass(), GUIVehicle::drawAction_drawLinkItems(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIPerson::drawAction_drawWalkingareaPath(), GNEAdditional::drawAdditionalID(), GNEAdditional::drawAdditionalName(), GNEVehicle::drawFlowLabel(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIContainerStop::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GNEDetectorEntryExit::drawGL(), GNEPOI::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUIBaseVehicle::drawOnPos(), GNEEdgeRelData::drawPartialGL(), GNEAdditional::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialJunction(), GNEDemandElement::drawPersonPlanPartialLane(), GNEVehicle::drawStackLabel(), GNEViewNet::getAttributeCarriersInBoundary(), GUIEdge::getColorValue(), GUIJunctionWrapper::getColorValue(), GNEViewNet::getConnectionAtPopupPosition(), GNEViewNet::getCrossingAtPopupPosition(), GNEViewNet::getEdgeAtPopupPosition(), GNEViewNet::getJunctionAtPopupPosition(), GNEViewNet::getLaneAtPopupPosition(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIEdge::getScaleValue(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIGlChildWindow::isSelected(), GUISelectedStorage::loadIDs(), GUIGLObjectPopupMenu::onCmdCopyEdgeName(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNESelectorFrame::SelectionOperation::onCmdSave(), GUISUMOViewParent::onCmdSpeedFactor(), GUIDialog_ChooserAbstract::onCmdTrack(), GUISUMOAbstractView::onLeftBtnPress(), GUISUMOViewParent::onUpdSpeedFactor(), LayeredRTree::selectLayer(), GNEJunction::setAttribute(), GUISUMOAbstractView::showToolTipFor(), GUISelectedStorage::toggleSelection(), GNEViewNetHelper::ObjectsUnderCursor::updateGenericDataElements(), GNEViewNetHelper::ObjectsUnderCursor::updateNetworkElements(), GNEViewNetHelper::ObjectsUnderCursor::updateShapeElements(), and GNEViewNetHelper::ObjectsUnderCursor::updateTAZElements().

◆ getTypeParameterWindow()

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

Returns an own type parameter window (optional)

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

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

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

References myViewNet.

Referenced by GNEAdditionalDialog::acceptChanges(), GNEDemandElementDialog::acceptChanges(), GNEAdditionalHandler::buildAccess(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildCalibratorFlow(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildClosingLaneReroute(), GNEAdditionalHandler::buildClosingReroute(), GNEAdditionalHandler::buildContainerStop(), GNEDataHandler::buildDataInterval(), GNEDataHandler::buildDataSet(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildDetectorEntry(), GNEAdditionalHandler::buildDetectorExit(), GNEDataHandler::buildEdgeData(), GNEDataHandler::buildEdgeRelationData(), GNEAdditionalHandler::builDestProbReroute(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildParkingSpace(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildPersonPlan(), GNERouteHandler::buildPersonStop(), GNERouteHandler::buildPersonTrip(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRerouterInterval(), GNERouteHandler::buildRide(), GNERouteHandler::buildRoute(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildRouteProbReroute(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildTAZ(), GNEDataHandler::buildTAZRelationData(), GNEAdditionalHandler::buildTAZSink(), GNEAdditionalHandler::buildTAZSource(), GNERouteHandler::buildTrip(), GNEAdditionalHandler::buildVaporizer(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalHandler::buildVariableSpeedSignStep(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::buildWalk(), GNEAdditionalHandler::builParkingAreaReroute(), GNEAdditionalDialog::cancelChanges(), GNEDemandElementDialog::cancelChanges(), GNEPoly::changeFirstGeometryPoint(), GNEViewNetHelper::LockIcon::checkDrawing(), GNERouteHandler::closeFlow(), GNERouteHandler::closePerson(), GNEPoly::closePolygon(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVehicle(), GNERouteHandler::closeVType(), GNEJunction::commitMoveShape(), GNEApplicationWindow::computeJunctionWithVolatileOptions(), GNEPoly::deleteGeometryPoint(), GNEShape::draw(), GNEGenericData::drawAttribute(), GNECalibrator::drawCalibratorSymbol(), GNEEdge::drawEdgeGeometryPoints(), GNEAccess::drawGL(), GNEBusStop::drawGL(), GNECalibrator::drawGL(), GNEChargingStation::drawGL(), GNEContainerStop::drawGL(), GNEDetectorE1::drawGL(), GNEDetectorE1Instant::drawGL(), GNEDetectorE2::drawGL(), GNEDetectorE3::drawGL(), GNEDetectorEntryExit::drawGL(), GNEParkingArea::drawGL(), GNEParkingSpace::drawGL(), GNEPOI::drawGL(), GNEPoly::drawGL(), GNERerouter::drawGL(), GNERerouterSymbol::drawGL(), GNERouteProbe::drawGL(), GNETAZ::drawGL(), GNEVaporizer::drawGL(), GNEVariableSpeedSign::drawGL(), GNEVariableSpeedSignSymbol::drawGL(), GNEPerson::drawGL(), GNEPersonStop::drawGL(), GNEStop::drawGL(), GNEVehicle::drawGL(), GNEConnection::drawGL(), GNECrossing::drawGL(), GNEEdge::drawGL(), GNEJunction::drawGL(), GNELane::drawGL(), GNEHierarchicalElement::drawHierarchicalConnections(), GNELane::drawLaneAsRailway(), GNELane::drawMarkings(), GNEAdditional::drawPartialGL(), GNEEdgeData::drawPartialGL(), GNEEdgeRelData::drawPartialGL(), GNERoute::drawPartialGL(), GNEVehicle::drawPartialGL(), GNEDemandElement::drawPersonPlanPartialJunction(), GNEDemandElement::drawPersonPlanPartialLane(), GNEStoppingPlace::drawSign(), GNEJunction::drawTLSIcon(), GNEAttributeCarrier::drawUsingSelectColor(), GNEEdge::editEndpoint(), GNEDetectorE1::fixAdditionalProblem(), GNEDetectorE1Instant::fixAdditionalProblem(), GNEDetectorE2::fixAdditionalProblem(), GNEDetectorEntryExit::fixAdditionalProblem(), GNEStoppingPlace::fixAdditionalProblem(), GNEEdgeData::getColor(), GNEEdgeRelData::getColor(), GNEPersonStop::getColor(), GNEStop::getColor(), GNEPerson::getHierarchyName(), GNEVehicle::getHierarchyName(), GNEPoly::getMoveOperation(), GNETAZ::getMoveOperation(), GNEConnection::getMoveOperation(), GNECrossing::getMoveOperation(), GNEJunction::getMoveOperation(), GNEAdditional::getPopUpMenu(), GNEPOI::getPopUpMenu(), GNEPoly::getPopUpMenu(), GNEGenericData::getPopUpMenu(), GNEDemandElement::getPopUpMenu(), GNEPersonTrip::getPopUpMenu(), GNERide::getPopUpMenu(), GNERoute::getPopUpMenu(), GNEWalk::getPopUpMenu(), GNEConnection::getPopUpMenu(), GNECrossing::getPopUpMenu(), GNEEdge::getPopUpMenu(), GNEJunction::getPopUpMenu(), GNELane::getPopUpMenu(), GNEPoly::getVertexIndex(), GNEPerson::GNESelectedPersonsPopupMenu::GNESelectedPersonsPopupMenu(), GNEVehicle::GNESelectedVehiclesPopupMenu::GNESelectedVehiclesPopupMenu(), GNEVehicleTypeDialog::GNEVehicleTypeDialog(), GNEAdditionalDialog::initChanges(), GNEDemandElementDialog::initChanges(), GNEPOI::isAttributeEnabled(), GNEPoly::isAttributeEnabled(), GNEEdgeData::isGenericDataVisible(), GNEEdgeRelData::isGenericDataVisible(), GNETAZRelData::isGenericDataVisible(), GNEGenericData::isVisibleInspectDeleteSelect(), GNEPersonStop::moveGeometry(), GNEPersonTrip::moveGeometry(), GNERide::moveGeometry(), GNEStop::moveGeometry(), GNEWalk::moveGeometry(), GNEAdditionalHandler::myEndElement(), GNESingleParametersDialog::onCmdAccept(), GNERerouterIntervalDialog::onCmdAddClosingLaneReroute(), GNERerouterIntervalDialog::onCmdAddClosingReroute(), GNERerouterIntervalDialog::onCmdAddDestProbReroute(), GNECalibratorDialog::onCmdAddFlow(), GNERerouterIntervalDialog::onCmdAddParkingAreaReroute(), GNERerouterIntervalDialog::onCmdAddRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdAddStep(), GNECalibratorDialog::onCmdAddVehicleType(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNERerouterIntervalDialog::onCmdChangeBeginEnd(), GNERerouterIntervalDialog::onCmdClickedClosingLaneReroute(), GNERerouterIntervalDialog::onCmdClickedClosingReroute(), GNERerouterIntervalDialog::onCmdClickedDestProbReroute(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), GNERerouterIntervalDialog::onCmdClickedParkingAreaReroute(), GNECalibratorDialog::onCmdClickedRoute(), GNERerouterIntervalDialog::onCmdClickedRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), GNERerouterIntervalDialog::onCmdEditClosingLaneReroute(), GNERerouterIntervalDialog::onCmdEditClosingReroute(), GNERerouterIntervalDialog::onCmdEditDestProbReroute(), GNERerouterIntervalDialog::onCmdEditParkingAreaReroute(), GNERerouterIntervalDialog::onCmdEditRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNEApplicationWindow::onCmdOpenTLSPrograms(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNECalibratorFlowDialog::onCmdSetVariable(), GNERouteDialog::onCmdSetVariable(), GNELane::onDefault(), GNEPoly::openPolygon(), GNERerouter::rebuildRerouterSymbols(), GNEVariableSpeedSign::rebuildVSSSymbols(), GNEChange_DataSet::redo(), GNEChange_DemandElement::redo(), GNEChange_EdgeType::redo(), GNEDataSet::removeDataIntervalChild(), GNEDataInterval::removeGenericDataChild(), GNEPoly::removeGeometryPoint(), GNETAZ::removeGeometryPoint(), GNEConnection::removeGeometryPoint(), GNECrossing::removeGeometryPoint(), GNEJunction::removeGeometryPoint(), GNEEdge::removeLane(), GNEAdditionalDialog::resetChanges(), GNEDemandElementDialog::resetChanges(), GNEAttributeCarrier::selectAttributeCarrier(), GNEEdgeType::setAttribute(), GNEJunction::setColor(), GNELane::setLaneColor(), GNEVehicleTypeDialog::VTypeAtributes::VClassRow::setVariable(), GNEPoly::simplifyShape(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToRouteFlow(), GNERouteHandler::transformToTrip(), GNERouteHandler::transformToVehicle(), GNEChange_DataSet::undo(), GNEChange_DemandElement::undo(), GNEChange_EdgeType::undo(), GNEAttributeCarrier::unselectAttributeCarrier(), GNECalibratorDialog::updateFlowAndLabelButton(), GNEBusStop::updateGeometry(), GNEChargingStation::updateGeometry(), GNEContainerStop::updateGeometry(), GNELane::updateGeometry(), GNECalibratorDialog::updateRouteTable(), and GNECalibratorDialog::updateVehicleTypeTable().

◆ getZBoundary()

const Boundary & GNENet::getZBoundary ( ) const

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

Definition at line 193 of file GNENet.cpp.

References myZBoundary.

◆ initGNEConnections()

void GNENet::initGNEConnections ( )

initialize GNEConnections

Definition at line 3208 of file GNENet.cpp.

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

Referenced by GNEViewNet::onCmdToogleShowConnections().

Here is the caller graph for this function:

◆ initJunctionsAndEdges()

◆ isAdditionalsSaved()

bool GNENet::isAdditionalsSaved ( ) const

check if additionals are saved

Definition at line 2419 of file GNENet.cpp.

References myAdditionalsSaved.

Referenced by GNEApplicationWindow::onCmdOpenSUMOGUI(), and GNEApplicationWindow::onUpdSaveAdditionals().

Here is the caller graph for this function:

◆ isDataElementsSaved()

bool GNENet::isDataElementsSaved ( ) const

check if data sets are saved

Definition at line 2671 of file GNENet.cpp.

References myDataElementsSaved.

Referenced by GNEApplicationWindow::onUpdSaveDataElements().

Here is the caller graph for this function:

◆ isDemandElementsSaved()

bool GNENet::isDemandElementsSaved ( ) const

check if demand elements are saved

Definition at line 2533 of file GNENet.cpp.

References myDemandElementsSaved.

Referenced by GNEApplicationWindow::onCmdOpenSUMOGUI(), and GNEApplicationWindow::onUpdSaveDemandElements().

Here is the caller graph for this function:

◆ isNetRecomputed()

bool GNENet::isNetRecomputed ( ) const

check if net requiere recomputing

Definition at line 1715 of file GNENet.cpp.

References myNeedRecompute.

Referenced by GNELane::buildRechableOperations().

Here is the caller graph for this function:

◆ isNetSaved()

bool GNENet::isNetSaved ( ) const

return if net has to be saved

Definition at line 1053 of file GNENet.cpp.

References myNetSaved.

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

Here is the caller graph for this function:

◆ isUpdateDataEnabled()

bool GNENet::isUpdateDataEnabled ( ) const

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

Definition at line 3146 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 3121 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 1976 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDemandElements(), myAttributeCarriers, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNEAttributeCarrier::parseIDs(), SUMO_ATTR_ROUTE, and SUMO_TAG_ROUTE.

Referenced by GNEApplicationWindow::onCmdProcessButton().

Here is the caller graph for this function:

◆ joinSelectedJunctions()

bool GNENet::joinSelectedJunctions ( GNEUndoList undoList)

◆ mergeJunctions()

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

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

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

Definition at line 921 of file GNENet.cpp.

References deleteEdge(), deleteJunction(), GNEJunction::getAttribute(), GNENetHelper::AttributeCarriers::getEdges(), GNENetworkElement::getID(), NBNode::getIncomingEdges(), GNEJunction::getNBNode(), NBNode::getOutgoingEdges(), GNEHierarchicalElement::getParentJunctions(), myAttributeCarriers, GNEUndoList::p_add(), GNEUndoList::p_begin(), GNEUndoList::p_end(), GNEJunction::setAttribute(), SUMO_ATTR_FROM, SUMO_ATTR_POSITION, SUMO_ATTR_TO, SUMO_TAG_JUNCTION, and toString().

Referenced by GNEViewNet::mergeJunctions().

Here is the caller graph for this function:

◆ netHasGNECrossings()

bool GNENet::netHasGNECrossings ( ) const

check if net has GNECrossings

Definition at line 1721 of file GNENet.cpp.

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

Referenced by GNEChange_Crossing::redo(), and GNEChange_Crossing::undo().

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

Referenced by GUISUMOAbstractView::onLeftBtnPress().

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

◆ removeActiveAddVisualisation()

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

remove additional user-griggered visualisations

Reimplemented in GUIPerson, and GUIBaseVehicle.

Definition at line 160 of file GUIGlObject.h.

◆ removedPopupMenu()

virtual void GUIGlObject::removedPopupMenu ( )
inlinevirtualinherited

notify object about popup menu removal

Reimplemented in GUIBaseVehicle.

Definition at line 109 of file GUIGlObject.h.

Referenced by GUIGLObjectPopupMenu::~GUIGLObjectPopupMenu().

Here is the caller graph for this function:

◆ removeExplicitTurnaround()

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

remove edge id from the list of explicit turnarounds

Definition at line 2300 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 315 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 742 of file GNENet.cpp.

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

Referenced by GNEViewNet::removeRestrictedLane().

Here is the caller graph for this function:

◆ removeSolitaryJunctions()

void GNENet::removeSolitaryJunctions ( GNEUndoList undoList)

removes junctions that have no edges

Definition at line 1933 of file GNENet.cpp.

References deleteJunction(), NBNode::getEdges(), GNENetHelper::AttributeCarriers::getJunctions(), GNEJunction::getNBNode(), myAttributeCarriers, GNEUndoList::p_begin(), GNEUndoList::p_end(), SUMO_TAG_JUNCTION, and toString().

Referenced by GNEApplicationWindow::onCmdProcessButton().

Here is the caller graph for this function:

◆ replaceIncomingEdge()

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

◆ replaceInListAttribute()

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

Definition at line 3322 of file GNENet.cpp.

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

Referenced by replaceIncomingEdge().

Here is the caller graph for this function:

◆ replaceJunctionByGeometry()

◆ requireRecompute()

void GNENet::requireRecompute ( )

inform the net about the need for recomputation

Definition at line 1709 of file GNENet.cpp.

References myNeedRecompute.

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

Here is the caller graph for this function:

◆ requireSaveAdditionals()

void GNENet::requireSaveAdditionals ( bool  value)

◆ requireSaveDataElements()

◆ requireSaveDemandElements()

◆ requireSaveNet()

◆ requireSaveTLSPrograms()

◆ reserveEdgeID()

void GNENet::reserveEdgeID ( const std::string &  id)
private

reserve edge ID (To avoid duplicates)

Definition at line 3196 of file GNENet.cpp.

References IDSupplier::avoid(), and myEdgeIDSupplier.

Referenced by createEdge().

Here is the caller graph for this function:

◆ reserveJunctionID()

void GNENet::reserveJunctionID ( const std::string &  id)
private

reserve junction ID (To avoid duplicates)

Definition at line 3202 of file GNENet.cpp.

References IDSupplier::avoid(), and myJunctionIDSupplier.

◆ resetJunctionConnections()

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

reset junction's connections

Definition at line 2225 of file GNENet.cpp.

References clearJunctionConnections(), GNEUndoList::p_begin(), GNEUndoList::p_end(), and GNEJunction::setLogicValid().

Referenced by GNEViewNet::onCmdResetConnections().

Here is the caller graph for this function:

◆ restrictLane()

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

transform lane to restricted lane

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

Definition at line 676 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ retrieve000180AngleEdges()

std::vector< GNEEdge * > GNENet::retrieve000180AngleEdges ( bool  onlySelected = false) const

return edges with junction angle between 0 (inclusive) and 180 (exclusive) degrees

Parameters
[in]onlySelectedWhether to return only selected edges

Definition at line 1262 of file GNENet.cpp.

References Position::angleTo2D(), GNENetHelper::AttributeCarriers::getEdges(), myAttributeCarriers, and RAD2DEG.

◆ retrieve180360AngleEdges()

std::vector< GNEEdge * > GNENet::retrieve180360AngleEdges ( bool  onlySelected = false) const

return edges with junction angle between 180 (inclusive) and 360 (exclusive) degrees

Parameters
[in]onlySelectedWhether to return only selected edges

Definition at line 1292 of file GNENet.cpp.

References Position::angleTo2D(), GNENetHelper::AttributeCarriers::getEdges(), myAttributeCarriers, and RAD2DEG.

◆ retrieveAdditional()

GNEAdditional * GNENet::retrieveAdditional ( SumoXMLTag  type,
const std::string &  id,
bool  hardFail = true 
) const

Returns the named additional.

Parameters
[in]typetag with the type of additional
[in]idThe id of the additional to return.
[in]failHardWhether attempts to retrieve a nonexisting additional should result in an exception

Definition at line 2316 of file GNENet.cpp.

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

Referenced by GNERouteHandler::PersonValue::addPersonValue(), GNERouteHandler::addStop(), GNEAdditionalHandler::buildBusStop(), GNEAdditionalHandler::buildCalibrator(), GNEAdditionalHandler::buildChargingStation(), GNEAdditionalHandler::buildContainerStop(), GNEAdditionalHandler::buildDetectorE1(), GNEAdditionalHandler::buildDetectorE1Instant(), GNEAdditionalHandler::buildDetectorE3(), GNEAdditionalHandler::buildMultiLaneDetectorE2(), GNEAdditionalHandler::buildParkingArea(), GNEAdditionalHandler::buildRerouter(), GNEAdditionalHandler::buildRouteProbe(), GNEAdditionalHandler::buildSingleLaneDetectorE2(), GNERouteHandler::buildStop(), GNEAdditionalHandler::buildVariableSpeedSign(), GNEAdditionalFrame::generateID(), GNEAdditionalHandler::LastInsertedElement::getAdditionalParent(), GNECalibratorFlow::isValid(), GNEDetectorEntryExit::isValid(), GNEParkingAreaReroute::isValid(), GNEParkingSpace::isValid(), GNEPersonStop::isValid(), GNEPersonTrip::isValid(), GNERide::isValid(), GNEStop::isValid(), GNEWalk::isValid(), GNEAdditional::isValidAdditionalID(), GNEAdditional::isValidDetectorID(), GNEAdditionalHandler::parseAndBuildAccess(), GNEAdditionalHandler::parseAndBuildBusStop(), GNEAdditionalHandler::parseAndBuildCalibrator(), GNEAdditionalHandler::parseAndBuildCalibratorFlow(), GNEAdditionalHandler::parseAndBuildChargingStation(), GNEAdditionalHandler::parseAndBuildContainerStop(), GNEAdditionalHandler::parseAndBuildDetectorE1(), GNEAdditionalHandler::parseAndBuildDetectorE1Instant(), GNEAdditionalHandler::parseAndBuildDetectorE2(), GNEAdditionalHandler::parseAndBuildDetectorE3(), GNEAdditionalHandler::parseAndBuildDetectorEntry(), GNEAdditionalHandler::parseAndBuildDetectorExit(), GNEAdditionalHandler::parseAndBuildParkingArea(), GNEAdditionalHandler::parseAndBuildParkingSpace(), GNEAdditionalHandler::parseAndBuildRerouter(), GNEAdditionalHandler::parseAndBuildRerouterClosingLaneReroute(), GNEAdditionalHandler::parseAndBuildRerouterClosingReroute(), GNEAdditionalHandler::parseAndBuildRerouterDestProbReroute(), GNEAdditionalHandler::parseAndBuildRerouterInterval(), GNEAdditionalHandler::parseAndBuildRerouterParkingAreaReroute(), GNEAdditionalHandler::parseAndBuildRerouterRouteProbReroute(), GNEAdditionalHandler::parseAndBuildRouteProbe(), GNEAdditionalHandler::parseAndBuildVaporizer(), GNEAdditionalHandler::parseAndBuildVariableSpeedSign(), GNEAdditionalHandler::parseAndBuildVariableSpeedSignStep(), GNEAdditional::replaceAdditionalParent(), GNEDemandElement::replaceAdditionalParent(), and GNEFrameModuls::HierarchicalElementTree::showAttributeCarrierParents().

◆ retrieveAdditionals()

std::vector< GNEAdditional * > GNENet::retrieveAdditionals ( bool  onlySelected = false) const

return all additionals

Parameters
[in]onlySelectedWhether to return only selected additionals

Definition at line 2328 of file GNENet.cpp.

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

Referenced by GNEViewNet::deleteSelectedAdditionals(), and GNEDeleteFrame::removeSelectedAttributeCarriers().

Here is the caller graph for this function:

◆ retrieveAttributeCarrier()

GNEAttributeCarrier * GNENet::retrieveAttributeCarrier ( const GUIGlID  id,
bool  failHard = true 
) const

get a single attribute carrier based on a GLID

Parameters
[in]idsthe GL IDs for which to retrive the AC
[in]failHardWhether attempts to retrieve a nonexisting AttributeCarrier should result in an exception
Exceptions
InvalidArgumentif GL ID doesn't have a associated Attribute Carrier

Definition at line 1435 of file GNENet.cpp.

References GUIGlObjectStorage::getObjectBlocking(), GUIGlObjectStorage::gIDStorage, and GUIGlObjectStorage::unblockObject().

Referenced by GNEViewNet::getAttributeCarriersInBoundary(), getSelectedAttributeCarriers(), and GNESelectorFrame::SelectionOperation::onCmdLoad().

Here is the caller graph for this function:

◆ retrieveAttributeCarriers()

std::vector< GNEAttributeCarrier * > GNENet::retrieveAttributeCarriers ( SumoXMLTag  type = SUMO_TAG_NOTHING)

get the attribute carriers based on Type

Parameters
[in]typeThe GUI-type of the AC. SUMO_TAG_NOTHING returns all elements (Warning: bottleneck)

Definition at line 1458 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getAdditionals(), GNENetHelper::AttributeCarriers::getDataSets(), GNENetHelper::AttributeCarriers::getDemandElements(), GNENetHelper::AttributeCarriers::getEdges(), GNENetHelper::AttributeCarriers::getJunctions(), GNENetHelper::AttributeCarriers::getShapes(), GNEAttributeCarrier::getTagProperties(), GNENetHelper::AttributeCarriers::getTAZElements(), myAttributeCarriers, SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_DATAINTERVAL, SUMO_TAG_DATASET, SUMO_TAG_EDGE, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, and SUMO_TAG_NOTHING.

Referenced by GNESelectorFrame::getMatches().

Here is the caller graph for this function:

◆ retrieveConnection()

GNEConnection * GNENet::retrieveConnection ( const std::string &  id,
bool  failHard = true 
) const

get Connection by id

Parameters
[in]idThe id of the desired Connection
[in]failHardWhether attempts to retrieve a nonexisting Connection should result in an exception
Exceptions
UnknownElement

Definition at line 1177 of file GNENet.cpp.

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

Referenced by GNEFrameModuls::HierarchicalElementTree::showAttributeCarrierParents().

Here is the caller graph for this function:

◆ retrieveConnections()

std::vector< GNEConnection * > GNENet::retrieveConnections ( bool  onlySelected = false) const

return all connections

Parameters
[in]onlySelectedWhether to return only selected connections

Definition at line 1197 of file GNENet.cpp.

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

Referenced by GNEDeleteFrame::removeSelectedAttributeCarriers().

Here is the caller graph for this function:

◆ retrieveCrossing()

GNECrossing * GNENet::retrieveCrossing ( const std::string &  id,
bool  failHard = true 
) const

get Crossing by id

Parameters
[in]idThe id of the desired Crossing
[in]failHardWhether attempts to retrieve a nonexisting Crossing should result in an exception
Exceptions
UnknownElement

Definition at line 1213 of file GNENet.cpp.

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

Referenced by GNEViewNet::deleteSelectedCrossings(), and GNEFrameModuls::HierarchicalElementTree::showAttributeCarrierParents().

Here is the caller graph for this function:

◆ retrieveCrossings()

std::vector< GNECrossing * > GNENet::retrieveCrossings ( bool  onlySelected = false) const

return all crossings

Parameters
[in]onlySelectedWhether to return only selected crossings

Definition at line 1233 of file GNENet.cpp.

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

Referenced by GNEDeleteFrame::removeSelectedAttributeCarriers().

Here is the caller graph for this function:

◆ retrieveDataSet()

GNEDataSet * GNENet::retrieveDataSet ( const std::string &  id,
bool  hardFail = true 
) const

Returns the named data set.

Parameters
[in]idThe id of the data set to return.
[in]failHardWhether attempts to retrieve a nonexisting data set should result in an exception

Definition at line 2590 of file GNENet.cpp.

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

Referenced by GNEGenericDataFrame::DataSetSelector::getDataSet(), GNEDataSet::isValid(), GNEDataHandler::parseAndBuildInterval(), GNEChange_Attribute::redo(), GNEFrameModuls::HierarchicalElementTree::showHierarchicalElementChildren(), and GNEChange_Attribute::undo().

Here is the caller graph for this function:

◆ retrieveDataSets()

std::vector< GNEDataSet * > GNENet::retrieveDataSets ( ) const

return all data sets

Definition at line 2602 of file GNENet.cpp.

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

◆ retrieveDemandElement()

GNEDemandElement * GNENet::retrieveDemandElement ( SumoXMLTag  type,
const std::string &  id,
bool  hardFail = true 
) const

Returns the named demand element.

Parameters
[in]typetag with the type of demand element
[in]idThe id of the demand element to return.
[in]failHardWhether attempts to retrieve a nonexisting demand element should result in an exception

Definition at line 2435 of file GNENet.cpp.

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

Referenced by GNERouteHandler::PersonValue::addPersonValue(), GNERouteHandler::buildFlow(), GNERouteHandler::buildFlowEmbeddedRoute(), GNERouteHandler::buildFlowOverRoute(), GNEPersonFrame::buildPerson(), GNERouteHandler::buildPerson(), GNERouteHandler::buildPersonFlow(), GNERouteHandler::buildTrip(), GNERouteHandler::buildVehicleEmbeddedRoute(), GNERouteHandler::buildVehicleOverRoute(), GNERouteHandler::closePerson(), GNERouteHandler::closeRoute(), GNERouteHandler::closeVType(), GNEViewNet::deleteSelectedDemandElements(), GNEPersonTypeFrame::GNEPersonTypeFrame(), GNEVehicleTypeFrame::GNEVehicleTypeFrame(), GNERouteHandler::isPersonIdDuplicated(), GNECalibratorFlow::isValid(), GNEPerson::isValid(), GNEVehicle::isValid(), GNEVehicleType::isValid(), GNEWalk::isValid(), GNEDemandElement::isValidDemandElementID(), GNERouteHandler::isVehicleIdDuplicated(), GNECalibratorDialog::onCmdClickedRoute(), GNECalibratorDialog::onCmdClickedVehicleType(), GNEAdditionalHandler::parseAndBuildCalibratorFlow(), GNEAdditional::replaceDemandElementParent(), GNEDemandElement::replaceDemandElementParent(), GNECalibratorFlow::setAttribute(), and GNEFrameModuls::HierarchicalElementTree::showAttributeCarrierParents().

Here is the caller graph for this function:

◆ retrieveDemandElements()

std::vector< GNEDemandElement * > GNENet::retrieveDemandElements ( bool  onlySelected = false) const

return all demand elements

Parameters
[in]onlySelectedWhether to return only selected demand elements

Definition at line 2447 of file GNENet.cpp.

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

Referenced by GNEViewNet::deleteSelectedDemandElements(), GNEVehicle::getPopUpMenu(), and GNEDeleteFrame::removeSelectedAttributeCarriers().

Here is the caller graph for this function:

◆ retrieveEdge() [1/2]

GNEEdge * GNENet::retrieveEdge ( const std::string &  id,
bool  failHard = true 
) const

get edge by id

Parameters
[in]idThe id of the desired edge
[in]failHardWhether attempts to retrieve a nonexisting edge should result in an exception
Exceptions
UnknownElement

Definition at line 1141 of file GNENet.cpp.

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

Referenced by GNERouteHandler::PersonValue::addPersonValue(), GNEViewNet::addRestrictedLane(), GNETAZFrame::TAZCurrent::addTAZChild(), GNENetHelper::PathCalculator::calculatePath(), createEdge(), GNERouteFrame::createPath(), createRoundabout(), GNEAdditionalHandler::getLanePos(), GNEEdge::getOppositeEdge(), GNEAdditional::getPopUpMenu(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::initTargets(), GNECalibrator::isValid(), GNEClosingReroute::isValid(), GNEDestProbReroute::isValid(), GNERouteProbe::isValid(), GNEVaporizer::isValid(), GNEEdgeRelData::isValid(), GNEPersonTrip::isValid(), GNERide::isValid(), GNEVehicle::isValid(), GNEWalk::isValid(), GNEEdge::isValid(), GNEJunction::markAsModified(), GNEJunction::moveJunctionGeometry(), GNEConnectorFrame::ConnectionOperations::onCmdSelectConflicts(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), GNECrossingFrame::CrossingParameters::onCmdSetAttribute(), GNEInspectorFrame::TemplateEditor::onCmdSetTemplate(), GNEAttributeCarrier::parse(), GNEAdditionalHandler::parseAndBuildCalibrator(), GNEDataHandler::parseAndBuildEdgeData(), GNEDataHandler::parseAndBuildEdgeRelationData(), GNEAdditionalHandler::parseAndBuildRerouterClosingReroute(), GNEAdditionalHandler::parseAndBuildRerouterDestProbReroute(), GNEAdditionalHandler::parseAndBuildRouteProbe(), GNEAdditionalHandler::parseAndBuildTAZ(), GNEAdditionalHandler::parseAndBuildTAZSink(), GNEAdditionalHandler::parseAndBuildTAZSource(), GNEAdditionalHandler::parseAndBuildVaporizer(), GNEJunction::removeConnectionsTo(), GNEViewNet::removeRestrictedLane(), GNEGenericData::replaceFirstParentEdge(), GNEDemandElement::replaceFirstParentEdge(), GNEGenericData::replaceLastParentEdge(), GNEDemandElement::replaceLastParentEdge(), GNEViewNet::restrictLane(), GNEEdge::retrieveGNEConnection(), retrieveLane(), selectRoundabout(), GNEClosingReroute::setAttribute(), GNEDestProbReroute::setAttribute(), GNERouteHandler::RouteParameter::setEdges(), GNEJunction::setLogicValid(), GNEFrameModuls::HierarchicalElementTree::showAttributeCarrierParents(), GNEFrameModuls::HierarchicalElementTree::showHierarchicalElementChildren(), and splitJunction().

◆ retrieveEdge() [2/2]

GNEEdge * GNENet::retrieveEdge ( GNEJunction from,
GNEJunction to,
bool  failHard = true 
) const

get edge by from and to GNEJunction

Parameters
[in]idThe id of the desired edge
[in]failHardWhether attempts to retrieve a nonexisting edge should result in an exception
Exceptions
UnknownElement

Definition at line 1156 of file GNENet.cpp.

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

◆ retrieveEdges()

◆ retrieveEdgeType()

GNEEdgeType * GNENet::retrieveEdgeType ( const std::string &  id,
bool  failHard = true 
) const

get edge type by id

Parameters
[in]idThe id of the desired edge type
[in]failHardWhether attempts to retrieve a nonexisting edge type should result in an exception
Exceptions
UnknownElement

Definition at line 1126 of file GNENet.cpp.

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

Referenced by GNEEdgeType::isValid(), and GNECreateEdgeFrame::EdgeTypeSelector::onCmdDeleteEdgeType().

Here is the caller graph for this function:

◆ retrieveGenericDataParameters() [1/2]

std::set< std::string > GNENet::retrieveGenericDataParameters ( const std::string &  dataSetID,
const std::string &  genericDataTag,
const std::string &  beginStr,
const std::string &  endStr 
) const

return a set of parameters for the given dataSet, generic data Type, begin and end

Definition at line 2718 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDataSets(), myAttributeCarriers, SUMO_ATTR_BEGIN, and SUMO_ATTR_END.

◆ retrieveGenericDataParameters() [2/2]

std::set< std::string > GNENet::retrieveGenericDataParameters ( const std::string &  genericDataTag,
const double  begin,
const double  end 
) const

return a set of parameters for the given data Interval

Definition at line 2688 of file GNENet.cpp.

References GNENetHelper::AttributeCarriers::getDataSets(), myAttributeCarriers, SUMO_ATTR_BEGIN, and SUMO_ATTR_END.

◆ retrieveGenericDatas()

std::vector< GNEGenericData * > GNENet::retrieveGenericDatas ( bool  onlySelected = false) const

return all generic datas

Parameters
[in]onlySelectedWhether to return only selected generic datas

Definition at line 2614 of file GNENet.cpp.

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

Referenced by GNEViewNet::deleteSelectedGenericDatas(), and GNEDeleteFrame::removeSelectedAttributeCarriers().

Here is the caller graph for this function:

◆ retrieveJunction()

GNEJunction * GNENet::retrieveJunction ( const std::string &  id,
bool  failHard = true 
) const

◆ retrieveJunctions()

std::vector< GNEJunction * > GNENet::retrieveJunctions ( bool  onlySelected = false)

return all junctions

Parameters
[in]onlySelectedWhether to return only selected junctions

Definition at line 1370 of file GNENet.cpp.

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

Referenced by GNEViewNet::buildColorRainbow(), GNEViewNet::deleteSelectedCrossings(), GNEViewNet::deleteSelectedJunctions(), GNEJunction::getPopUpMenu(), joinSelectedJunctions(), GNEViewNet::onCmdClearConnections(), GNEViewParent::onCmdLocate(), GNEViewNet::onCmdResetConnections(), GNEViewNet::onCmdResetJunctionShape(), GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts(), and GNEDeleteFrame::removeSelectedAttributeCarriers().

Here is the caller graph for this function:

◆ retrieveLane()

GNELane * GNENet::retrieveLane ( const std::string &  id,
bool  failHard = true,
bool  checkVolatileChange = false 
)

get lane by id

Parameters
[in]idThe id of the desired lane
[in]failHardWhether attempts to retrieve a nonexisting lane should result in an exception
[in]checkVolatileChangeUsed by additionals after recomputing with volatile options.
Exceptions
UnknownElement

Definition at line 1337 of file GNENet.cpp.

References SUMOXMLDefinitions::getEdgeIDFromLane(), GNELane::getIndex(), GNEEdge::getLanes(), myEdgesAndNumberOfLanes, retrieveEdge(), SUMO_TAG_EDGE, SUMO_TAG_LANE, and toString().

Referenced by GNERouteHandler::PersonValue::addPersonValue(), GNEPolygonFrame::addPOILane(), GNERouteHandler::addStop(), GNERouteHandler::buildStop(), GNEAdditional::getPopUpMenu(), GNEAccess::isValid(), GNEBusStop::isValid(), GNECalibrator::isValid(), GNECalibratorFlow::isValid(), GNEChargingStation::isValid(), GNEClosingLaneReroute::isValid(), GNEContainerStop::isValid(), GNEDetectorE1::isValid(), GNEDetectorE1Instant::isValid(), GNEDetectorEntryExit::isValid(), GNEParkingArea::isValid(), GNEPOI::isValid(), GNEPersonStop::isValid(), GNEStop::isValid(), GNEAdditionalHandler::parseAndBuildAccess(), GNEAdditionalHandler::parseAndBuildBusStop(), GNEAdditionalHandler::parseAndBuildCalibrator(), GNEAdditionalHandler::parseAndBuildChargingStation(), GNEAdditionalHandler::parseAndBuildContainerStop(), GNEAdditionalHandler::parseAndBuildDetectorE1(), GNEAdditionalHandler::parseAndBuildDetectorE1Instant(), GNEAdditionalHandler::parseAndBuildDetectorE2(), GNEAdditionalHandler::parseAndBuildDetectorEntry(), GNEAdditionalHandler::parseAndBuildDetectorExit(), GNEAdditionalHandler::parseAndBuildParkingArea(), GNEAdditionalHandler::parseAndBuildPOI(), GNEAdditionalHandler::parseAndBuildRerouterClosingLaneReroute(), GNEClosingLaneReroute::setAttribute(), GNEFrameModuls::HierarchicalElementTree::showAttributeCarrierParents(), and GNEFrameModuls::HierarchicalElementTree::showHierarchicalElementChildren().

Here is the caller graph for this function:

◆ retrieveLanes()

std::vector< GNELane * > GNENet::retrieveLanes ( bool  onlySelected = false)

return all lanes

Parameters
[in]onlySelectedWhether to return only selected lanes

Definition at line 1322 of file GNENet.cpp.

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

Referenced by GNEViewNet::addRestrictedLane(), GNEViewNet::buildColorRainbow(), GNELane::buildLaneOperations(), GNEViewNet::deleteSelectedLanes(), GNETLSEditorFrame::handleMultiChange(), GNEViewNet::onCmdDuplicateLane(), GNEViewNet::onCmdResetLaneCustomShape(), GNEViewNet::removeRestrictedLane(), GNEDeleteFrame::removeSelectedAttributeCarriers(), and GNEViewNet::restrictLane().

Here is the caller graph for this function:

◆ retrieveShape()

GNEShape * GNENet::retrieveShape ( SumoXMLTag  type,
const std::string &  id,
bool  hardFail = true 
) const

Returns the named shape.

Parameters
[in]typetag with the type of shape
[in]idThe id of the shape to return.
[in]failHardWhether attempts to retrieve a nonexisting shape should result in an exception

Definition at line 2944 of file GNENet.cpp.

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

Referenced by GNEPolygonFrame::addPOI(), GNEPolygonFrame::addPOILane(), GNEPolygonFrame::addPolygon(), GNEPOI::generateChildID(), GNEPoly::generateChildID(), GNEAdditionalHandler::LastInsertedElement::getShapeParent(), GNEPOI::isValid(), GNEPoly::isValid(), GNEFrameModuls::HierarchicalElementTree::showAttributeCarrierParents(), and GNEChange_Shape::~GNEChange_Shape().

Here is the caller graph for this function:

◆ retrieveShapes() [1/3]

std::vector< GNEShape * > GNENet::retrieveShapes ( bool  onlySelected = false)

return all shapes

Parameters
[in]onlySelectedWhether to return only selected junctions

Definition at line 1396 of file GNENet.cpp.

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

◆ retrieveShapes() [2/3]

std::vector< GNEShape * > GNENet::retrieveShapes ( bool  onlySelected = false) const

return all shapes

Parameters
[in]onlySelectedWhether to return only selected shapes

Definition at line 2956 of file GNENet.cpp.

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

◆ retrieveShapes() [3/3]

std::vector< GNEShape * > GNENet::retrieveShapes ( SumoXMLTag  shapeTag,
bool  onlySelected = false 
)

return shape by type shapes

Parameters
[in]shapeTagType of shape.
[in]onlySelectedWhether to return only selected junctions

Definition at line 1383 of file GNENet.cpp.

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

Referenced by GNEViewNet::deleteSelectedShapes(), and GNEDeleteFrame::removeSelectedAttributeCarriers().

Here is the caller graph for this function:

◆ retrieveTAZElement()

GNETAZElement * GNENet::retrieveTAZElement ( SumoXMLTag  type,
const std::string &  id,
bool  hardFail = true 
) const

Returns the named TAZElement.

Parameters
[in]typetag with the type of TAZElement
[in]idThe id of the TAZElement to return.
[in]failHardWhether attempts to retrieve a nonexisting TAZElement should result in an exception

Definition at line 3001 of file GNENet.cpp.

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

Referenced by GNETAZElement::generateChildID(), GNEAdditionalHandler::LastInsertedElement::getTAZElementParent(), GNETAZRelData::isValid(), GNETAZElement::isValidTAZElementID(), GNEAdditionalHandler::parseAndBuildTAZ(), GNEDataHandler::parseAndBuildTAZRelationData(), GNEAdditionalHandler::parseAndBuildTAZSink(), GNEAdditionalHandler::parseAndBuildTAZSource(), GNEGenericData::replaceFirstParentTAZElement(), GNEGenericData::replaceLastParentTAZElement(), GNEFrameModuls::HierarchicalElementTree::showAttributeCarrierParents(), and GNEChange_TAZElement::~GNEChange_TAZElement().

Here is the caller graph for this function:

◆ retrieveTAZElements()

std::vector< GNETAZElement * > GNENet::retrieveTAZElements ( bool  onlySelected = false) const

return all TAZElements

Parameters
[in]onlySelectedWhether to return only selected TAZElements

Definition at line 3013 of file GNENet.cpp.

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

Referenced by GNEViewNet::deleteSelectedTAZElements().

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

References createEdge(), deleteEdge(), GNEEdge::getAttribute(), GNENetworkElement::getID(), NBEdge::getInnerGeometry(), GNEEdge::getNBEdge(), GNEHierarchicalElement::getParentJunctions(), GNE_ATTR_SHAPE_END, GNE_ATTR_SHAPE_START, GNEUndoList::p_begin(), GNEUndoList::p_end(), PositionVector::reverse(), GNEEdge::setAttribute(), SUMO_ATTR_SHAPE, SUMO_TAG_EDGE, and toString().

Referenced by GNEViewNet::onCmdReverseEdge().

Here is the caller graph for this function:

◆ save()

void GNENet::save ( OptionsCont oc)

save the network

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

Definition at line 1059 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::onCmdSaveNetwork().

Here is the caller graph for this function:

◆ saveAdditionals()

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

save additional elements of the network

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

Definition at line 2374 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ saveAdditionalsConfirmed()

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

◆ saveDataElements()

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

save data set elements of the network

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

Definition at line 2658 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ saveDataElementsConfirmed()

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

save data elements after confirming invalid objects

Definition at line 2931 of file GNENet.cpp.

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

Referenced by saveDataElements().

Here is the caller graph for this function:

◆ saveDemandElements()

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

save demand element elements of the network

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

Definition at line 2487 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ saveDemandElementsConfirmed()

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

save demand elements after confirming invalid objects

Definition at line 2895 of file GNENet.cpp.

References OutputDevice::close(), GNENetHelper::AttributeCarriers::getDemandElements(), OutputDevice::getDevice(), myAttributeCarriers, SUMO_TAG_PTYPE, SUMO_TAG_ROUTE, SUMO_TAG_VTYPE, and OutputDevice::writeXMLHeader().

Referenced by saveDemandElements().

Here is the caller graph for this function:

◆ saveEdgeTypes()

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

save edgeTypes elements of the network

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

Definition at line 3081 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::onCmdSaveEdgeTypes().

Here is the caller graph for this function:

◆ saveJoined()

void GNENet::saveJoined ( OptionsCont oc)

save log of joined junctions (and nothing else)

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

Definition at line 1090 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::onCmdSaveJoined().

Here is the caller graph for this function:

◆ savePlain()

void GNENet::savePlain ( OptionsCont oc)

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

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

Definition at line 1082 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::onCmdSaveAsPlainXML().

Here is the caller graph for this function:

◆ saveTLSPrograms()

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

save TLS Programs elements of the network

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

Definition at line 3060 of file GNENet.cpp.

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

Referenced by GNEApplicationWindow::onCmdSaveTLSPrograms().

Here is the caller graph for this function:

◆ selectRoundabout()

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

select all roundabout edges and junctions for the current roundabout

Definition at line 954 of file GNENet.cpp.

References NBNetBuilder::getEdgeCont(), GNEJunction::getNBNode(), GNEHierarchicalElement::getParentJunctions(), NBEdgeCont::getRoundabouts(), GNE_ATTR_SELECTED, myNetBuilder, GNEUndoList::p_begin(), GNEUndoList::p_end(), retrieveEdge(), and GNEEdge::setAttribute().

Referenced by GNEViewNet::onCmdSelectRoundabout().

Here is the caller graph for this function:

◆ setMicrosimID()

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

◆ setViewNet()

void GNENet::setViewNet ( GNEViewNet viewNet)

Set the net to be notified of network changes.

Definition at line 1098 of file GNENet.cpp.

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

◆ splitEdge()

GNEJunction * GNENet::splitEdge ( GNEEdge edge,
const Position pos,
GNEUndoList undoList,
GNEJunction newJunction = 0 
)

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

References GNEUndoList::p_begin(), GNEUndoList::p_end(), splitEdge(), SUMO_TAG_EDGE, and toString().

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

Here is the caller graph for this function:

◆ splitJunction()

void GNENet::splitJunction ( GNEJunction junction,
bool  reconnect,
GNEUndoList undoList 
)

Field Documentation

◆ GUIGlObjectTypeNamesInitializer

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

LinkStates (Currently unused)

vector for TypeNames Initializer

Definition at line 275 of file GUIGlObject.h.

◆ INVALID_ID

◆ myAdditionalsSaved

bool GNENet::myAdditionalsSaved
protected

Flag to check if additionals has to be saved.

Definition at line 778 of file GNENet.h.

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

◆ myAttributeCarriers

GNENetHelper::AttributeCarriers* GNENet::myAttributeCarriers
protected

AttributeCarriers of net.

Definition at line 757 of file GNENet.h.

Referenced by checkJunctionPosition(), cleanInvalidCrossings(), cleanInvalidDemandElements(), cleanUnusedRoutes(), computeAndUpdate(), computeDemandElements(), computeNetwork(), deleteJunction(), enableUpdateData(), generateAdditionalID(), generateDataSetID(), generateDemandElementID(), generateEdgeTypeID(), generateShapeID(), generateTAZElementID(), getAttributeCarriers(), getDataSetIntervalMaximumEnd(), getDataSetIntervalMinimumBegin(), getNumberOfAdditionals(), getNumberOfDataSets(), getNumberOfDemandElements(), getNumberOfShapes(), getNumberOfTAZElements(), initGNEConnections(), initJunctionsAndEdges(), joinRoutes(), joinSelectedJunctions(), mergeJunctions(), netHasGNECrossings(), removeSolitaryJunctions(), replaceJunctionByGeometry(), retrieve000180AngleEdges(), retrieve180360AngleEdges(), retrieveAdditional(), retrieveAdditionals(), retrieveAttributeCarriers(), retrieveConnection(), retrieveConnections(), retrieveCrossing(), retrieveCrossings(), retrieveDataSet(), retrieveDataSets(), retrieveDemandElement(), retrieveDemandElements(), retrieveEdge(), retrieveEdges(), retrieveEdgeType(), retrieveGenericDataParameters(), retrieveGenericDatas(), retrieveJunction(), retrieveJunctions(), retrieveLanes(), retrieveShape(), retrieveShapes(), retrieveTAZElement(), retrieveTAZElements(), save(), saveAdditionals(), saveAdditionalsConfirmed(), saveDataElementsConfirmed(), saveDemandElements(), saveDemandElementsConfirmed(), saveEdgeTypes(), setViewNet(), and ~GNENet().

◆ myDataElementsSaved

bool GNENet::myDataElementsSaved
protected

Flag to check if data elements has to be saved.

Definition at line 787 of file GNENet.h.

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

◆ myDemandElementsSaved

bool GNENet::myDemandElementsSaved
protected

Flag to check if demand elements has to be saved.

Definition at line 784 of file GNENet.h.

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

◆ myEdgeIDSupplier

IDSupplier GNENet::myEdgeIDSupplier
protected

Definition at line 764 of file GNENet.h.

Referenced by createEdge(), and reserveEdgeID().

◆ myEdgesAndNumberOfLanes

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

map with the Edges and their number of lanes

Definition at line 826 of file GNENet.h.

Referenced by computeNetwork(), and retrieveLane().

◆ myExplicitTurnarounds

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

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

Definition at line 769 of file GNENet.h.

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

◆ myFullName

std::string GUIGlObject::myFullName
privateinherited

full name of GL Object

Definition at line 258 of file GUIGlObject.h.

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

◆ myGlID

GUIGlID GUIGlObject::myGlID
privateinherited

The numerical id of the object.

Definition at line 249 of file GUIGlObject.h.

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

◆ myGLObjectType

const GUIGlObjectType GUIGlObject::myGLObjectType
privateinherited

The type of the object.

Definition at line 252 of file GUIGlObject.h.

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

◆ myGrid

SUMORTree GNENet::myGrid
protected

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

Definition at line 748 of file GNENet.h.

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

◆ myJunctionIDSupplier

IDSupplier GNENet::myJunctionIDSupplier
protected

Definition at line 765 of file GNENet.h.

Referenced by createJunction(), and reserveJunctionID().

◆ myMicrosimID

std::string GUIGlObject::myMicrosimID
privateinherited

ID of GL object.

Definition at line 255 of file GUIGlObject.h.

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

◆ myNeedRecompute

bool GNENet::myNeedRecompute
protected

whether the net needs recomputation

Definition at line 772 of file GNENet.h.

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

◆ myNetBuilder

◆ myNetSaved

bool GNENet::myNetSaved
protected

Flag to check if net has to be saved.

Definition at line 775 of file GNENet.h.

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

◆ myParamWindows

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

Parameter table windows which refer to this object.

Definition at line 261 of file GUIGlObject.h.

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

◆ myPathCalculator

GNENetHelper::PathCalculator* GNENet::myPathCalculator
protected

PathCalculator instance.

Definition at line 760 of file GNENet.h.

Referenced by computeDemandElements(), getPathCalculator(), and ~GNENet().

◆ myTLSProgramsSaved

bool GNENet::myTLSProgramsSaved
protected

Flag to check if shapes has to be saved.

Definition at line 781 of file GNENet.h.

Referenced by requireSaveTLSPrograms(), and saveTLSPrograms().

◆ myUpdateDataEnabled

bool GNENet::myUpdateDataEnabled
protected

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

Definition at line 793 of file GNENet.h.

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

◆ myUpdateGeometryEnabled

bool GNENet::myUpdateGeometryEnabled
protected

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

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

Referenced by addZValueInBoundary(), and getZBoundary().

◆ TypeNames

StringBijection< GUIGlObjectType > GUIGlObject::TypeNames
staticinherited

associates object types with strings

Definition at line 66 of file GUIGlObject.h.

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

◆ Z_INITIALIZED

const double GNENet::Z_INITIALIZED = 1
staticprivate

marker for whether the z-boundary is initialized

Definition at line 823 of file GNENet.h.

Referenced by addZValueInBoundary().


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