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

#include <GNEVTypeDistributionsDialog.h>

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

Data Structures

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

Public Member Functions

void closeDialog ()
 close dialog
 
 GNEVTypeDistributionsDialog (GNETypeFrame *typeFrameParent)
 Constructor.
 
void openDialog ()
 open dialog
 
FXuint openModalDialog (InternalTest *internalTests, FXuint placement=PLACEMENT_CURSOR)
 Run modal invocation of the dialog.
 
void runInternalTest (const InternalTestStep::DialogTest *modalArguments)
 run internal test
 
 ~GNEVTypeDistributionsDialog ()
 destructor
 
FOX-callbacks
long onCmdAccept (FXObject *, FXSelector, void *)
 event after press accept button
 
long onCmdCancel (FXObject *, FXSelector, void *)
 event after press cancel button
 
FOX-callbacks
long onCmdInternalTest (FXObject *, FXSelector, void *ptr)
 event used in internal tests
 

Protected Attributes

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

Private Member Functions

FXuint execute (FXuint placement=PLACEMENT_CURSOR)
 make execute private
 
 GNEVTypeDistributionsDialog (const GNEVTypeDistributionsDialog &)=delete
 Invalidated copy constructor.
 
GNEVTypeDistributionsDialogoperator= (const GNEVTypeDistributionsDialog &)=delete
 Invalidated assignment operator.
 

Detailed Description

Definition at line 41 of file GNEVTypeDistributionsDialog.h.

Constructor & Destructor Documentation

◆ GNEVTypeDistributionsDialog() [1/2]

◆ ~GNEVTypeDistributionsDialog()

GNEVTypeDistributionsDialog::~GNEVTypeDistributionsDialog ( )

destructor

Definition at line 496 of file GNEVTypeDistributionsDialog.cpp.

◆ GNEVTypeDistributionsDialog() [2/2]

GNEVTypeDistributionsDialog::GNEVTypeDistributionsDialog ( const GNEVTypeDistributionsDialog )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ closeDialog()

void GNEVTypeDistributionsDialog::closeDialog ( )

close dialog

Definition at line 509 of file GNEVTypeDistributionsDialog.cpp.

Referenced by onCmdAccept(), and onCmdCancel().

Here is the caller graph for this function:

◆ execute()

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

make execute private

Definition at line 128 of file MFXDialogBox.cpp.

◆ onCmdAccept()

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

event after press accept button

Definition at line 524 of file GNEVTypeDistributionsDialog.cpp.

References closeDialog().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCancel()

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

event after press cancel button

Definition at line 532 of file GNEVTypeDistributionsDialog.cpp.

References closeDialog().

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:

◆ openDialog()

void GNEVTypeDistributionsDialog::openDialog ( )

open dialog

Definition at line 500 of file GNEVTypeDistributionsDialog.cpp.

◆ 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=()

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

Invalidated assignment operator.

◆ runInternalTest()

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

run internal test

Reimplemented from MFXDialogBox.

Definition at line 518 of file GNEVTypeDistributionsDialog.cpp.

Field Documentation

◆ myCancelButton

FXButton* GNEVTypeDistributionsDialog::myCancelButton
protected

cancel button

Definition at line 271 of file GNEVTypeDistributionsDialog.h.

Referenced by GNEVTypeDistributionsDialog().

◆ myKeepOldButton

FXButton* GNEVTypeDistributionsDialog::myKeepOldButton
protected

accept button

Definition at line 268 of file GNEVTypeDistributionsDialog.h.

Referenced by GNEVTypeDistributionsDialog().

◆ myParametersOperations

ParametersOperations* GNEVTypeDistributionsDialog::myParametersOperations
protected

pointer to parameters operations

Definition at line 265 of file GNEVTypeDistributionsDialog.h.

Referenced by GNEVTypeDistributionsDialog().

◆ myParametersValues

ParametersValues* GNEVTypeDistributionsDialog::myParametersValues
protected

pointer to parameters values

Definition at line 262 of file GNEVTypeDistributionsDialog.h.

Referenced by GNEVTypeDistributionsDialog().

◆ 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().

◆ myTypeFrameParent

GNETypeFrame* GNEVTypeDistributionsDialog::myTypeFrameParent
protected

FOX need this.

pointer to type frame parent

Definition at line 259 of file GNEVTypeDistributionsDialog.h.


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