Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEMultipleParametersDialog Class Reference

#include <GNEMultipleParametersDialog.h>

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

Data Structures

class  ParametersOperations
 
class  ParametersOptions
 
class  ParametersValues
 FOX-declaration. More...
 

Public Member Functions

 GNEMultipleParametersDialog (GNEAttributesEditorType *attributesEditor)
 Constructor for parameter editor inspector.
 
FXuint openModalDialog (InternalTest *internalTests, FXuint placement=PLACEMENT_CURSOR)
 Run modal invocation of the dialog.
 
void runInternalTest (const InternalTestStep::DialogTest *modalArguments)
 run internal test
 
 ~GNEMultipleParametersDialog ()
 destructor
 
FOX-callbacks
long onCmdAccept (FXObject *, FXSelector, void *)
 event after press accept button
 
long onCmdCancel (FXObject *, FXSelector, void *)
 event after press cancel button
 
long onCmdReset (FXObject *, FXSelector, void *)
 event after press reset button
 
FOX-callbacks
long onCmdInternalTest (FXObject *, FXSelector, void *ptr)
 event used in internal tests
 

Protected Attributes

GNEAttributesEditorTypemyAttributesEditor
 FOX need this.
 
FXButton * myCancelButton
 cancel button
 
FXButton * myKeepOldButton
 accept button
 
ParametersOperationsmyParametersOperations
 pointer to parameters operations
 
ParametersOptionsmyParametersOptions
 pointer to parameters options
 
ParametersValuesmyParametersValues
 pointer to parameters values
 
FXButton * myResetButton
 cancel button
 
bool myTesting = false
 flag to indicate if this dialog is being tested using internal test
 

Private Member Functions

void constructor ()
 auxiliar constructor
 
FXuint execute (FXuint placement=PLACEMENT_CURSOR)
 make execute private
 
 GNEMultipleParametersDialog (const GNEMultipleParametersDialog &)=delete
 Invalidated copy constructor.
 
GNEMultipleParametersDialogoperator= (const GNEMultipleParametersDialog &)=delete
 Invalidated assignment operator.
 

Detailed Description

Definition at line 39 of file GNEMultipleParametersDialog.h.

Constructor & Destructor Documentation

◆ GNEMultipleParametersDialog() [1/2]

GNEMultipleParametersDialog::GNEMultipleParametersDialog ( GNEAttributesEditorType attributesEditor)

Constructor for parameter editor inspector.

Definition at line 491 of file GNEMultipleParametersDialog.cpp.

References constructor(), and onCmdReset().

◆ ~GNEMultipleParametersDialog()

GNEMultipleParametersDialog::~GNEMultipleParametersDialog ( )

destructor

Definition at line 501 of file GNEMultipleParametersDialog.cpp.

◆ GNEMultipleParametersDialog() [2/2]

GNEMultipleParametersDialog::GNEMultipleParametersDialog ( const GNEMultipleParametersDialog )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ constructor()

◆ execute()

FXuint MFXDialogBox::execute ( FXuint  placement = PLACEMENT_CURSOR)
privateinherited

make execute private

Definition at line 128 of file MFXDialogBox.cpp.

◆ onCmdAccept()

long GNEMultipleParametersDialog::onCmdAccept ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdCancel()

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

event after press cancel button

Definition at line 577 of file GNEMultipleParametersDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdInternalTest()

long MFXDialogBox::onCmdInternalTest ( FXObject *  ,
FXSelector  ,
void *  ptr 
)
inherited

event used in internal tests

Definition at line 115 of file MFXDialogBox.cpp.

References MFXDialogBox::runInternalTest().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReset()

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

event after press reset button

Definition at line 585 of file GNEMultipleParametersDialog.cpp.

References GNEAttributesEditorType::getEditedAttributeCarriers(), myAttributesEditor, myParametersValues, and GNEMultipleParametersDialog::ParametersValues::setParameters().

Referenced by FXDEFMAP(), and GNEMultipleParametersDialog().

Here is the caller graph for this function:

◆ openModalDialog()

FXuint MFXDialogBox::openModalDialog ( InternalTest internalTests,
FXuint  placement = PLACEMENT_CURSOR 
)
inherited

Run modal invocation of the dialog.

Definition at line 64 of file MFXDialogBox.cpp.

References InternalTest::getCurrentStep(), InternalTestStep::getModalDialogTestSteps(), and MFXDialogBox::myTesting.

Referenced by GNETLSEditorFrame::TLSAttributes::onCmdParametersDialog(), GNEAllowVClassesDialog::openDialog(), GNEFixElementsDialog::openFixDialog(), GNEOptionsDialog::Options(), and GNEOptionsDialog::Run().

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

◆ runInternalTest()

void GNEMultipleParametersDialog::runInternalTest ( const InternalTestStep::DialogTest modalArguments)
virtual

run internal test

Reimplemented from MFXDialogBox.

Definition at line 505 of file GNEMultipleParametersDialog.cpp.

Field Documentation

◆ myAttributesEditor

GNEAttributesEditorType* GNEMultipleParametersDialog::myAttributesEditor
protected

FOX need this.

pointer to attributes editor

Definition at line 280 of file GNEMultipleParametersDialog.h.

Referenced by onCmdAccept(), and onCmdReset().

◆ myCancelButton

FXButton* GNEMultipleParametersDialog::myCancelButton
protected

cancel button

Definition at line 295 of file GNEMultipleParametersDialog.h.

Referenced by constructor().

◆ myKeepOldButton

FXButton* GNEMultipleParametersDialog::myKeepOldButton
protected

accept button

Definition at line 292 of file GNEMultipleParametersDialog.h.

Referenced by constructor().

◆ myParametersOperations

ParametersOperations* GNEMultipleParametersDialog::myParametersOperations
protected

pointer to parameters operations

Definition at line 286 of file GNEMultipleParametersDialog.h.

Referenced by constructor().

◆ myParametersOptions

ParametersOptions* GNEMultipleParametersDialog::myParametersOptions
protected

pointer to parameters options

Definition at line 289 of file GNEMultipleParametersDialog.h.

Referenced by constructor(), and onCmdAccept().

◆ myParametersValues

ParametersValues* GNEMultipleParametersDialog::myParametersValues
protected

pointer to parameters values

Definition at line 283 of file GNEMultipleParametersDialog.h.

Referenced by constructor(), onCmdAccept(), and onCmdReset().

◆ myResetButton

FXButton* GNEMultipleParametersDialog::myResetButton
protected

cancel button

Definition at line 298 of file GNEMultipleParametersDialog.h.

Referenced by constructor().

◆ myTesting

bool MFXDialogBox::myTesting = false
protectedinherited

flag to indicate if this dialog is being tested using internal test

Definition at line 66 of file MFXDialogBox.h.

Referenced by MFXDialogBox::onCmdAccept(), MFXDialogBox::onCmdCancel(), and MFXDialogBox::openModalDialog().


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