Eclipse SUMO - Simulation of Urban MObility
GNEViewNetHelper::CommonViewOptions Struct Reference

struct used to group all variables related to view options in all supermodes More...

#include <GNEViewNetHelper.h>

Collaboration diagram for GNEViewNetHelper::CommonViewOptions:

Public Member Functions

void buildCommonViewOptionsMenuChecks ()
 build menu checks More...
 
 CommonViewOptions (GNEViewNet *viewNet)
 default constructor More...
 
void getVisibleCommonMenuCommands (std::vector< FXMenuCheck * > &commands) const
 get visible common menu commands More...
 
void hideCommonViewOptionsMenuChecks ()
 hide all options menu checks More...
 

Data Fields

FXMenuCheck * menuCheckShowGrid
 menu check to show grid button More...
 

Private Member Functions

 CommonViewOptions (const CommonViewOptions &)=delete
 Invalidated copy constructor. More...
 
CommonViewOptions & operator= (const CommonViewOptions &)=delete
 Invalidated assignment operator. More...
 

Private Attributes

GNEViewNet * myViewNet
 pointer to viewNet More...
 

Detailed Description

struct used to group all variables related to view options in all supermodes

Definition at line 331 of file GNEViewNetHelper.h.

Constructor & Destructor Documentation

◆ CommonViewOptions() [1/2]

GNEViewNetHelper::CommonViewOptions::CommonViewOptions ( GNEViewNet *  viewNet)

default constructor

Definition at line 1432 of file GNEViewNetHelper.cpp.

◆ CommonViewOptions() [2/2]

GNEViewNetHelper::CommonViewOptions::CommonViewOptions ( const CommonViewOptions &  )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ buildCommonViewOptionsMenuChecks()

void GNEViewNetHelper::CommonViewOptions::buildCommonViewOptionsMenuChecks ( )

build menu checks

Definition at line 1439 of file GNEViewNetHelper.cpp.

References MID_GNE_COMMONVIEWOPTIONS_SHOWGRID.

Referenced by GNEViewNet::buildEditModeControls().

◆ getVisibleCommonMenuCommands()

void GNEViewNetHelper::CommonViewOptions::getVisibleCommonMenuCommands ( std::vector< FXMenuCheck * > &  commands) const

get visible common menu commands

Definition at line 1458 of file GNEViewNetHelper.cpp.

Referenced by GNEApplicationWindow::onCmdToogleEditOptions().

◆ hideCommonViewOptionsMenuChecks()

void GNEViewNetHelper::CommonViewOptions::hideCommonViewOptionsMenuChecks ( )

hide all options menu checks

Definition at line 1452 of file GNEViewNetHelper.cpp.

Referenced by GNEViewNet::updateNetworkModeSpecificControls().

◆ operator=()

CommonViewOptions& GNEViewNetHelper::CommonViewOptions::operator= ( const CommonViewOptions &  )
privatedelete

Invalidated assignment operator.

Field Documentation

◆ menuCheckShowGrid

◆ myViewNet

GNEViewNet* GNEViewNetHelper::CommonViewOptions::myViewNet
private

pointer to viewNet

Definition at line 350 of file GNEViewNetHelper.h.


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