![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEFixNetworkElements.h>
Data Structures | |
| class | FixCrossingOptions |
| groupbox for all radio buttons related with fix crossing options More... | |
| class | FixEdgeOptions |
| groupbox for all radio buttons related with fix edges options More... | |
| class | FixOptions |
| FOX needs this. More... | |
Public Member Functions | |
| GNEFixNetworkElements (GNEViewNet *viewNet) | |
| FOX-declaration. | |
| FXuint | openDialog (const std::vector< GNENetworkElement * > &invalidNetworkElements) |
| open fix network elements dialog | |
| void | runInternalTest (const InternalTestStep::DialogTest *modalArguments) |
| run internal test | |
| ~GNEFixNetworkElements () | |
| destructor | |
FOX-callbacks | |
| long | onCmdSelectOption (FXObject *obj, FXSelector, void *) |
| event when user select a option | |
| long | onCmdAccept (FXObject *, FXSelector, void *) |
| event after press accept button | |
| long | onCmdCancel (FXObject *, FXSelector, void *) |
| event after press cancel button | |
Protected Member Functions | |
| long | closeFixDialog (const bool success) |
| stop fix elements dialog accepting changes | |
| long | openFixDialog () |
| open dialog | |
| FXuint | openModalDialog (InternalTest *internalTests, FXuint placement=PLACEMENT_CURSOR) |
| Run modal invocation of the dialog. | |
FOX-callbacks | |
| long | onCmdInternalTest (FXObject *, FXSelector, void *ptr) |
| event used in internal tests | |
Protected Attributes | |
| Buttons * | myButtons = nullptr |
| buttons | |
| FixCrossingOptions * | myFixCrossingOptions = nullptr |
| fix crossing options | |
| FixEdgeOptions * | myFixEdgeOptions = nullptr |
| fix edge options | |
| FXVerticalFrame * | myLeftFrame = nullptr |
| vertical left frame | |
| FXVerticalFrame * | myMainFrame = nullptr |
| main | |
| FXVerticalFrame * | myRightFrame = nullptr |
| vertical right frame | |
| bool | myTesting = false |
| flag to indicate if this dialog is being tested using internal test | |
| GNEViewNet * | myViewNet = nullptr |
| view net | |
Private Member Functions | |
| FXuint | execute (FXuint placement=PLACEMENT_CURSOR) |
| make execute private | |
| GNEFixNetworkElements (const GNEFixNetworkElements &)=delete | |
| Invalidated copy constructor. | |
| GNEFixNetworkElements & | operator= (const GNEFixNetworkElements &)=delete |
| Invalidated assignment operator. | |
Definition at line 35 of file GNEFixNetworkElements.h.
| GNEFixNetworkElements::GNEFixNetworkElements | ( | GNEViewNet * | viewNet | ) |
FOX-declaration.
Constructor
Definition at line 50 of file GNEFixNetworkElements.cpp.
References GUIDesignAuxiliarFrame.
| GNEFixNetworkElements::~GNEFixNetworkElements | ( | ) |
destructor
Definition at line 65 of file GNEFixNetworkElements.cpp.
|
privatedelete |
Invalidated copy constructor.
|
protectedinherited |
stop fix elements dialog accepting changes
Definition at line 67 of file GNEFixElementsDialog.cpp.
Referenced by GNEFixAdditionalElements::onCmdAccept(), GNEFixDemandElements::onCmdAccept(), onCmdAccept(), GNEFixAdditionalElements::onCmdCancel(), GNEFixDemandElements::onCmdCancel(), and onCmdCancel().
|
privateinherited |
make execute private
Definition at line 128 of file MFXDialogBox.cpp.
|
virtual |
event after press accept button
Implements GNEFixElementsDialog.
Definition at line 115 of file GNEFixNetworkElements.cpp.
References GNEFixElementsDialog::closeFixDialog(), GNEFixNetworkElements::FixEdgeOptions::fixElements(), GNEFixNetworkElements::FixCrossingOptions::fixElements(), myFixCrossingOptions, and myFixEdgeOptions.
Referenced by FXDEFMAP(), and runInternalTest().
|
virtual |
event after press cancel button
Implements GNEFixElementsDialog.
Definition at line 126 of file GNEFixNetworkElements.cpp.
References GNEFixElementsDialog::closeFixDialog().
Referenced by FXDEFMAP().
|
inherited |
event used in internal tests
Definition at line 115 of file MFXDialogBox.cpp.
References MFXDialogBox::runInternalTest().
Referenced by FXDEFMAP().
|
virtual |
event when user select a option
Implements GNEFixElementsDialog.
Definition at line 106 of file GNEFixNetworkElements.cpp.
References myFixCrossingOptions, myFixEdgeOptions, GNEFixNetworkElements::FixEdgeOptions::selectOption(), and GNEFixNetworkElements::FixCrossingOptions::selectOption().
Referenced by FXDEFMAP().
| FXuint GNEFixNetworkElements::openDialog | ( | const std::vector< GNENetworkElement * > & | invalidNetworkElements | ) |
open fix network elements dialog
Definition at line 69 of file GNEFixNetworkElements.cpp.
References GNEFixElementsDialog::Buttons::myAcceptButton, GNEFixElementsDialog::myButtons, myFixCrossingOptions, myFixEdgeOptions, GNEFixElementsDialog::openFixDialog(), GNEFixNetworkElements::FixOptions::setInvalidElements(), SUMO_TAG_CROSSING, and SUMO_TAG_EDGE.
Referenced by GNEApplicationWindow::onCmdSaveNetwork().
|
protectedinherited |
open dialog
Definition at line 60 of file GNEFixElementsDialog.cpp.
References GNEViewParent::getGNEAppWindows(), GNEApplicationWindow::getInternalTest(), GNEViewNet::getViewParent(), GNEFixElementsDialog::myViewNet, and MFXDialogBox::openModalDialog().
Referenced by GNEFixAdditionalElements::openDialog(), GNEFixDemandElements::openDialog(), and openDialog().
|
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().
|
privatedelete |
Invalidated assignment operator.
|
virtual |
run internal test
Implements GNEFixElementsDialog.
Definition at line 91 of file GNEFixNetworkElements.cpp.
References InternalTestStep::DialogTest::fixSolution, myFixCrossingOptions, onCmdAccept(), GNEFixNetworkElements::FixCrossingOptions::removeInvalidCrossings, GNEFixNetworkElements::FixCrossingOptions::saveInvalidCrossings, and GNEFixNetworkElements::FixCrossingOptions::selectInvalidCrossings.
|
protectedinherited |
buttons
Definition at line 103 of file GNEFixElementsDialog.h.
Referenced by GNEFixAdditionalElements::openDialog(), GNEFixDemandElements::openDialog(), and openDialog().
|
protected |
fix crossing options
Definition at line 198 of file GNEFixNetworkElements.h.
Referenced by onCmdAccept(), onCmdSelectOption(), openDialog(), and runInternalTest().
|
protected |
fix edge options
Definition at line 195 of file GNEFixNetworkElements.h.
Referenced by onCmdAccept(), onCmdSelectOption(), and openDialog().
|
protected |
vertical left frame
Definition at line 189 of file GNEFixNetworkElements.h.
|
protectedinherited |
main
Definition at line 100 of file GNEFixElementsDialog.h.
|
protected |
vertical right frame
Definition at line 192 of file GNEFixNetworkElements.h.
|
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().
|
protectedinherited |
view net
Definition at line 97 of file GNEFixElementsDialog.h.
Referenced by GNEFixDemandElements::FixRouteOptions::fixElements(), GNEFixDemandElements::FixVehicleOptions::fixElements(), GNEFixDemandElements::FixStopPositionOptions::fixElements(), GNEFixDemandElements::FixPersonPlanOptions::fixElements(), GNEFixNetworkElements::FixEdgeOptions::fixElements(), GNEFixNetworkElements::FixCrossingOptions::fixElements(), GNEFixAdditionalElements::onCmdAccept(), and GNEFixElementsDialog::openFixDialog().