Eclipse SUMO - Simulation of Urban MObility
GNEApplicationWindowHelper::SupermodeCommands Struct Reference

struct for supermode commands More...

#include <GNEApplicationWindowHelper.h>

Collaboration diagram for GNEApplicationWindowHelper::SupermodeCommands:
[legend]

Public Member Functions

void buildSupermodeCommands (FXMenuPane *editMenu)
 build menu commands More...
 
void hideSupermodeCommands ()
 hide all menu commands More...
 
void showSupermodeCommands ()
 show all menu commands More...
 
 SupermodeCommands (GNEApplicationWindow *GNEApp)
 constructor More...
 

Data Fields

FXMenuCommand * dataMode
 FXMenuCommand for data supermode. More...
 
FXMenuCommand * demandMode
 FXMenuCommand for demand supermode. More...
 
FXMenuCommand * networkMode
 FXMenuCommand for network supermode. More...
 

Private Member Functions

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

Private Attributes

GNEApplicationWindowmyGNEApp
 pointer to current GNEApplicationWindows More...
 

Detailed Description

struct for supermode commands

Definition at line 988 of file GNEApplicationWindowHelper.h.

Constructor & Destructor Documentation

◆ SupermodeCommands() [1/2]

GNEApplicationWindowHelper::SupermodeCommands::SupermodeCommands ( GNEApplicationWindow GNEApp)

constructor

Definition at line 1820 of file GNEApplicationWindowHelper.cpp.

◆ SupermodeCommands() [2/2]

GNEApplicationWindowHelper::SupermodeCommands::SupermodeCommands ( const SupermodeCommands )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ buildSupermodeCommands()

void GNEApplicationWindowHelper::SupermodeCommands::buildSupermodeCommands ( FXMenuPane *  editMenu)

build menu commands

Definition at line 1845 of file GNEApplicationWindowHelper.cpp.

References GUIDesigns::buildFXMenuCommandShortcut(), GUIIconSubSys::getIcon(), MID_HOTKEY_F2_SUPERMODE_NETWORK, MID_HOTKEY_F3_SUPERMODE_DEMAND, MID_HOTKEY_F4_SUPERMODE_DATA, SUPERMODEDATA, SUPERMODEDEMAND, SUPERMODENETWORK, and TL.

Referenced by GNEApplicationWindow::fillMenuBar().

Here is the caller graph for this function:

◆ hideSupermodeCommands()

void GNEApplicationWindowHelper::SupermodeCommands::hideSupermodeCommands ( )

hide all menu commands

Definition at line 1837 of file GNEApplicationWindowHelper.cpp.

Referenced by GNEApplicationWindow::fillMenuBar(), GNEApplicationWindow::onCmdClose(), and GNEApplicationWindow::onCmdReload().

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

◆ showSupermodeCommands()

void GNEApplicationWindowHelper::SupermodeCommands::showSupermodeCommands ( )

show all menu commands

Definition at line 1829 of file GNEApplicationWindowHelper.cpp.

Referenced by GNEApplicationWindow::loadConfigOrNet().

Here is the caller graph for this function:

Field Documentation

◆ dataMode

FXMenuCommand* GNEApplicationWindowHelper::SupermodeCommands::dataMode

FXMenuCommand for data supermode.

Definition at line 1009 of file GNEApplicationWindowHelper.h.

◆ demandMode

FXMenuCommand* GNEApplicationWindowHelper::SupermodeCommands::demandMode

FXMenuCommand for demand supermode.

Definition at line 1006 of file GNEApplicationWindowHelper.h.

◆ myGNEApp

GNEApplicationWindow* GNEApplicationWindowHelper::SupermodeCommands::myGNEApp
private

pointer to current GNEApplicationWindows

Definition at line 1013 of file GNEApplicationWindowHelper.h.

◆ networkMode

FXMenuCommand* GNEApplicationWindowHelper::SupermodeCommands::networkMode

FXMenuCommand for network supermode.

Definition at line 1003 of file GNEApplicationWindowHelper.h.


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