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

struct for locate menu commands More...

#include <GNEApplicationWindowHelper.h>

Collaboration diagram for GNEApplicationWindowHelper::ToolsMenuCommands:
[legend]

Public Member Functions

void buildTools (FXMenuPane *toolsMenu, const std::map< std::string, FXMenuPane * > &menuPaneToolMaps)
 build tools (and menu commands)
long postProcessing (FXObject *menuCommand) const
 run postprocessing
long runToolDialog (FXObject *menuCommand) const
 run tool dialog
long showTool (FXObject *menuCommand)
 show tool
 ToolsMenuCommands (GNEApplicationWindow *applicationWindow)
 constructor
 ~ToolsMenuCommands ()
 destructor

Private Member Functions

ToolsMenuCommandsoperator= (const ToolsMenuCommands &)=delete
 Invalidated assignment operator.
 ToolsMenuCommands (const ToolsMenuCommands &)=delete
 Invalidated copy constructor.

Private Attributes

GNEApplicationWindowmyApplicationWindow
 pointer to current GNEApplicationWindow
GNEPythonToolDialogmyPythonToolDialog = nullptr
 python tool dialog
std::vector< GNEPythonTool * > myPythonTools
 map with python tools

Detailed Description

struct for locate menu commands

Definition at line 991 of file GNEApplicationWindowHelper.h.

Constructor & Destructor Documentation

◆ ToolsMenuCommands() [1/2]

GNEApplicationWindowHelper::ToolsMenuCommands::ToolsMenuCommands ( GNEApplicationWindow * applicationWindow)

constructor

Definition at line 2054 of file GNEApplicationWindowHelper.cpp.

References myApplicationWindow.

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

Here is the caller graph for this function:

◆ ~ToolsMenuCommands()

GNEApplicationWindowHelper::ToolsMenuCommands::~ToolsMenuCommands ( )

destructor

Definition at line 2059 of file GNEApplicationWindowHelper.cpp.

References myPythonToolDialog, and myPythonTools.

◆ ToolsMenuCommands() [2/2]

GNEApplicationWindowHelper::ToolsMenuCommands::ToolsMenuCommands ( const ToolsMenuCommands & )
privatedelete

Invalidated copy constructor.

References ToolsMenuCommands().

Member Function Documentation

◆ buildTools()

void GNEApplicationWindowHelper::ToolsMenuCommands::buildTools ( FXMenuPane * toolsMenu,
const std::map< std::string, FXMenuPane * > & menuPaneToolMaps )

build tools (and menu commands)

Definition at line 2072 of file GNEApplicationWindowHelper.cpp.

References myApplicationWindow, and myPythonTools.

◆ operator=()

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

Invalidated assignment operator.

References ToolsMenuCommands().

◆ postProcessing()

long GNEApplicationWindowHelper::ToolsMenuCommands::postProcessing ( FXObject * menuCommand) const

run postprocessing

Definition at line 2121 of file GNEApplicationWindowHelper.cpp.

References myPythonTools.

◆ runToolDialog()

long GNEApplicationWindowHelper::ToolsMenuCommands::runToolDialog ( FXObject * menuCommand) const

run tool dialog

Definition at line 2108 of file GNEApplicationWindowHelper.cpp.

References myApplicationWindow, and myPythonTools.

◆ showTool()

long GNEApplicationWindowHelper::ToolsMenuCommands::showTool ( FXObject * menuCommand)

show tool

Definition at line 2092 of file GNEApplicationWindowHelper.cpp.

References myApplicationWindow, myPythonToolDialog, and myPythonTools.

Field Documentation

◆ myApplicationWindow

GNEApplicationWindow* GNEApplicationWindowHelper::ToolsMenuCommands::myApplicationWindow
private

pointer to current GNEApplicationWindow

Definition at line 1019 of file GNEApplicationWindowHelper.h.

Referenced by buildTools(), runToolDialog(), showTool(), and ToolsMenuCommands().

◆ myPythonToolDialog

GNEPythonToolDialog* GNEApplicationWindowHelper::ToolsMenuCommands::myPythonToolDialog = nullptr
private

python tool dialog

Definition at line 1016 of file GNEApplicationWindowHelper.h.

Referenced by showTool(), and ~ToolsMenuCommands().

◆ myPythonTools

std::vector<GNEPythonTool*> GNEApplicationWindowHelper::ToolsMenuCommands::myPythonTools
private

map with python tools

Definition at line 1013 of file GNEApplicationWindowHelper.h.

Referenced by buildTools(), postProcessing(), runToolDialog(), showTool(), and ~ToolsMenuCommands().


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