![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEFixDemandElements.h>
Data Structures | |
| class | FixOptions |
| FOX need this. More... | |
| class | FixPersonPlanOptions |
| groupbox for all radio buttons related with fix person plan options More... | |
| class | FixRouteOptions |
| groupbox for all radio buttons related with fix route options More... | |
| class | FixStopPositionOptions |
| groupbox for all radio buttons related with fix stop options More... | |
| class | FixVehicleOptions |
| groupbox for all radio buttons related with fix vehicle options More... | |
Public Member Functions | |
| GNEFixDemandElements (GNEViewNet *viewNet) | |
| FOX-declaration. | |
| FXuint | openDialog (const std::vector< GNEDemandElement * > &invalidDemandElements) |
| open fix demand elements dialog | |
| void | runInternalTest (const InternalTestStep::DialogTest *dialogTest) |
| run internal test | |
| ~GNEFixDemandElements () | |
| 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 | |
| FixPersonPlanOptions * | myFixPersonPlanOptions = nullptr |
| fix person plan options | |
| FixRouteOptions * | myFixRouteOptions = nullptr |
| fix route options | |
| FixStopPositionOptions * | myFixStopPositionOptions = nullptr |
| fix stop options | |
| FixVehicleOptions * | myFixVehicleOptions = nullptr |
| fix vehicle 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 | |
| GNEFixDemandElements (const GNEFixDemandElements &)=delete | |
| Invalidated copy constructor. | |
| GNEFixDemandElements & | operator= (const GNEFixDemandElements &)=delete |
| Invalidated assignment operator. | |
Definition at line 35 of file GNEFixDemandElements.h.
| GNEFixDemandElements::GNEFixDemandElements | ( | GNEViewNet * | viewNet | ) |
FOX-declaration.
Constructor
Definition at line 52 of file GNEFixDemandElements.cpp.
References GUIDesignAuxiliarFrame.
| GNEFixDemandElements::~GNEFixDemandElements | ( | ) |
destructor
Definition at line 71 of file GNEFixDemandElements.cpp.
|
privatedelete |
Invalidated copy constructor.
|
protectedinherited |
stop fix elements dialog accepting changes
Definition at line 67 of file GNEFixElementsDialog.cpp.
Referenced by GNEFixAdditionalElements::onCmdAccept(), onCmdAccept(), GNEFixNetworkElements::onCmdAccept(), GNEFixAdditionalElements::onCmdCancel(), onCmdCancel(), and GNEFixNetworkElements::onCmdCancel().
|
privateinherited |
make execute private
Definition at line 128 of file MFXDialogBox.cpp.
|
virtual |
event after press accept button
Implements GNEFixElementsDialog.
Definition at line 130 of file GNEFixDemandElements.cpp.
References GNEFixElementsDialog::closeFixDialog(), GNEFixDemandElements::FixRouteOptions::fixElements(), GNEFixDemandElements::FixVehicleOptions::fixElements(), GNEFixDemandElements::FixStopPositionOptions::fixElements(), GNEFixDemandElements::FixPersonPlanOptions::fixElements(), myFixPersonPlanOptions, myFixRouteOptions, myFixStopPositionOptions, and myFixVehicleOptions.
Referenced by FXDEFMAP(), and runInternalTest().
|
virtual |
event after press cancel button
Implements GNEFixElementsDialog.
Definition at line 143 of file GNEFixDemandElements.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 119 of file GNEFixDemandElements.cpp.
References myFixPersonPlanOptions, myFixRouteOptions, myFixStopPositionOptions, myFixVehicleOptions, GNEFixDemandElements::FixRouteOptions::selectOption(), GNEFixDemandElements::FixVehicleOptions::selectOption(), GNEFixDemandElements::FixStopPositionOptions::selectOption(), and GNEFixDemandElements::FixPersonPlanOptions::selectOption().
Referenced by FXDEFMAP().
| FXuint GNEFixDemandElements::openDialog | ( | const std::vector< GNEDemandElement * > & | invalidDemandElements | ) |
open fix demand elements dialog
Definition at line 76 of file GNEFixDemandElements.cpp.
References GNEFixElementsDialog::Buttons::myAcceptButton, GNEFixElementsDialog::myButtons, myFixPersonPlanOptions, myFixRouteOptions, myFixStopPositionOptions, myFixVehicleOptions, GNEFixElementsDialog::openFixDialog(), and GNEFixDemandElements::FixOptions::setInvalidElements().
Referenced by GNENet::saveDemandElements().
|
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(), openDialog(), and GNEFixNetworkElements::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 104 of file GNEFixDemandElements.cpp.
References InternalTestStep::DialogTest::fixSolution, myFixRouteOptions, onCmdAccept(), GNEFixDemandElements::FixRouteOptions::removeInvalidRoutes, GNEFixDemandElements::FixRouteOptions::saveInvalidRoutes, and GNEFixDemandElements::FixRouteOptions::selectRouteInvalids.
|
protectedinherited |
buttons
Definition at line 103 of file GNEFixElementsDialog.h.
Referenced by GNEFixAdditionalElements::openDialog(), openDialog(), and GNEFixNetworkElements::openDialog().
|
protected |
fix person plan options
Definition at line 285 of file GNEFixDemandElements.h.
Referenced by onCmdAccept(), onCmdSelectOption(), and openDialog().
|
protected |
fix route options
Definition at line 276 of file GNEFixDemandElements.h.
Referenced by onCmdAccept(), onCmdSelectOption(), openDialog(), and runInternalTest().
|
protected |
fix stop options
Definition at line 282 of file GNEFixDemandElements.h.
Referenced by onCmdAccept(), onCmdSelectOption(), and openDialog().
|
protected |
fix vehicle options
Definition at line 279 of file GNEFixDemandElements.h.
Referenced by onCmdAccept(), onCmdSelectOption(), and openDialog().
|
protected |
vertical left frame
Definition at line 270 of file GNEFixDemandElements.h.
|
protectedinherited |
main
Definition at line 100 of file GNEFixElementsDialog.h.
|
protected |
vertical right frame
Definition at line 273 of file GNEFixDemandElements.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().