Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEViewNetHelper::LockManager Class Reference

lock manager More...

#include <GNEViewNetHelper.h>

Collaboration diagram for GNEViewNetHelper::LockManager:
[legend]

Data Structures

class  OperationLocked
 operation locked More...
 

Public Member Functions

bool isObjectLocked (GUIGlObjectType objectType, const bool selected) const
 check if given GLObject is locked for inspect, select, delete and move
 
 LockManager (GNEViewNet *viewNet)
 constructor
 
void updateFlags ()
 update flags
 
void updateLockMenuBar ()
 update lock inspect menuBar
 
 ~LockManager ()
 destructor
 

Private Attributes

std::map< GUIGlObjectType, OperationLockedmyLockedElements
 map with locked elements
 
GNEViewNetmyViewNet
 pointer to viewNet
 

Detailed Description

lock manager

Definition at line 164 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ LockManager()

◆ ~LockManager()

GNEViewNetHelper::LockManager::~LockManager ( )

destructor

Definition at line 89 of file GNEViewNetHelper.cpp.

Member Function Documentation

◆ isObjectLocked()

◆ updateFlags()

void GNEViewNetHelper::LockManager::updateFlags ( )

update flags

Definition at line 121 of file GNEViewNetHelper.cpp.

References MFXMenuCheckIcon::getCheck(), GLO_ADDITIONALELEMENT, GLO_CONNECTION, GLO_CONTAINER, GLO_CROSSING, GLO_EDGE, GLO_EDGEDATA, GLO_EDGERELDATA, GLO_JUNCTION, GLO_LANE, GLO_PERSON, GLO_PERSONTRIP, GLO_POI, GLO_POLYGON, GLO_RIDE, GLO_ROUTE, GLO_STOP, GLO_TAZ, GLO_TAZRELDATA, GLO_TRANSHIP, GLO_TRANSPORT, GLO_VEHICLE, GLO_WALK, GLO_WALKINGAREA, GLO_WIRE, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockAdditionals, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockConnections, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockContainers, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockCrossings, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeDatas, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeRelDatas, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdges, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeTAZRels, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockJunction, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockLanes, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPersons, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPersonTrip, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPOIs, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPolygons, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockRides, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockRoutes, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockStops, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTAZs, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTranships, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTransports, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockVehicles, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWalk, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWalkingAreas, and GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWires.

Referenced by GNEApplicationWindow::onCmdLockAllElements(), GNEApplicationWindow::onCmdLockElements(), and GNEApplicationWindow::onCmdUnlockAllElements().

Here is the caller graph for this function:

◆ updateLockMenuBar()

void GNEViewNetHelper::LockManager::updateLockMenuBar ( )

update lock inspect menuBar

Definition at line 155 of file GNEViewNetHelper.cpp.

References GLO_ADDITIONALELEMENT, GLO_CONNECTION, GLO_CONTAINER, GLO_CROSSING, GLO_EDGE, GLO_EDGEDATA, GLO_EDGERELDATA, GLO_JUNCTION, GLO_LANE, GLO_PERSON, GLO_PERSONTRIP, GLO_POI, GLO_POLYGON, GLO_RIDE, GLO_ROUTE, GLO_STOP, GLO_TAZ, GLO_TAZRELDATA, GLO_TRANSHIP, GLO_TRANSPORT, GLO_VEHICLE, GLO_WALK, GLO_WALKINGAREA, GLO_WIRE, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockAdditionals, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockConnections, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockContainers, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockCrossings, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeDatas, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeRelDatas, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdges, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeTAZRels, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockJunction, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockLanes, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPersons, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPersonTrip, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPOIs, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPolygons, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockRides, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockRoutes, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockStops, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTAZs, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTranships, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTransports, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockVehicles, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWalk, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWalkingAreas, GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWires, and MFXMenuCheckIcon::setCheck().

Referenced by GNEViewNet::updateNetworkModeSpecificControls().

Here is the caller graph for this function:

Field Documentation

◆ myLockedElements

std::map<GUIGlObjectType, OperationLocked> GNEViewNetHelper::LockManager::myLockedElements
private

map with locked elements

Definition at line 211 of file GNEViewNetHelper.h.

Referenced by LockManager().

◆ myViewNet

GNEViewNet* GNEViewNetHelper::LockManager::myViewNet
private

pointer to viewNet

Definition at line 208 of file GNEViewNetHelper.h.


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