Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEApplicationWindowHelper::LockMenuCommands Struct Reference

struct for processing menu commands More...

#include <GNEApplicationWindowHelper.h>

Collaboration diagram for GNEApplicationWindowHelper::LockMenuCommands:
[legend]

Public Member Functions

void buildLockMenuCommands (FXMenuPane *editMenu)
 build menu commands
void editLocking (const GNEAttributeCarrier *AC, const FXbool value)
 lock or unlock object based in a tag property
void hideDataLockMenuCommands ()
 show data processing menu commands
void hideDemandLockMenuCommands ()
 show demand processing menu commands
void hideNetworkLockMenuCommands ()
 show network processing menu commands
void lockAll ()
 lock all
 LockMenuCommands (GNEApplicationWindow *applicationWindow)
 constructor
void removeHotkeys ()
 remove hotkeys
void showDataLockMenuCommands ()
 show data processing menu commands
void showDemandLockMenuCommands ()
 show demand processing menu commands
void showNetworkLockMenuCommands ()
 show network processing menu commands
void unlockAll ()
 unlock all

Data Fields

MFXMenuCheckIconmenuCheckLockSelectedElements = nullptr
 menu check for lock selected elements
Processing FXMenuCommands for Network mode

menu check to lock junction

MFXMenuCheckIconmenuCheckLockJunctions = nullptr
MFXMenuCheckIconmenuCheckLockEdges = nullptr
 menu check to lock edges
MFXMenuCheckIconmenuCheckLockLanes = nullptr
 menu check to lock lanes
MFXMenuCheckIconmenuCheckLockConnections = nullptr
 menu check to lock connections
MFXMenuCheckIconmenuCheckLockCrossings = nullptr
 menu check to lock crossings
MFXMenuCheckIconmenuCheckLockWalkingAreas = nullptr
 menu check to lock walkingAreas
MFXMenuCheckIconmenuCheckLockAdditionals = nullptr
 menu check to lock additionals
MFXMenuCheckIconmenuCheckLockTAZs = nullptr
 menu check to lock TAZs
MFXMenuCheckIconmenuCheckLockWires = nullptr
 menu check to lock Wires
MFXMenuCheckIconmenuCheckLockPolygons = nullptr
 menu check to lock polygons
MFXMenuCheckIconmenuCheckLockPOIs = nullptr
 menu check to lock POIs
MFXMenuCheckIconmenuCheckLockJpsWalkableAreas = nullptr
 menu check to lock jps walkableareas
MFXMenuCheckIconmenuCheckLockJpsObstacles = nullptr
 menu check to lock jps obstacles
Processing FXMenuCommands for Demand mode

menu check to lock routes

MFXMenuCheckIconmenuCheckLockRoutes = nullptr
MFXMenuCheckIconmenuCheckLockVehicles = nullptr
 menu check to lock vehicles
MFXMenuCheckIconmenuCheckLockPersons = nullptr
 menu check to lock persons
MFXMenuCheckIconmenuCheckLockPersonTrips = nullptr
 menu check to lock personTrips
MFXMenuCheckIconmenuCheckLockWalks = nullptr
 menu check to lock walks
MFXMenuCheckIconmenuCheckLockRides = nullptr
 menu check to lock rides
MFXMenuCheckIconmenuCheckLockContainers = nullptr
 menu check to lock containers
MFXMenuCheckIconmenuCheckLockTransports = nullptr
 menu check to lock transports
MFXMenuCheckIconmenuCheckLockTranships = nullptr
 menu check to lock tranships
MFXMenuCheckIconmenuCheckLockStops = nullptr
 menu check to lock stops
Processing FXMenuCommands for Data mode

menu check to lock edge datas

MFXMenuCheckIconmenuCheckLockEdgeDatas = nullptr
MFXMenuCheckIconmenuCheckLockEdgeRelDatas = nullptr
 menu check to lock edgeRelDatas
MFXMenuCheckIconmenuCheckLockEdgeTAZRels = nullptr
 menu check to lock edgeTAZRels

Protected Member Functions

FXHotKey parseHotKey (const FXwchar character)
 Parse hot key from string.

Private Member Functions

 LockMenuCommands (const LockMenuCommands &)=delete
 Invalidated copy constructor.
LockMenuCommandsoperator= (const LockMenuCommands &)=delete
 Invalidated assignment operator.

Private Attributes

GNEApplicationWindowmyApplicationWindow
 pointer to current GNEApplicationWindow

Detailed Description

struct for processing menu commands

Definition at line 726 of file GNEApplicationWindowHelper.h.

Constructor & Destructor Documentation

◆ LockMenuCommands() [1/2]

GNEApplicationWindowHelper::LockMenuCommands::LockMenuCommands ( GNEApplicationWindow * applicationWindow)

constructor

Definition at line 1339 of file GNEApplicationWindowHelper.cpp.

References myApplicationWindow.

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

Here is the caller graph for this function:

◆ LockMenuCommands() [2/2]

GNEApplicationWindowHelper::LockMenuCommands::LockMenuCommands ( const LockMenuCommands & )
privatedelete

Invalidated copy constructor.

References LockMenuCommands().

Member Function Documentation

◆ buildLockMenuCommands()

◆ editLocking()

void GNEApplicationWindowHelper::LockMenuCommands::editLocking ( const GNEAttributeCarrier * AC,
const FXbool value )

lock or unlock object based in a tag property

Definition at line 1767 of file GNEApplicationWindowHelper.cpp.

References GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNE_TAG_EDGEREL_SINGLE, GNE_TAG_JPS_OBSTACLE, GNE_TAG_JPS_WALKABLEAREA, GNE_TAG_POIGEO, GNE_TAG_POILANE, invalid_return< std::string >::value, GNETagProperties::isAdditionalElement(), GNETagProperties::isContainer(), GNETagProperties::isPerson(), GNETagProperties::isPlanPersonTrip(), GNETagProperties::isPlanRide(), GNETagProperties::isPlanStopContainer(), GNETagProperties::isPlanStopPerson(), GNETagProperties::isPlanTranship(), GNETagProperties::isPlanTransport(), GNETagProperties::isPlanWalk(), GNETagProperties::isRoute(), GNETagProperties::isTAZElement(), GNETagProperties::isVehicle(), GNETagProperties::isVehicleStop(), GNETagProperties::isWireElement(), menuCheckLockAdditionals, menuCheckLockConnections, menuCheckLockContainers, menuCheckLockCrossings, menuCheckLockEdgeDatas, menuCheckLockEdgeRelDatas, menuCheckLockEdges, menuCheckLockEdgeTAZRels, menuCheckLockJpsObstacles, menuCheckLockJpsWalkableAreas, menuCheckLockJunctions, menuCheckLockLanes, menuCheckLockPersons, menuCheckLockPersonTrips, menuCheckLockPOIs, menuCheckLockPolygons, menuCheckLockRides, menuCheckLockRoutes, menuCheckLockStops, menuCheckLockTAZs, menuCheckLockTranships, menuCheckLockTransports, menuCheckLockVehicles, menuCheckLockWalkingAreas, menuCheckLockWalks, menuCheckLockWires, SUMO_TAG_CONNECTION, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, SUMO_TAG_EDGEREL, SUMO_TAG_JUNCTION, SUMO_TAG_LANE, SUMO_TAG_POI, SUMO_TAG_POLY, SUMO_TAG_TAZREL, and SUMO_TAG_WALKINGAREA.

◆ hideDataLockMenuCommands()

void GNEApplicationWindowHelper::LockMenuCommands::hideDataLockMenuCommands ( )

show data processing menu commands

Definition at line 1692 of file GNEApplicationWindowHelper.cpp.

References menuCheckLockEdgeDatas, menuCheckLockEdgeRelDatas, and menuCheckLockEdgeTAZRels.

◆ hideDemandLockMenuCommands()

void GNEApplicationWindowHelper::LockMenuCommands::hideDemandLockMenuCommands ( )

◆ hideNetworkLockMenuCommands()

◆ lockAll()

◆ operator=()

LockMenuCommands & GNEApplicationWindowHelper::LockMenuCommands::operator= ( const LockMenuCommands & )
privatedelete

Invalidated assignment operator.

References LockMenuCommands().

◆ parseHotKey()

FXHotKey GNEApplicationWindowHelper::LockMenuCommands::parseHotKey ( const FXwchar character)
protected

Parse hot key from string.

Definition at line 1830 of file GNEApplicationWindowHelper.cpp.

Referenced by removeHotkeys(), showDataLockMenuCommands(), showDemandLockMenuCommands(), and showNetworkLockMenuCommands().

Here is the caller graph for this function:

◆ removeHotkeys()

◆ showDataLockMenuCommands()

void GNEApplicationWindowHelper::LockMenuCommands::showDataLockMenuCommands ( )

show data processing menu commands

Definition at line 1675 of file GNEApplicationWindowHelper.cpp.

References menuCheckLockEdgeDatas, menuCheckLockEdgeRelDatas, menuCheckLockEdgeTAZRels, and parseHotKey().

◆ showDemandLockMenuCommands()

void GNEApplicationWindowHelper::LockMenuCommands::showDemandLockMenuCommands ( )

◆ showNetworkLockMenuCommands()

◆ unlockAll()

Field Documentation

◆ menuCheckLockAdditionals

MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockAdditionals = nullptr

◆ menuCheckLockConnections

MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockConnections = nullptr

◆ menuCheckLockContainers

MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockContainers = nullptr

◆ menuCheckLockCrossings

◆ menuCheckLockEdgeDatas

◆ menuCheckLockEdgeRelDatas

MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeRelDatas = nullptr

◆ menuCheckLockEdges

◆ menuCheckLockEdgeTAZRels

MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockEdgeTAZRels = nullptr

◆ menuCheckLockJpsObstacles

MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockJpsObstacles = nullptr

◆ menuCheckLockJpsWalkableAreas

MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockJpsWalkableAreas = nullptr

◆ menuCheckLockJunctions

◆ menuCheckLockLanes

◆ menuCheckLockPersons

◆ menuCheckLockPersonTrips

MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockPersonTrips = nullptr

◆ menuCheckLockPOIs

◆ menuCheckLockPolygons

◆ menuCheckLockRides

◆ menuCheckLockRoutes

◆ menuCheckLockSelectedElements

MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockSelectedElements = nullptr

menu check for lock selected elements

Definition at line 855 of file GNEApplicationWindowHelper.h.

Referenced by buildLockMenuCommands().

◆ menuCheckLockStops

◆ menuCheckLockTAZs

◆ menuCheckLockTranships

◆ menuCheckLockTransports

MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockTransports = nullptr

◆ menuCheckLockVehicles

◆ menuCheckLockWalkingAreas

MFXMenuCheckIcon* GNEApplicationWindowHelper::LockMenuCommands::menuCheckLockWalkingAreas = nullptr

◆ menuCheckLockWalks

◆ menuCheckLockWires

◆ myApplicationWindow

GNEApplicationWindow* GNEApplicationWindowHelper::LockMenuCommands::myApplicationWindow
private

pointer to current GNEApplicationWindow

Definition at line 863 of file GNEApplicationWindowHelper.h.

Referenced by buildLockMenuCommands(), and LockMenuCommands().


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