Eclipse SUMO - Simulation of Urban MObility
GNEToolDialog Class Reference

Abstract dialog for tools. More...

#include <GNEToolDialog.h>

Inheritance diagram for GNEToolDialog:
[legend]
Collaboration diagram for GNEToolDialog:
[legend]

Public Member Functions

void addArgument (GNEToolDialogElements::Argument *argument)
 add argument More...
 
 GNEToolDialog (GNEApplicationWindow *GNEApp, const std::string &name, const int dialogWidth, const int dialogHeight)
 FOX-declaration. More...
 
void hideToolDialog ()
 hide window More...
 
void openToolDialog ()
 open window More...
 
bool shown () const
 shown More...
 
 ~GNEToolDialog ()
 destructor More...
 
FOX-callbacks

event after press run button

long onCmdRun (FXObject *, FXSelector, void *)
 
long onCmdCancel (FXObject *, FXSelector, void *)
 event after press cancel button More...
 
long onCmdReset (FXObject *, FXSelector, void *)
 event after press reset button More...
 

Protected Member Functions

FXint openAsModalDialog (FXuint placement=PLACEMENT_CURSOR)
 execute dialog as modal More...
 

Protected Attributes

FXVerticalFrame * myContentFrame = nullptr
 vertical frame for contents More...
 
GNEApplicationWindowmyGNEApp
 FOX needs this. More...
 

Private Member Functions

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

Private Attributes

std::vector< GNEToolDialogElements::Argument * > myArguments
 list of arguments More...
 

Detailed Description

Abstract dialog for tools.

Definition at line 40 of file GNEToolDialog.h.

Constructor & Destructor Documentation

◆ GNEToolDialog() [1/2]

GNEToolDialog::GNEToolDialog ( GNEApplicationWindow GNEApp,
const std::string &  name,
const int  dialogWidth,
const int  dialogHeight 
)

◆ ~GNEToolDialog()

GNEToolDialog::~GNEToolDialog ( )

destructor

Definition at line 63 of file GNEToolDialog.cpp.

◆ GNEToolDialog() [2/2]

GNEToolDialog::GNEToolDialog ( const GNEToolDialog )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ addArgument()

void GNEToolDialog::addArgument ( GNEToolDialogElements::Argument argument)

add argument

Definition at line 88 of file GNEToolDialog.cpp.

References myArguments.

Referenced by GNEToolDialogElements::Argument::Argument().

Here is the caller graph for this function:

◆ hideToolDialog()

void GNEToolDialog::hideToolDialog ( )

hide window

Definition at line 77 of file GNEToolDialog.cpp.

◆ onCmdCancel()

long GNEToolDialog::onCmdCancel ( FXObject *  ,
FXSelector  ,
void *   
)

event after press cancel button

Definition at line 107 of file GNEToolDialog.cpp.

References myGNEApp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReset()

long GNEToolDialog::onCmdReset ( FXObject *  ,
FXSelector  ,
void *   
)

event after press reset button

Definition at line 117 of file GNEToolDialog.cpp.

References myArguments.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdRun()

long GNEToolDialog::onCmdRun ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 94 of file GNEToolDialog.cpp.

References myGNEApp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ openAsModalDialog()

FXint GNEToolDialog::openAsModalDialog ( FXuint  placement = PLACEMENT_CURSOR)
protected

execute dialog as modal

Definition at line 127 of file GNEToolDialog.cpp.

Referenced by GNEToolNetDiff::GNEToolNetDiff().

Here is the caller graph for this function:

◆ openToolDialog()

void GNEToolDialog::openToolDialog ( )

open window

Definition at line 67 of file GNEToolDialog.cpp.

References myGNEApp.

◆ operator=()

GNEToolDialog & GNEToolDialog::operator= ( const GNEToolDialog )
privatedelete

Invalidated assignment operator.

◆ shown()

bool GNEToolDialog::shown ( ) const

shown

Definition at line 82 of file GNEToolDialog.cpp.

Field Documentation

◆ myArguments

std::vector<GNEToolDialogElements::Argument*> GNEToolDialog::myArguments
private

list of arguments

Definition at line 91 of file GNEToolDialog.h.

Referenced by addArgument(), and onCmdReset().

◆ myContentFrame

FXVerticalFrame* GNEToolDialog::myContentFrame = nullptr
protected

vertical frame for contents

Definition at line 84 of file GNEToolDialog.h.

Referenced by GNEToolNetDiff::GNEToolNetDiff().

◆ myGNEApp

GNEApplicationWindow* GNEToolDialog::myGNEApp
protected

FOX needs this.

pointer to GNEApplicationWindow

Definition at line 81 of file GNEToolDialog.h.

Referenced by onCmdCancel(), onCmdRun(), and openToolDialog().


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