Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNENet Class Reference

#include <GNENet.h>

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

Public Member Functions

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

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

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

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

void enableUpdateData ()
void disableUpdateData ()
 disable update data elements after inserting or removing an element in net
bool isUpdateDataEnabled () const
 check if update data after inserting or removing has to be updated
get junction id counter
unsigned int & getJunctionIDCounter ()
getter methods

Returns the full name appearing in the tool tip

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

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

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

Static Public Attributes

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

Protected Member Functions

void buildAdditionalsPopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic additional popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
void buildShapePopupOptions (GUIMainWindow &app, GUIGLObjectPopupMenu *ret, const std::string &type)
 build basic shape popup options. Used to unify pop-ups menu in netedit and SUMO-GUI
void cleanupOnDestruction ()
 to be called by child class to ensure cleanup in correct order
helper methods for building popup-menus

build common popup options

void buildPopUpMenuCommonOptions (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, GUISUMOAbstractView *parent, const SumoXMLTag tag, const bool selected, bool addSeparator=true)
void buildPopupHeader (GUIGLObjectPopupMenu *ret, GUIMainWindow &app, bool addSeparator=true)
 Builds the header.
void buildCenterPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to center to the object.
void buildNameCopyPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds entries which allow to copy the name / typed name into the clipboard.
void buildSelectionPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to (de)select the object.
void buildShowParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the parameter window.
void buildShowTypeParamsPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the type parameter window.
void buildPositionCopyEntry (GUIGLObjectPopupMenu *ret, const GUIMainWindow &app, bool addSeparator=true) const
 Builds an entry which allows to copy the cursor position if geo projection is used, also builds an entry for copying the geo-position.
void buildShowManipulatorPopupEntry (GUIGLObjectPopupMenu *ret, bool addSeparator=true)
 Builds an entry which allows to open the manipulator window.

Private Member Functions

std::string createFullName () const
 create full name

Private Attributes

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

Static Private Attributes

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

get edge id counter

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

counters for junction/edge IDs

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

Detailed Description

Definition at line 39 of file GNENet.h.

Constructor & Destructor Documentation

◆ GNENet() [1/3]

GNENet::GNENet ( GNEApplicationWindow * applicationWindow,
NBNetBuilder * netBuilder )

constructor

Definition at line 95 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ ~GNENet()

GNENet::~GNENet ( )

◆ GNENet() [2/3]

GNENet::GNENet ( )
privatedelete

Invalidated default constructor.

◆ GNENet() [3/3]

GNENet::GNENet ( const GNENet & )
privatedelete

Invalidated copy constructor.

References GNENet().

Member Function Documentation

◆ addExplicitTurnaround()

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

add edge id to the list of explicit turnarounds

Definition at line 2215 of file GNENet.cpp.

References myExplicitTurnarounds.

◆ addGLObjectIntoGrid()

void GNENet::addGLObjectIntoGrid ( GNEAttributeCarrier * AC)

add GL Object into net

Definition at line 1449 of file GNENet.cpp.

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

Referenced by computeAndUpdate().

Here is the caller graph for this function:

◆ addGreenVergeLane()

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

add restricted lane to edge

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

Definition at line 969 of file GNENet.cpp.

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

◆ addParameterTable()

void GUIGlObject::addParameterTable ( GUIParameterTableWindow * w)
inherited

Definition at line 417 of file GUIGlObject.cpp.

References myParamWindows.

◆ addRestrictedLane()

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

add restricted lane to edge

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

Definition at line 933 of file GNENet.cpp.

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

◆ addReversedEdge()

◆ addZValueInBoundary()

void GNENet::addZValueInBoundary ( const double z)

add Z in net boundary

Definition at line 276 of file GNENet.cpp.

References myZBoundary, and Z_INITIALIZED.

◆ adjustPersonPlans()

◆ buildAdditionalsPopupOptions()

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

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

Definition at line 455 of file GUIGlObject.cpp.

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

◆ buildCenterPopupEntry()

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

◆ buildNameCopyPopupEntry()

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

◆ buildPopupHeader()

◆ buildPopUpMenuCommonOptions()

◆ buildPositionCopyEntry()

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

◆ buildSelectionPopupEntry()

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

◆ buildShapePopupOptions()

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

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

Definition at line 432 of file GUIGlObject.cpp.

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

Referenced by GUIPointOfInterest::getPopUpMenu().

Here is the caller graph for this function:

◆ buildShowManipulatorPopupEntry()

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

Builds an entry which allows to open the manipulator window.

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

Definition at line 408 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ buildShowParamsPopupEntry()

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

◆ buildShowTypeParamsPopupEntry()

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

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

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

Definition at line 372 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ changeEdgeEndpoints()

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

modifies endpoins of the given edge

Definition at line 2194 of file GNENet.cpp.

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

◆ checkJunctionPosition()

bool GNENet::checkJunctionPosition ( const Position & pos)
private

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

Definition at line 1382 of file GNENet.cpp.

References myAttributeCarriers.

Referenced by joinSelectedJunctions().

Here is the caller graph for this function:

◆ cleanInvalidCrossings()

bool GNENet::cleanInvalidCrossings ( GNEUndoList * undoList)

◆ cleanInvalidDemandElements()

void GNENet::cleanInvalidDemandElements ( GNEUndoList * undoList)

◆ cleanUnusedRoutes()

void GNENet::cleanUnusedRoutes ( GNEUndoList * undoList)

clean unused routes

Definition at line 1808 of file GNENet.cpp.

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

◆ cleanupOnDestruction()

void GUIGlObject::cleanupOnDestruction ( )
protectedinherited

to be called by child class to ensure cleanup in correct order

Definition at line 200 of file GUIGlObject.cpp.

References myParamWindows, and GLObjectValuePassConnector< T >::removeObject().

Referenced by ~GUIGlObject(), GUIMEVehicle::~GUIMEVehicle(), and GUIVehicle::~GUIVehicle().

Here is the caller graph for this function:

◆ clearAdditionalElements()

void GNENet::clearAdditionalElements ( GNEUndoList * undoList)

clear additionals

Definition at line 2135 of file GNENet.cpp.

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

◆ clearDataElements()

void GNENet::clearDataElements ( GNEUndoList * undoList)

clear data elements

Definition at line 2170 of file GNENet.cpp.

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

◆ clearDemandElements()

void GNENet::clearDemandElements ( GNEUndoList * undoList)

◆ clearJunctionConnections()

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

clear junction's connections

Definition at line 2112 of file GNENet.cpp.

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

Referenced by replaceJunctionByGeometry(), and resetJunctionConnections().

Here is the caller graph for this function:

◆ clearMeanDataElements()

void GNENet::clearMeanDataElements ( GNEUndoList * undoList)

clear meanDatas

Definition at line 2181 of file GNENet.cpp.

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

◆ computeAndUpdate()

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

recompute the network and update lane geometries

Definition at line 2985 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ computeDataElements()

void GNENet::computeDataElements ( GNEApplicationWindow * window)

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

Definition at line 1588 of file GNENet.cpp.

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

Referenced by saveDataElements().

Here is the caller graph for this function:

◆ computeDemandElements()

void GNENet::computeDemandElements ( GNEApplicationWindow * window)

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

Definition at line 1568 of file GNENet.cpp.

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

Referenced by saveDemandElements().

Here is the caller graph for this function:

◆ computeJunction()

void GNENet::computeJunction ( GNEJunction * junction)

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

Definition at line 1601 of file GNENet.cpp.

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

◆ computeNetwork()

void GNENet::computeNetwork ( GNEApplicationWindow * window,
bool force = false,
bool volatileOptions = false )

trigger full netbuild computation param[in] window The window to inform about delay param[in] force Whether to force recomputation even if not needed param[in] volatileOptions enable or disable volatile options

Definition at line 1469 of file GNENet.cpp.

References FileBucket::ADDITIONAL, computeAndUpdate(), FileBucket::DATA, FileBucket::DEMAND, OptionsCont::getOptions(), FileBucket::MEANDATA, myApplicationWindow, myAttributeCarriers, myEdgesAndNumberOfLanes, myNeedRecompute, DataHandler::parse(), GeneralHandler::parse(), GNEApplicationWindow::setStatusBarText(), TL, WRITE_ERROR, and WRITE_MESSAGE.

◆ createEdge()

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

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

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

Definition at line 304 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ createFullName()

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

create full name

Definition at line 478 of file GUIGlObject.cpp.

References getMicrosimID(), myGLObjectType, and TypeNames.

Referenced by GUIGlObject(), and setMicrosimID().

Here is the caller graph for this function:

◆ createJunction()

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

creates a new junction

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

Definition at line 285 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ createRoundabout()

◆ deleteAdditional()

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

remove additional

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

Definition at line 739 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ deleteConnection()

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

remove connection

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

Definition at line 706 of file GNENet.cpp.

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

Referenced by clearJunctionConnections(), and deleteNetworkElement().

Here is the caller graph for this function:

◆ deleteCrossing()

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

remove crossing

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

Definition at line 721 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ deleteDataInterval()

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

remove data interval

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

Definition at line 812 of file GNENet.cpp.

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

Referenced by deleteDataSet().

Here is the caller graph for this function:

◆ deleteDataSet()

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

remove data set

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

Definition at line 799 of file GNENet.cpp.

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

Referenced by clearDataElements().

Here is the caller graph for this function:

◆ deleteDemandElement()

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

◆ deleteEdge()

◆ deleteGenericData()

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

remove generic data

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

Definition at line 825 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ deleteGLObject()

void GUIGlObject::deleteGLObject ( )
virtualinherited

delete GLObject (Currently used only in netedit)

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

Definition at line 244 of file GUIGlObject.cpp.

◆ deleteJunction()

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

removes junction and all incident edges

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

Definition at line 438 of file GNENet.cpp.

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

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

Here is the caller graph for this function:

◆ deleteLane()

◆ deleteMeanData()

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

remove generic data

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

Definition at line 855 of file GNENet.cpp.

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

Referenced by clearMeanDataElements().

Here is the caller graph for this function:

◆ deleteNetworkElement()

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

delete network element

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

Definition at line 397 of file GNENet.cpp.

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

◆ deleteTAZSourceSink()

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

remove TAZSourceSink

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

Definition at line 764 of file GNENet.cpp.

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

Referenced by deleteAdditional(), and deleteEdge().

Here is the caller graph for this function:

◆ disableUpdateData()

void GNENet::disableUpdateData ( )

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

Definition at line 2904 of file GNENet.cpp.

References myUpdateDataEnabled.

◆ disableUpdateGeometry()

void GNENet::disableUpdateGeometry ( )

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

Definition at line 2881 of file GNENet.cpp.

References myUpdateGeometryEnabled.

◆ drawGL()

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

Draws the object.

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

Implements GUIGlObject.

Definition at line 251 of file GNENet.cpp.

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

◆ drawGLAdditional()

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

Draws additional, user-triggered visualisations.

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

Reimplemented in GUIBaseVehicle, GUIContainer, and GUIPerson.

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

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

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

Here is the caller graph for this function:

◆ enableUpdateData()

void GNENet::enableUpdateData ( )

Definition at line 2893 of file GNENet.cpp.

References myAttributeCarriers, and myUpdateDataEnabled.

◆ enableUpdateGeometry()

void GNENet::enableUpdateGeometry ( )

Definition at line 2875 of file GNENet.cpp.

References myUpdateGeometryEnabled.

◆ expandBoundary()

void GNENet::expandBoundary ( const Boundary & newBoundary)

expand boundary

Definition at line 264 of file GNENet.cpp.

References myGrid.

◆ getACTemplates()

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

get all attribute carriers templates used in this net

Definition at line 180 of file GNENet.cpp.

References myACTemplates.

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

Here is the caller graph for this function:

◆ getAttributeCarriers()

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

get all attribute carriers used in this net

Definition at line 174 of file GNENet.cpp.

References myAttributeCarriers.

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

Here is the caller graph for this function:

◆ getBoundary()

const Boundary & GNENet::getBoundary ( ) const

returns the bounder of the network

Definition at line 210 of file GNENet.cpp.

References myGrid.

Referenced by getCenteringBoundary().

Here is the caller graph for this function:

◆ getCenter()

◆ getCenteringBoundary()

Boundary GNENet::getCenteringBoundary ( ) const
overridevirtual

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

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

Implements GUIGlObject.

Definition at line 258 of file GNENet.cpp.

References getBoundary().

Referenced by drawGL().

Here is the caller graph for this function:

◆ getClickPriority()

virtual double GUIGlObject::getClickPriority ( ) const
inlinevirtualinherited

Returns the priority of receiving mouse clicks.

Reimplemented in GUIEdge, GUILane, GUIPointOfInterest, GUIPolygon, and GUITrafficLightLogicWrapper.

Definition at line 162 of file GUIGlObject.h.

References myGLObjectType.

Referenced by GUISUMOAbstractView::getObjectAtPosition().

Here is the caller graph for this function:

◆ getColorValue()

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

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

Definition at line 218 of file GUIGlObject.h.

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

Here is the caller graph for this function:

◆ getDataPathManager()

GNEPathManager * GNENet::getDataPathManager ( )

get data path manager

Definition at line 204 of file GNENet.cpp.

References myDataPathManager.

Referenced by GNEGenericDataFrame::GNEGenericDataFrame().

Here is the caller graph for this function:

◆ getDataSetIntervalMaximumEnd()

double GNENet::getDataSetIntervalMaximumEnd ( ) const

get maximum interval

Definition at line 2386 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_ATTR_END.

◆ getDataSetIntervalMinimumBegin()

double GNENet::getDataSetIntervalMinimumBegin ( ) const

get minimum interval

Definition at line 2369 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_ATTR_BEGIN.

◆ getDemandPathManager()

GNEPathManager * GNENet::getDemandPathManager ( )

◆ getEdgeCont()

NBEdgeCont & GNENet::getEdgeCont ( )

returns the NBEdgeCont of the underlying netbuilder

Definition at line 2209 of file GNENet.cpp.

References myNetBuilder.

◆ getEdgeIDCounter()

unsigned int & GNENet::getEdgeIDCounter ( )

Definition at line 2922 of file GNENet.cpp.

References myEdgeIDCounter.

◆ getEdgesAndNumberOfLanes()

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

et edges and number of lanes

Definition at line 222 of file GNENet.cpp.

References myEdgesAndNumberOfLanes.

◆ getExaggeration()

◆ getFullName()

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

Definition at line 95 of file GUIGlObject.h.

References myFullName.

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

Here is the caller graph for this function:

◆ getGLIcon()

FXIcon * GUIGlObject::getGLIcon ( ) const
inherited

get icon associated with this GL Object

Definition at line 217 of file GUIGlObject.cpp.

References myIcon.

Referenced by GNENetworkElement::getShapeEditedPopUpMenu().

Here is the caller graph for this function:

◆ getGlID()

GUIGlID GUIGlObject::getGlID ( ) const
inlineinherited

Returns the numerical id of the object.

Returns
This object's gl-id

Definition at line 105 of file GUIGlObject.h.

References myGlID.

Referenced by GUIMessageWindow::appendMsg(), buildSelectionPopupEntry(), GUIBaseVehicle::drawAction_drawPersonsAndContainers(), GUIBusStop::drawGL(), GUICalibrator::drawGL(), GUIChargingStation::drawGL(), GUIContainer::drawGL(), GUIE2Collector::MyWrapper::drawGL(), GUIE3Collector::MyWrapper::drawGL(), GUIEdge::drawGL(), GUIInductLoop::MyWrapper::drawGL(), GUIInstantInductLoop::MyWrapper::drawGL(), GUIJunctionWrapper::drawGL(), GUILane::drawGL(), GUILaneSpeedTrigger::drawGL(), GUIMEInductLoop::MyWrapper::drawGL(), GUIOverheadWire::drawGL(), GUIOverheadWireClamp::drawGL(), GUIParkingArea::drawGL(), GUIPerson::drawGL(), GUIPointOfInterest::drawGL(), GUIPolygon::drawGL(), GUITriggeredRerouter::GUITriggeredRerouterEdge::drawGL(), GUIBaseVehicle::drawGLAdditional(), GUIContainer::drawGLAdditional(), GUIPerson::drawGLAdditional(), GUILane::drawLinkRule(), GUIBaseVehicle::drawOnPos(), GUIContainer::getColorValue(), GUIEdge::getColorValue(), GUIJunctionWrapper::getColorValue(), GUIMEVehicle::getColorValue(), GUIPerson::getColorValue(), GUIVehicle::getColorValue(), GNEPOI::getGlID(), GNEPoly::getGlID(), GUISUMOAbstractView::getGUIGlObjectsAtPosition(), GUIEdge::getIDs(), GUISUMOAbstractView::getObjectAtPosition(), GUISUMOAbstractView::getObjectsAtPosition(), GUIShapeContainer::getPOIIds(), GUIShapeContainer::getPolygonIDs(), GUIBaseVehicle::getPopUpMenu(), GUIContainer::getPopUpMenu(), GUIPerson::getPopUpMenu(), GUIEdge::getScaleValue(), GUITransportableControl::insertIDs(), GUIMEVehicleControl::insertVehicleIDs(), GUIVehicleControl::insertVehicleIDs(), GUILane::isLaneOrEdgeSelected(), GUIContainer::isSelected(), GUIEdge::isSelected(), GUIGlChildWindow::isSelected(), GUILane::isSelected(), GUIMEVehicle::isSelected(), GUIPerson::isSelected(), GUISelectedStorage::isSelected(), GUISUMOViewParent::isSelected(), GUIVehicle::isSelected(), GUIViewTraffic::onCmdAddRerouter(), GUIViewTraffic::onCmdCloseEdge(), GUIViewTraffic::onCmdCloseLane(), GUIDialog_GLChosenEditor::onCmdDeselect(), GUIApplicationWindow::onCmdEditChosen(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdSelectTransported(), GUIBaseVehicle::GUIBaseVehiclePopupMenu::onCmdStartTrack(), GUIContainer::GUIContainerPopupMenu::onCmdStartTrack(), GUIPerson::GUIPersonPopupMenu::onCmdStartTrack(), GUIDialog_ChooserAbstract::onCmdTrack(), GUIViewTraffic::onGamingClick(), GUIDialog_ChooserAbstract::refreshList(), GLObjectValuePassConnector< T >::removeObject(), GUIVehicle::selectBlockingFoes(), GUIPolygon::setColor(), GUIMessageWindow::setCursorPos(), GUIPointOfInterest::setPOIColor(), GUIViewTraffic::showLaneReachability(), GUIBaseVehicle::~GUIBaseVehicle(), ~GUIGlObject(), GUIMEVehicle::~GUIMEVehicle(), GUIPerson::~GUIPerson(), and GUIVehicle::~GUIVehicle().

◆ getGNEApplicationWindow()

◆ getGrid()

SUMORTree & GNENet::getGrid ( )

Returns the RTree used for visualisation speed-up.

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

Definition at line 217 of file GNENet.cpp.

References myGrid.

◆ getJunctionIDCounter()

unsigned int & GNENet::getJunctionIDCounter ( )

Definition at line 2916 of file GNENet.cpp.

References myJunctionIDCounter.

◆ getMicrosimID()

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

Returns the id of the object as known to microsim.

Definition at line 144 of file GUIGlObject.h.

References myMicrosimID.

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

◆ getNetBuilder()

NBNetBuilder * GNENet::getNetBuilder ( ) const

get net builder

Definition at line 168 of file GNENet.cpp.

References myNetBuilder.

Referenced by GNELoadThread::run().

Here is the caller graph for this function:

◆ getNetworkPathManager()

GNEPathManager * GNENet::getNetworkPathManager ( )

get network path manager

Definition at line 192 of file GNENet.cpp.

References myNetworkPathManager.

◆ getNumberOfTLSPrograms()

int GNENet::getNumberOfTLSPrograms ( ) const

get number of TLS Programs

Definition at line 2841 of file GNENet.cpp.

◆ getOptionalName()

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

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

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

Definition at line 262 of file GUIGlObject.cpp.

Referenced by GUIDialog_ChooserAbstract::getObjectName().

Here is the caller graph for this function:

◆ getParameterWindow()

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

Returns an own parameter window.

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

Implements GUIGlObject.

Definition at line 241 of file GNENet.cpp.

References GUIParameterTableWindow::closeBuilding().

◆ getParentName()

◆ getPopUpMenu()

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

Returns an own popup-menu.

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

Implements GUIGlObject.

Definition at line 228 of file GNENet.cpp.

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

◆ getSavingStatus()

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

get saving status

Definition at line 186 of file GNENet.cpp.

References mySavingStatus.

◆ getScaleVisual()

virtual double GUIGlObject::getScaleVisual ( ) const
inlinevirtualinherited

return individual scaling factor for this object

Reimplemented in GUIBaseVehicle, GUIContainer, and GUIPerson.

Definition at line 190 of file GUIGlObject.h.

Referenced by GUIVisualizationSizeSettings::getExaggeration().

Here is the caller graph for this function:

◆ getTagPropertiesDatabase()

const GNETagPropertiesDatabase * GNENet::getTagPropertiesDatabase ( ) const

get tag properties database (used for simplify code)

Definition at line 162 of file GNENet.cpp.

References myApplicationWindow.

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

Here is the caller graph for this function:

◆ getTLLogicCont()

NBTrafficLightLogicCont & GNENet::getTLLogicCont ( )

returns the tllcont of the underlying netbuilder

Definition at line 2203 of file GNENet.cpp.

References myNetBuilder.

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

Here is the caller graph for this function:

◆ getType()

GUIGlObjectType GUIGlObject::getType ( ) const
inlineinherited

Returns the type of the object as coded in GUIGlObjectType.

See also
GUIGlObjectType

Definition at line 157 of file GUIGlObject.h.

References myGLObjectType.

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

◆ getTypeParameterWindow()

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

Returns an own type parameter window (optional).

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

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

Definition at line 223 of file GUIGlObject.cpp.

References UNUSED_PARAMETER.

◆ getUndoList()

GNEUndoList * GNENet::getUndoList ( ) const

get undo list(used for simplify code)

Definition at line 156 of file GNENet.cpp.

References myApplicationWindow.

Referenced by GNECalibratorDialog::CalibratorFlowsList::addNewElement(), GNERoute::GNERoutePopupMenu::onCmdApplyDistance(), GNEElementList::removeElementRecursively(), GNEElementList::removeElementRecursively(), and GNERouteHandler::reverse().

Here is the caller graph for this function:

◆ getViewNet()

◆ getViewParent()

GNEViewParent * GNENet::getViewParent ( ) const

get view parent (used for simplify code)

Definition at line 150 of file GNENet.cpp.

References myApplicationWindow.

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

References myZBoundary.

◆ initGNEConnections()

void GNENet::initGNEConnections ( )

initialize GNEConnections

Definition at line 2972 of file GNENet.cpp.

References myAttributeCarriers.

Referenced by GNEViewNet::onCmdToggleShowConnections().

Here is the caller graph for this function:

◆ initJunctionsAndEdges()

void GNENet::initJunctionsAndEdges ( )
private

Init Junctions and edges.

Definition at line 2931 of file GNENet.cpp.

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

Referenced by computeAndUpdate(), and GNENet().

Here is the caller graph for this function:

◆ isBlocked()

bool GUIGlObject::isBlocked ( ) const
inlineinherited

get blocking status

Definition at line 167 of file GUIGlObject.h.

References myAmBlocked.

◆ isGLObjectLocked()

bool GUIGlObject::isGLObjectLocked ( ) const
virtualinherited

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

Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.

Definition at line 231 of file GUIGlObject.cpp.

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

Here is the caller graph for this function:

◆ isNetRecomputed()

bool GNENet::isNetRecomputed ( ) const

check if net require recomputing

Definition at line 1626 of file GNENet.cpp.

References myNeedRecompute.

Referenced by saveNetwork().

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

References myUpdateDataEnabled.

◆ isUpdateGeometryEnabled()

bool GNENet::isUpdateGeometryEnabled ( ) const

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

Definition at line 2887 of file GNENet.cpp.

References myUpdateGeometryEnabled.

◆ isVisible()

virtual bool GUIGlObject::isVisible ( const GUIVisualizationSettings & ) const
inlinevirtualinherited

check if object is visible (Currently used only in netedit)

Reimplemented in GNEEdge, and GNELane.

Definition at line 214 of file GUIGlObject.h.

Referenced by GUIViewObjectsHandler::selectObject().

Here is the caller graph for this function:

◆ joinRoutes()

void GNENet::joinRoutes ( GNEUndoList * undoList)

◆ joinSelectedJunctions()

bool GNENet::joinSelectedJunctions ( GNEUndoList * undoList)

join selected junctions

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

Definition at line 1632 of file GNENet.cpp.

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

Referenced by joinSelectedJunctions().

Here is the caller graph for this function:

◆ markAsFrontElement()

void GUIGlObject::markAsFrontElement ( )
virtualinherited

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

Reimplemented in GNEAdditional, GNEDemandElement, and GNENetworkElement.

Definition at line 238 of file GUIGlObject.cpp.

◆ mergeJunctions()

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

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

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

Definition at line 1195 of file GNENet.cpp.

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

◆ onLeftBtnPress()

virtual void GUIGlObject::onLeftBtnPress ( void * )
inlinevirtualinherited

notify object about left click

Reimplemented in GUITriggeredRerouter::GUITriggeredRerouterEdge.

Definition at line 233 of file GUIGlObject.h.

Referenced by GUIViewTraffic::onGamingClick().

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

References GNENet().

◆ removeActiveAddVisualisation()

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

remove additional user-griggered visualisations

Reimplemented in GUIBaseVehicle, and GUIPerson.

Definition at line 230 of file GUIGlObject.h.

◆ removedPopupMenu()

virtual void GUIGlObject::removedPopupMenu ( )
inlinevirtualinherited

notify object about popup menu removal

Reimplemented in GUIBaseVehicle.

Definition at line 125 of file GUIGlObject.h.

◆ removeExplicitTurnaround()

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

remove edge id from the list of explicit turnarounds

Definition at line 2221 of file GNENet.cpp.

References myExplicitTurnarounds.

◆ removeGLObjectFromGrid()

void GNENet::removeGLObjectFromGrid ( GNEAttributeCarrier * AC)

add GL Object into net

Definition at line 1459 of file GNENet.cpp.

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

Referenced by computeAndUpdate().

Here is the caller graph for this function:

◆ removeParameterTable()

void GUIGlObject::removeParameterTable ( GUIParameterTableWindow * w)
inherited

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

Parameters
[in]wThe closed parameter window

Definition at line 423 of file GUIGlObject.cpp.

References myParamWindows.

◆ removeRestrictedLane()

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

remove restricted lane

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

Definition at line 986 of file GNENet.cpp.

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

◆ removeSolitaryJunctions()

void GNENet::removeSolitaryJunctions ( GNEUndoList * undoList)

removes junctions that have no edges

Definition at line 1792 of file GNENet.cpp.

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

◆ replaceIncomingEdge()

◆ replaceInListAttribute()

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

replace in list attribute

Definition at line 3084 of file GNENet.cpp.

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

Referenced by replaceIncomingEdge().

Here is the caller graph for this function:

◆ replaceJunctionByGeometry()

◆ requireRecompute()

void GNENet::requireRecompute ( )

inform the net about the need for recomputation

Definition at line 1619 of file GNENet.cpp.

References myNeedRecompute, and mySavingStatus.

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

Here is the caller graph for this function:

◆ resetJunctionConnections()

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

reset junction's connections

Definition at line 2124 of file GNENet.cpp.

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

◆ restrictLane()

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

transform lane to restricted lane

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

Definition at line 880 of file GNENet.cpp.

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

Referenced by addGreenVergeLane(), and addRestrictedLane().

Here is the caller graph for this function:

◆ reverseEdge()

◆ saveAdditionals()

◆ saveDataElements()

bool GNENet::saveDataElements ( )

◆ saveDemandElements()

◆ saveEdgeTypes()

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

save edgeTypes elements of the network

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

Definition at line 2847 of file GNENet.cpp.

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

◆ saveJoined()

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

save log of joined junctions (and nothing else)

Definition at line 1441 of file GNENet.cpp.

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

◆ saveJuPedSimElements()

bool GNENet::saveJuPedSimElements ( const std::string & filename)

◆ saveMeanDatas()

bool GNENet::saveMeanDatas ( )

◆ saveNetwork()

◆ savePlain()

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

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

Definition at line 1432 of file GNENet.cpp.

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

◆ saveTLSPrograms()

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

save TLS Programs elements of the network

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

Definition at line 2828 of file GNENet.cpp.

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

◆ selectGLObject()

void GUIGlObject::selectGLObject ( )
virtualinherited

select GLObject (Currently used only in netedit)

Reimplemented in GNEAdditional, GNEDemandElement, GNEGenericData, and GNENetworkElement.

Definition at line 250 of file GUIGlObject.cpp.

◆ selectRoundabout()

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

select all roundabout edges and junctions for the current roundabout

Definition at line 1226 of file GNENet.cpp.

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

◆ setBlocked()

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

set blocking status

Definition at line 172 of file GUIGlObject.h.

References myAmBlocked.

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

Here is the caller graph for this function:

◆ setMicrosimID()

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

Changes the microsimID of the object.

Note
happens in netedit

Definition at line 268 of file GUIGlObject.cpp.

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

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

Here is the caller graph for this function:

◆ splitEdge()

◆ splitEdgesBidi()

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

split all edges at position by inserting one new junction

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

Definition at line 1117 of file GNENet.cpp.

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

◆ splitJunction()

◆ updateGLObject()

void GUIGlObject::updateGLObject ( )
virtualinherited

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

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

Definition at line 256 of file GUIGlObject.cpp.

◆ writeAdditionalByType()

void GNENet::writeAdditionalByType ( OutputDevice & device,
const FileBucket * fileBucket,
const std::vector< SumoXMLTag > tags ) const
private

write additional element by type and sorted by ID

Definition at line 2511 of file GNENet.cpp.

References myAttributeCarriers, SUMO_TAG_VAPORIZER, and TL.

Referenced by saveJuPedSimElements(), and writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeAdditionalFileElements()

void GNENet::writeAdditionalFileElements ( OutputDevice & device,
const FileBucket * fileBucket )
private

write additionals demand elements and meanData in output device

Definition at line 2429 of file GNENet.cpp.

References GNE_TAG_CALIBRATOR_LANE, GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNE_TAG_MULTI_LANE_AREA_DETECTOR, GNE_TAG_POIGEO, GNE_TAG_POILANE, myAttributeCarriers, SUMO_ATTR_DEPART, SUMO_TAG_BUS_STOP, SUMO_TAG_CALIBRATOR, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_ENTRY_EXIT_DETECTOR, SUMO_TAG_INDUCTION_LOOP, SUMO_TAG_INSTANT_INDUCTION_LOOP, SUMO_TAG_LANE_AREA_DETECTOR, SUMO_TAG_MEANDATA_EDGE, SUMO_TAG_MEANDATA_LANE, SUMO_TAG_OVERHEAD_WIRE_CLAMP, SUMO_TAG_OVERHEAD_WIRE_SECTION, SUMO_TAG_PARKING_AREA, SUMO_TAG_POI, SUMO_TAG_POLY, SUMO_TAG_REROUTER, SUMO_TAG_ROUTEPROBE, SUMO_TAG_TAZ, SUMO_TAG_TRACTION_SUBSTATION, SUMO_TAG_TRAIN_STOP, SUMO_TAG_VAPORIZER, SUMO_TAG_VSS, writeAdditionalByType(), writeCalibratorComment(), writeDetectorComment(), writeJuPedSimComment(), writeMeanDataEdgeComment(), writeMeanDataLaneComment(), writeMeanDatas(), writeRerouterComment(), writeRouteComment(), writeRouteDistributions(), writeRouteProbeComment(), writeRoutes(), writeShapesComment(), writeStoppingPlaceComment(), writeTAZComment(), writeVaporizerComment(), writeVariableSpeedSignComment(), writeVTypeComment(), writeVTypeDistributions(), writeVTypes(), and writeWireComment().

Referenced by saveAdditionals(), saveDemandElements(), and saveMeanDatas().

Here is the caller graph for this function:

◆ writeCalibratorComment()

bool GNENet::writeCalibratorComment ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write calibrator comment

Definition at line 2701 of file GNENet.cpp.

References myAttributeCarriers.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeDemandByType()

void GNENet::writeDemandByType ( OutputDevice & device,
const FileBucket * fileBucket,
SumoXMLTag tag ) const
private

write demand element by type and sorted by ID

Definition at line 2533 of file GNENet.cpp.

References myAttributeCarriers.

◆ writeDetectorComment()

bool GNENet::writeDetectorComment ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write detector comment

Definition at line 2731 of file GNENet.cpp.

References myAttributeCarriers.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeJuPedSimComment()

bool GNENet::writeJuPedSimComment ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write JuPedSim comment

Definition at line 2762 of file GNENet.cpp.

References myAttributeCarriers.

Referenced by saveJuPedSimElements(), and writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeMeanDataEdgeComment()

bool GNENet::writeMeanDataEdgeComment ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write meanDataEdge comment

Definition at line 2804 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_MEANDATA_EDGE.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeMeanDataLaneComment()

bool GNENet::writeMeanDataLaneComment ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write Wire comment

Definition at line 2816 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_MEANDATA_LANE.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeMeanDatas()

void GNENet::writeMeanDatas ( OutputDevice & device,
const FileBucket * fileBucket,
SumoXMLTag tag ) const
private

write meanData element by type and sorted by ID

Definition at line 2605 of file GNENet.cpp.

References myAttributeCarriers, and TL.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeRerouterComment()

bool GNENet::writeRerouterComment ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write rerouter comment

Definition at line 2653 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_REROUTER.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeRouteComment()

bool GNENet::writeRouteComment ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write route comment

Definition at line 2641 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_ROUTE.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeRouteDistributions()

void GNENet::writeRouteDistributions ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write route distributions sorted by ID

Definition at line 2547 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_ROUTE_DISTRIBUTION.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeRouteProbeComment()

bool GNENet::writeRouteProbeComment ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write routeProbe comment

Definition at line 2677 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_ROUTEPROBE.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeRoutes()

void GNENet::writeRoutes ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write route sorted by ID

Definition at line 2562 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_ROUTE.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeShapesComment()

bool GNENet::writeShapesComment ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write shape comment

Definition at line 2746 of file GNENet.cpp.

References myAttributeCarriers.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeStoppingPlaceComment()

bool GNENet::writeStoppingPlaceComment ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write stoppingPlace comment

Definition at line 2716 of file GNENet.cpp.

References myAttributeCarriers.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeTAZComment()

bool GNENet::writeTAZComment ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write TAZ comment

Definition at line 2777 of file GNENet.cpp.

References myAttributeCarriers, SUMO_TAG_TAZ, and TAZ.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeVaporizerComment()

bool GNENet::writeVaporizerComment ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write vaporizer comment

Definition at line 2689 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_VAPORIZER.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeVariableSpeedSignComment()

bool GNENet::writeVariableSpeedSignComment ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write variable speed sign comment

Definition at line 2665 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_VSS.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeVTypeComment()

bool GNENet::writeVTypeComment ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write vType comment

Definition at line 2622 of file GNENet.cpp.

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

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeVTypeDistributions()

void GNENet::writeVTypeDistributions ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write vTypeDistributions sorted by ID

Definition at line 2576 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_VTYPE_DISTRIBUTION.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeVTypes()

void GNENet::writeVTypes ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write vTypes sorted by ID

Definition at line 2591 of file GNENet.cpp.

References myAttributeCarriers, and SUMO_TAG_VTYPE.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

◆ writeWireComment()

bool GNENet::writeWireComment ( OutputDevice & device,
const FileBucket * fileBucket ) const
private

write Wire comment

Definition at line 2789 of file GNENet.cpp.

References myAttributeCarriers.

Referenced by writeAdditionalFileElements().

Here is the caller graph for this function:

Field Documentation

◆ EMPTY_HEADER

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

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

Definition at line 505 of file GNENet.h.

Referenced by saveAdditionals(), saveDataElements(), saveDemandElements(), saveJuPedSimElements(), and saveMeanDatas().

◆ GUIGlObjectTypeNamesInitializer

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

vector for TypeNames Initializer

Definition at line 52 of file GUIGlObject.h.

◆ INVALID_ID

◆ INVALID_PRIORITY

const double GUIGlObject::INVALID_PRIORITY
staticinherited

◆ myACTemplates

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

attributeCarriers templates

Definition at line 521 of file GNENet.h.

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

◆ myAmBlocked

bool GUIGlObject::myAmBlocked = false
privateinherited

whether the object can be deleted

Definition at line 341 of file GUIGlObject.h.

Referenced by isBlocked(), and setBlocked().

◆ myApplicationWindow

◆ myAttributeCarriers

GNENetHelper::AttributeCarriers* GNENet::myAttributeCarriers = nullptr
protected

attributeCarriers module

Definition at line 518 of file GNENet.h.

Referenced by adjustPersonPlans(), changeEdgeEndpoints(), checkJunctionPosition(), cleanInvalidCrossings(), cleanInvalidDemandElements(), cleanUnusedRoutes(), clearAdditionalElements(), clearDataElements(), clearDemandElements(), clearMeanDataElements(), computeAndUpdate(), computeDataElements(), computeDemandElements(), computeNetwork(), createEdge(), createJunction(), createRoundabout(), deleteEdge(), deleteJunction(), deleteNetworkElement(), enableUpdateData(), getAttributeCarriers(), getDataSetIntervalMaximumEnd(), getDataSetIntervalMinimumBegin(), GNENet(), initGNEConnections(), initJunctionsAndEdges(), joinRoutes(), joinSelectedJunctions(), mergeJunctions(), removeSolitaryJunctions(), replaceJunctionByGeometry(), saveAdditionals(), saveDataElements(), saveDemandElements(), saveEdgeTypes(), saveNetwork(), selectRoundabout(), splitEdgesBidi(), splitJunction(), writeAdditionalByType(), writeAdditionalFileElements(), writeCalibratorComment(), writeDemandByType(), writeDetectorComment(), writeJuPedSimComment(), writeMeanDataEdgeComment(), writeMeanDataLaneComment(), writeMeanDatas(), writeRerouterComment(), writeRouteComment(), writeRouteDistributions(), writeRouteProbeComment(), writeRoutes(), writeShapesComment(), writeStoppingPlaceComment(), writeTAZComment(), writeVaporizerComment(), writeVariableSpeedSignComment(), writeVTypeComment(), writeVTypeDistributions(), writeVTypes(), writeWireComment(), and ~GNENet().

◆ myDataPathManager

GNEPathManager* GNENet::myDataPathManager = nullptr
protected

Data path manager.

Definition at line 533 of file GNENet.h.

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

◆ myDemandPathManager

GNEPathManager* GNENet::myDemandPathManager = nullptr
protected

Demand path manager.

Definition at line 530 of file GNENet.h.

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

◆ myEdgeIDCounter

unsigned int GNENet::myEdgeIDCounter = 0
protected

Definition at line 538 of file GNENet.h.

Referenced by createEdge(), and getEdgeIDCounter().

◆ myEdgesAndNumberOfLanes

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

map with the Edges and their number of lanes

Definition at line 636 of file GNENet.h.

Referenced by computeNetwork(), and getEdgesAndNumberOfLanes().

◆ myExplicitTurnarounds

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

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

Definition at line 542 of file GNENet.h.

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

◆ myFullName

std::string GUIGlObject::myFullName
privateinherited

full name of GL Object

Definition at line 335 of file GUIGlObject.h.

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

◆ myGlID

const GUIGlID GUIGlObject::myGlID
privateinherited

The numerical id of the object.

Definition at line 326 of file GUIGlObject.h.

Referenced by getGlID(), and GUIGlObject().

◆ myGLObjectType

const GUIGlObjectType GUIGlObject::myGLObjectType
privateinherited

The type of the object.

Definition at line 329 of file GUIGlObject.h.

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

◆ myGrid

SUMORTree GNENet::myGrid
protected

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

Definition at line 509 of file GNENet.h.

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

◆ myIcon

FXIcon* GUIGlObject::myIcon
privateinherited

icon associatd with this GL Object

Definition at line 338 of file GUIGlObject.h.

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

◆ myJunctionIDCounter

unsigned int GNENet::myJunctionIDCounter = 0
protected

Definition at line 537 of file GNENet.h.

Referenced by createJunction(), and getJunctionIDCounter().

◆ myMicrosimID

std::string GUIGlObject::myMicrosimID
privateinherited

ID of GL object.

Definition at line 332 of file GUIGlObject.h.

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

◆ myNeedRecompute

bool GNENet::myNeedRecompute = true
protected

whether the net needs recomputation

Definition at line 545 of file GNENet.h.

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

◆ myNetBuilder

◆ myNetworkPathManager

GNEPathManager* GNENet::myNetworkPathManager = nullptr
protected

Network path manager.

Definition at line 527 of file GNENet.h.

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

◆ myParamWindows

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

Parameter table windows which refer to this object.

Definition at line 344 of file GUIGlObject.h.

Referenced by addParameterTable(), cleanupOnDestruction(), and removeParameterTable().

◆ mySavingStatus

GNENetHelper::SavingStatus* GNENet::mySavingStatus = nullptr
protected

◆ myUpdateDataEnabled

bool GNENet::myUpdateDataEnabled = true
protected

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

Definition at line 551 of file GNENet.h.

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

◆ myUpdateGeometryEnabled

bool GNENet::myUpdateGeometryEnabled = true
protected

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

Definition at line 548 of file GNENet.h.

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

◆ myZBoundary

Boundary GNENet::myZBoundary
private

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

Definition at line 633 of file GNENet.h.

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

◆ TypeNames

StringBijection< GUIGlObjectType > GUIGlObject::TypeNames
staticinherited

associates object types with strings

Definition at line 72 of file GUIGlObject.h.

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

◆ Z_INITIALIZED

const double GNENet::Z_INITIALIZED = 1
staticprivate

marker for whether the z-boundary is initialized

Definition at line 639 of file GNENet.h.

Referenced by addZValueInBoundary(), and GNENet().


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