Eclipse SUMO - Simulation of Urban MObility
GNEParametersDialog Class Reference

Dialog for edit parameters. More...

#include <GNEParametersDialog.h>

Inheritance diagram for GNEParametersDialog:
Collaboration diagram for GNEParametersDialog:

Data Structures

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

Public Member Functions

 GNEParametersDialog (GNEFrameAttributesModuls::ParametersEditor *ParametersEditor)
 Constructor. More...
 
 ~GNEParametersDialog ()
 destructor More...
 
FOX-callbacks

event after press accept button

long onCmdAccept (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 Attributes

FXButton * myAcceptButton
 accept button More...
 
FXButton * myCancelButton
 cancel button More...
 
const std::vector< std::pair< std::string, std::string > > myCopyOfParameters
 
std::vector< std::pair< std::string, std::string > > myEditedParameters
 current edited parameters More...
 
GNEFrameAttributesModuls::ParametersEditormyParametersEditor
 pointer to ParametersEditor More...
 
ParametersOptionsmyParametersOptions
 pointer to parameters options More...
 
ParametersValuesmyParametersValues
 pointer to parameters values More...
 
FXButton * myResetButton
 cancel button More...
 

Private Member Functions

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

Detailed Description

Dialog for edit parameters.

Definition at line 44 of file GNEParametersDialog.h.

Constructor & Destructor Documentation

◆ GNEParametersDialog() [1/2]

◆ ~GNEParametersDialog()

GNEParametersDialog::~GNEParametersDialog ( )

destructor

Definition at line 511 of file GNEParametersDialog.cpp.

◆ GNEParametersDialog() [2/2]

GNEParametersDialog::GNEParametersDialog ( const GNEParametersDialog )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ onCmdAccept()

◆ onCmdCancel()

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

event after press cancel button

Definition at line 567 of file GNEParametersDialog.cpp.

References myCopyOfParameters, myParametersValues, and GNEParametersDialog::ParametersValues::setParameters().

◆ onCmdReset()

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

event after press reset button

Definition at line 577 of file GNEParametersDialog.cpp.

References myCopyOfParameters, myParametersValues, and GNEParametersDialog::ParametersValues::setParameters().

◆ operator=()

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

Invalidated assignment operator.

Field Documentation

◆ myAcceptButton

FXButton* GNEParametersDialog::myAcceptButton
protected

accept button

Definition at line 259 of file GNEParametersDialog.h.

Referenced by GNEParametersDialog().

◆ myCancelButton

FXButton* GNEParametersDialog::myCancelButton
protected

cancel button

Definition at line 262 of file GNEParametersDialog.h.

Referenced by GNEParametersDialog().

◆ myCopyOfParameters

const std::vector<std::pair<std::string, std::string> > GNEParametersDialog::myCopyOfParameters
protected

Definition at line 271 of file GNEParametersDialog.h.

Referenced by onCmdCancel(), and onCmdReset().

◆ myEditedParameters

std::vector<std::pair<std::string, std::string> > GNEParametersDialog::myEditedParameters
protected

current edited parameters

Definition at line 268 of file GNEParametersDialog.h.

Referenced by onCmdAccept().

◆ myParametersEditor

GNEFrameAttributesModuls::ParametersEditor* GNEParametersDialog::myParametersEditor
protected

pointer to ParametersEditor

Definition at line 250 of file GNEParametersDialog.h.

Referenced by onCmdAccept().

◆ myParametersOptions

ParametersOptions* GNEParametersDialog::myParametersOptions
protected

pointer to parameters options

Definition at line 256 of file GNEParametersDialog.h.

Referenced by GNEParametersDialog().

◆ myParametersValues

ParametersValues* GNEParametersDialog::myParametersValues
protected

pointer to parameters values

Definition at line 253 of file GNEParametersDialog.h.

Referenced by GNEParametersDialog(), onCmdCancel(), and onCmdReset().

◆ myResetButton

FXButton* GNEParametersDialog::myResetButton
protected

cancel button

Definition at line 265 of file GNEParametersDialog.h.

Referenced by GNEParametersDialog().


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