![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNERunNetgenerateDialog.h>
Public Types | |
basic dialog type | |
| enum class | Buttons { OK , YES_NO , YES_NO_CANCEL , ACCEPT , ACCEPT_CANCEL , ACCEPT_CANCEL_RESET , SAVE_DONTSAVE_CANCEL , RUN_CANCEL_RESET , RUN_ADVANCED_CANCEL , RERUN_BACK_OK , OK_COPY_REPORT } |
| enum class | OpenType { MODAL , NON_MODAL } |
| Open dialog type. More... | |
| enum class | Buttons { OK , YES_NO , YES_NO_CANCEL , ACCEPT , ACCEPT_CANCEL , ACCEPT_CANCEL_RESET , SAVE_DONTSAVE_CANCEL , RUN_CANCEL_RESET , RUN_ADVANCED_CANCEL , RERUN_BACK_OK , OK_COPY_REPORT } |
| enum class | OpenType { MODAL , NON_MODAL } |
| Open dialog type. More... | |
Public Member Functions | |
| void | addEvent (GUIEvent *event, const bool signal) |
| add event in the queue | |
| std::string | getRunCommand () const |
| get run command | |
| GNERunNetgenerateDialog (GNEApplicationWindow *applicationWindow, const OptionsCont *netgenerateOptions) | |
| Constructor. | |
| GNERunNetgenerateDialog (GNEApplicationWindow *applicationWindow, const OptionsCont *netgenerateOptions) | |
| FOX-declaration. | |
| void | runInternalTest (const InternalTestStep::DialogArgument *dialogArgument) |
| run internal test | |
| void | runInternalTest (const InternalTestStep::DialogArgument *dialogArgument) |
| run internal test | |
| ~GNERunNetgenerateDialog () | |
| destructor | |
| ~GNERunNetgenerateDialog () | |
| destructor | |
FOX-callbacks | |
| long | onCmdBack (FXObject *, FXSelector, void *) |
| event after press back button | |
| long | onCmdAccept (FXObject *, FXSelector, void *) |
| event after press close button | |
| long | onCmdSaveLog (FXObject *, FXSelector, void *) |
| event after press save button | |
| long | onCmdAbort (FXObject *, FXSelector, void *) |
| event after press abort button | |
| long | onCmdRerun (FXObject *, FXSelector, void *) |
| event after press rerun button | |
| long | onCmdBack (FXObject *, FXSelector, void *) |
| event after press back button | |
| long | onCmdAccept (FXObject *, FXSelector, void *) |
| event after press close button | |
| long | onCmdCancel (FXObject *, FXSelector, void *) |
| event after press cancel button | |
| long | onThreadEvent (FXObject *, FXSelector, void *) |
| called when the thread signals an event | |
FOX-callbacks | |
| long | onCmdRun (FXObject *, FXSelector, void *) |
| event after press rerun button | |
FOX-callbacks | |
| virtual long | onCmdReset (FXObject *, FXSelector, void *) |
| called when reset button is pressed (must be reimplemented in children depending of Buttons) | |
| virtual long | onCmdAdvanced (FXObject *, FXSelector, void *) |
| called when advanced button is pressed (must be reimplemented in children depending of Buttons) | |
| virtual long | onCmdCopy (FXObject *, FXSelector, void *) |
| called when copy button is pressed (must be reimplemented in children depending of Buttons) | |
| virtual long | onCmdReport (FXObject *, FXSelector, void *) |
| called when report button is pressed (must be reimplemented in children depending of Buttons) | |
| long | onKeyPress (FXObject *obj, FXSelector sel, void *ptr) |
| called when user presses a key on the dialog | |
| long | onKeyRelease (FXObject *obj, FXSelector sel, void *ptr) |
| called when user releases a key on the dialog | |
| long | onKeyPress (FXObject *obj, FXSelector sel, void *ptr) |
| called when user presses a key on the dialog | |
| long | onKeyRelease (FXObject *obj, FXSelector sel, void *ptr) |
| called when user releases a key on the dialog | |
Protected Member Functions | |
| long | closeDialogAborting () |
| close dialog aborting the changes | |
| long | closeDialogAborting () |
| close dialog aborting the changes | |
| long | closeDialogAccepting () |
| close dialog accepting the changes | |
| long | closeDialogAccepting () |
| close dialog accepting the changes | |
| long | closeDialogCanceling () |
| close dialog declining the changes | |
| long | closeDialogCanceling () |
| close dialog declining the changes | |
| FOX_CONSTRUCTOR (GNERunDialog) | |
| FOX needs this. | |
| FOX_CONSTRUCTOR (GNERunNetgenerateDialog) | |
| FOX needs this. | |
| void | openDialog (FXWindow *focusableElement=nullptr) |
| open dialog | |
| void | openDialog (FXWindow *focusableElement=nullptr) |
| open dialog | |
| void | updateDialog () |
| update toolDialog | |
| void | updateDialogButtons () |
| update dialog buttons | |
| void | updateIcon (GUIIcon newIcon) |
| update icon | |
| void | updateIcon (GUIIcon newIcon) |
| update icon | |
| void | updateTitle (const std::string &newTitle) |
| update title | |
| void | updateTitle (const std::string &newTitle) |
| update title | |
Protected Attributes | |
| FXButton * | myAbortButton = nullptr |
| abort button | |
| FXButton * | myAbortButton = nullptr |
| abort button | |
| FXButton * | myAcceptButton = nullptr |
| accept button | |
| FXButton * | myAcceptButton = nullptr |
| accept button | |
| FXButton * | myAdvancedButton = nullptr |
| advanced button | |
| FXButton * | myAdvancedButton = nullptr |
| advanced button | |
| GNEApplicationWindow * | myApplicationWindow = nullptr |
| FOX needs this. | |
| GNEApplicationWindow * | myApplicationWindow = nullptr |
| FOX needs this. | |
| FXButton * | myBackButton = nullptr |
| back button | |
| FXButton * | myBackButton = nullptr |
| back button | |
| FXButton * | myCancelButton = nullptr |
| cancel button | |
| FXButton * | myCancelButton = nullptr |
| cancel button | |
| const bool | myCloseIfSucess = false |
| flag to close dialog automatically if sucess | |
| FXVerticalFrame * | myContentFrame = nullptr |
| content frame | |
| FXVerticalFrame * | myContentFrame = nullptr |
| content frame | |
| FXButton * | myCopyButton = nullptr |
| copy button | |
| FXButton * | myCopyButton = nullptr |
| copy button | |
| const OptionsCont * | myNetgenerateOptions = nullptr |
| netgenerate options | |
| FXButton * | myReportButton = nullptr |
| report button | |
| FXButton * | myReportButton = nullptr |
| report button | |
| FXButton * | myResetButton = nullptr |
| reset button | |
| FXButton * | myResetButton = nullptr |
| reset button | |
| FXWindow * | myRestoringFocusWindow = nullptr |
| FXWindows that restoring focus window. | |
| FXWindow * | myRestoringFocusWindow = nullptr |
| FXWindows that restoring focus window. | |
| Result | myResult = Result::CANCEL |
| result to indicate if this dialog was closed accepting or rejecting changes | |
| Result | myResult = Result::CANCEL |
| result to indicate if this dialog was closed accepting or rejecting changes | |
| FXButton * | myRunButton = nullptr |
| run button | |
| FXButton * | myRunButton = nullptr |
| run button | |
| DialogType | myType = DialogType::DEFAULT |
| dialog type | |
| DialogType | myType = DialogType::DEFAULT |
| dialog type | |
| bool | myWarning = false |
| flag to check if there is a warning | |
Private Member Functions | |
| void | buildDialog (GUIIcon titleIcon, Buttons buttons) |
| build dialog | |
| GNERunNetgenerateDialog (const GNERunNetgenerateDialog &)=delete | |
| Invalidated copy constructor. | |
| GNERunNetgenerateDialog (const GNERunNetgenerateDialog &)=delete | |
| Invalidated copy constructor. | |
| GNERunNetgenerateDialog & | operator= (const GNERunNetgenerateDialog &)=delete |
| Invalidated assignment operator. | |
| GNERunNetgenerateDialog & | operator= (const GNERunNetgenerateDialog &)=delete |
| Invalidated assignment operator. | |
Private Attributes | |
| bool | myError = false |
| flag to check if there is an error | |
| MFXSynchQue< GUIEvent * > | myEvents |
| List of received events. | |
| FXButton * | myFocusButton = nullptr |
| focus button, used for focusing the default button when dialog is opened | |
| OpenType | myOpenType |
| open type | |
| GNERunNetgenerate * | myRunNetgenerate = nullptr |
| thread for running tool | |
| bool | myTesting = false |
| flag to indicate if this dialog is being tested using internal test | |
| FXText * | myText = nullptr |
| text | |
| FXEX::MFXThreadEvent | myThreadEvent |
| io-event with the runner thread | |
Resize mode | |
| Result | getResult () const |
| get result to indicate if this dialog was closed accepting or rejecting changes | |
| GNEApplicationWindow * | getApplicationWindow () const |
| get pointer to the application window | |
| FXVerticalFrame * | getContentFrame () const |
| get content frame | |
| void | setRestoringFocusWindow (FXWindow *window) |
| wet FXWindows uses for restoring focus | |
| Result | getResult () const |
| get result to indicate if this dialog was closed accepting or rejecting changes | |
| GNEApplicationWindow * | getApplicationWindow () const |
| get pointer to the application window | |
| FXVerticalFrame * | getContentFrame () const |
| get content frame | |
| void | setRestoringFocusWindow (FXWindow *window) |
| wet FXWindows uses for restoring focus | |
| enum class | ResizeMode { STATIC , RESIZABLE } |
| enum class | Result { ACCEPT , CANCEL , ABORT , ACCEPT_ALL , CANCEL_ALL } |
| list of possible results when closing the dialog More... | |
| enum class | ResizeMode { STATIC , RESIZABLE } |
| enum class | Result { ACCEPT , CANCEL , ABORT , ACCEPT_ALL , CANCEL_ALL } |
| list of possible results when closing the dialog More... | |
Definition at line 35 of file run/GNERunNetgenerateDialog.h.
|
stronginherited |
| Enumerator | |
|---|---|
| OK | |
| YES_NO | |
| YES_NO_CANCEL | |
| ACCEPT | |
| ACCEPT_CANCEL | |
| ACCEPT_CANCEL_RESET | |
| SAVE_DONTSAVE_CANCEL | |
| RUN_CANCEL_RESET | |
| RUN_ADVANCED_CANCEL | |
| RERUN_BACK_OK | |
| OK_COPY_REPORT | |
Definition at line 43 of file GNEDialog.h.
|
stronginherited |
| Enumerator | |
|---|---|
| OK | |
| YES_NO | |
| YES_NO_CANCEL | |
| ACCEPT | |
| ACCEPT_CANCEL | |
| ACCEPT_CANCEL_RESET | |
| SAVE_DONTSAVE_CANCEL | |
| RUN_CANCEL_RESET | |
| RUN_ADVANCED_CANCEL | |
| RERUN_BACK_OK | |
| OK_COPY_REPORT | |
Definition at line 43 of file GNEDialog.h.
|
stronginherited |
|
stronginherited |
|
stronginherited |
| Enumerator | |
|---|---|
| STATIC | |
| RESIZABLE | |
Definition at line 64 of file GNEDialog.h.
|
stronginherited |
| Enumerator | |
|---|---|
| STATIC | |
| RESIZABLE | |
Definition at line 64 of file GNEDialog.h.
|
stronginherited |
list of possible results when closing the dialog
| Enumerator | |
|---|---|
| ACCEPT | |
| CANCEL | |
| ABORT | |
| ACCEPT_ALL | |
| CANCEL_ALL | |
Definition at line 70 of file GNEDialog.h.
|
stronginherited |
list of possible results when closing the dialog
| Enumerator | |
|---|---|
| ACCEPT | |
| CANCEL | |
| ABORT | |
| ACCEPT_ALL | |
| CANCEL_ALL | |
Definition at line 70 of file GNEDialog.h.
| GNERunNetgenerateDialog::GNERunNetgenerateDialog | ( | GNEApplicationWindow * | applicationWindow, |
| const OptionsCont * | netgenerateOptions | ||
| ) |
Constructor.
Definition at line 30 of file run/GNERunNetgenerateDialog.cpp.
References GNEApplicationWindow::getExternalRunner(), GNEDialog::openDialog(), and GNEExternalRunner::runTool().
| GNERunNetgenerateDialog::~GNERunNetgenerateDialog | ( | ) |
destructor
Definition at line 42 of file run/GNERunNetgenerateDialog.cpp.
|
privatedelete |
Invalidated copy constructor.
| GNERunNetgenerateDialog::GNERunNetgenerateDialog | ( | GNEApplicationWindow * | applicationWindow, |
| const OptionsCont * | netgenerateOptions | ||
| ) |
FOX-declaration.
Constructor
| GNERunNetgenerateDialog::~GNERunNetgenerateDialog | ( | ) |
destructor
|
privatedelete |
Invalidated copy constructor.
|
inherited |
add event in the queue
Definition at line 76 of file GNERunDialog.cpp.
References GNERunDialog::myEvents, GNERunDialog::myThreadEvent, MFXSynchQue< T, Container >::push_back(), and FXEX::MFXThreadEvent::signal().
Referenced by GNEExternalRunner::abort(), and GNEExternalRunner::run().
|
privateinherited |
build dialog
Definition at line 327 of file GNEDialog.cpp.
References GNEDialog::ACCEPT, GNEDialog::ACCEPT_CANCEL, GNEDialog::ACCEPT_CANCEL_RESET, BACK, GUIDesigns::buildFXButton(), CANCEL, COPY, GUIIconSubSys::getIcon(), GITHUB, GUIDesignAuxiliarFrame, GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonDialog, GUIDesignDialogButtonsHorizontalFrame, GUIDesignDialogContentFrame, GUIDesignHorizontalSeparator, MID_GNE_ABORT, MID_GNE_BUTTON_ACCEPT, MID_GNE_BUTTON_ADVANCED, MID_GNE_BUTTON_BACK, MID_GNE_BUTTON_CANCEL, MID_GNE_BUTTON_COPY, MID_GNE_BUTTON_REPORT, MID_GNE_BUTTON_RESET, MID_GNE_BUTTON_RUN, GNEDialog::myAbortButton, GNEDialog::myAcceptButton, GNEDialog::myAdvancedButton, GNEDialog::myBackButton, GNEDialog::myCancelButton, GNEDialog::myContentFrame, GNEDialog::myCopyButton, GNEDialog::myFocusButton, GNEDialog::myReportButton, GNEDialog::myResetButton, GNEDialog::myRunButton, NO, GNEDialog::OK, GNEDialog::OK_COPY_REPORT, OPTIONS, GNEDialog::RERUN_BACK_OK, RESET, GNEDialog::RUN_ADVANCED_CANCEL, GNEDialog::RUN_CANCEL_RESET, SAVE, GNEDialog::SAVE_DONTSAVE_CANCEL, START, TL, YES, GNEDialog::YES_NO, and GNEDialog::YES_NO_CANCEL.
Referenced by GNEDialog::GNEDialog().
|
protectedinherited |
close dialog aborting the changes
Definition at line 295 of file GNEDialog.cpp.
References GNEDialog::ABORT, GNEDialog::MODAL, GNEDialog::myApplicationWindow, GNEDialog::myOpenType, GNEDialog::myRestoringFocusWindow, GNEDialog::myResult, and GNEDialog::myTesting.
Referenced by GNEOverwriteElement::onCmdAbort(), GNETemplateElementDialog< T >::onCmdAbort(), GNEDialog::onCmdAbort(), and GNEDialog::onKeyPress().
|
protectedinherited |
close dialog aborting the changes
Definition at line 295 of file GNEDialog.cpp.
References GNEDialog::ABORT, GNEDialog::MODAL, GNEDialog::myApplicationWindow, GNEDialog::myOpenType, GNEDialog::myRestoringFocusWindow, GNEDialog::myResult, and GNEDialog::myTesting.
Referenced by GNEOverwriteElement::onCmdAbort(), GNETemplateElementDialog< T >::onCmdAbort(), GNEDialog::onCmdAbort(), and GNEDialog::onKeyPress().
|
protectedinherited |
close dialog accepting the changes
Definition at line 255 of file GNEDialog.cpp.
References GNEDialog::ACCEPT, GNEDialog::MODAL, GNEDialog::myApplicationWindow, GNEDialog::myOpenType, GNEDialog::myRestoringFocusWindow, GNEDialog::myResult, and GNEDialog::myTesting.
Referenced by GNETemplateElementDialog< T >::acceptElementDialog(), GNEOverwriteElement::onCmdAccept(), GNEDistributionRefDialog::onCmdAccept(), GNEFileDialog::onCmdAccept(), GNEFixElementsDialog< T >::onCmdAccept(), GNEDialog::onCmdAccept(), GNEParametersDialog::onCmdAccept(), GNESaveDialog::onCmdAccept(), GNEVClassesDialog::onCmdAccept(), and GNEPythonToolDialog::onCmdRun().
|
protectedinherited |
close dialog accepting the changes
Definition at line 255 of file GNEDialog.cpp.
References GNEDialog::ACCEPT, GNEDialog::MODAL, GNEDialog::myApplicationWindow, GNEDialog::myOpenType, GNEDialog::myRestoringFocusWindow, GNEDialog::myResult, and GNEDialog::myTesting.
Referenced by GNETemplateElementDialog< T >::acceptElementDialog(), GNEOverwriteElement::onCmdAccept(), GNEDistributionRefDialog::onCmdAccept(), GNEFileDialog::onCmdAccept(), GNEFixElementsDialog< T >::onCmdAccept(), GNEDialog::onCmdAccept(), GNEParametersDialog::onCmdAccept(), GNESaveDialog::onCmdAccept(), GNEVClassesDialog::onCmdAccept(), and GNEPythonToolDialog::onCmdRun().
|
protectedinherited |
close dialog declining the changes
Definition at line 275 of file GNEDialog.cpp.
References GNEDialog::CANCEL, GNEDialog::MODAL, GNEDialog::myApplicationWindow, GNEDialog::myOpenType, GNEDialog::myRestoringFocusWindow, GNEDialog::myResult, and GNEDialog::myTesting.
Referenced by GNERunDialog::onCmdAbort(), GNEDistributionRefDialog::onCmdAccept(), GNEFixElementsDialog< T >::onCmdAccept(), GNEVClassesDialog::onCmdAccept(), onCmdAccept(), GNERunPythonToolDialog::onCmdAccept(), GNENetgenerateDialog::onCmdAdvanced(), onCmdBack(), GNEOverwriteElement::onCmdCancel(), GNETemplateElementDialog< T >::onCmdCancel(), GNEFilePathDialog::onCmdCancel(), GNEDialog::onCmdCancel(), GNESaveDialog::onCmdCancel(), GNEVClassesDialog::onCmdCancel(), GNENeteditOptionsDialog::onCmdCancel(), GNENetgenerateOptionsDialog::onCmdCancel(), GNESumoOptionsDialog::onCmdCancel(), GNENetgenerateOptionsDialog::onCmdRun(), and GNENetgenerateDialog::onCmdRun().
|
protectedinherited |
close dialog declining the changes
Definition at line 275 of file GNEDialog.cpp.
References GNEDialog::CANCEL, GNEDialog::MODAL, GNEDialog::myApplicationWindow, GNEDialog::myOpenType, GNEDialog::myRestoringFocusWindow, GNEDialog::myResult, and GNEDialog::myTesting.
Referenced by GNERunDialog::onCmdAbort(), GNEDistributionRefDialog::onCmdAccept(), GNEFixElementsDialog< T >::onCmdAccept(), GNEVClassesDialog::onCmdAccept(), onCmdAccept(), GNERunPythonToolDialog::onCmdAccept(), GNENetgenerateDialog::onCmdAdvanced(), onCmdBack(), GNEOverwriteElement::onCmdCancel(), GNETemplateElementDialog< T >::onCmdCancel(), GNEFilePathDialog::onCmdCancel(), GNEDialog::onCmdCancel(), GNESaveDialog::onCmdCancel(), GNEVClassesDialog::onCmdCancel(), GNENeteditOptionsDialog::onCmdCancel(), GNENetgenerateOptionsDialog::onCmdCancel(), GNESumoOptionsDialog::onCmdCancel(), GNENetgenerateOptionsDialog::onCmdRun(), and GNENetgenerateDialog::onCmdRun().
|
protectedinherited |
FOX needs this.
|
protected |
FOX needs this.
|
inherited |
get pointer to the application window
Definition at line 102 of file GNEDialog.cpp.
References GNEDialog::myApplicationWindow.
Referenced by GNEPythonToolDialog::buildArguments(), GNEVehicleTypeDialog::CarFollowingModelParameters::CarFollowingModelParameters(), GNEFileSelector::onCmdAccept(), GNEFileSelector::onCmdCopy(), GNEFileSelector::onCmdDelete(), GNEOptionsEditor::onCmdLoadOptions(), GNEFileSelector::onCmdMove(), GNEFileSelector::onCmdNewFolder(), GNEOptionsEditor::onCmdSaveOptions(), GNEOptionsEditor::onCmdShowToolTipsMenu(), GNEVehicleTypeDialog::VTypeAttributes::VShapeRow::VShapeRow(), and GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::VTypeAttributeRow().
|
inherited |
get pointer to the application window
Definition at line 102 of file GNEDialog.cpp.
References GNEDialog::myApplicationWindow.
Referenced by GNEPythonToolDialog::buildArguments(), GNEVehicleTypeDialog::CarFollowingModelParameters::CarFollowingModelParameters(), GNEFileSelector::onCmdAccept(), GNEFileSelector::onCmdCopy(), GNEFileSelector::onCmdDelete(), GNEOptionsEditor::onCmdLoadOptions(), GNEFileSelector::onCmdMove(), GNEFileSelector::onCmdNewFolder(), GNEOptionsEditor::onCmdSaveOptions(), GNEOptionsEditor::onCmdShowToolTipsMenu(), GNEVehicleTypeDialog::VTypeAttributes::VShapeRow::VShapeRow(), and GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::VTypeAttributeRow().
|
inherited |
get content frame
Definition at line 108 of file GNEDialog.cpp.
References GNEDialog::myContentFrame.
Referenced by GNEVClassesDialog::GNEVClassesDialog().
|
inherited |
get content frame
Definition at line 108 of file GNEDialog.cpp.
References GNEDialog::myContentFrame.
Referenced by GNEVClassesDialog::GNEVClassesDialog().
|
inherited |
get result to indicate if this dialog was closed accepting or rejecting changes
Definition at line 96 of file GNEDialog.cpp.
References GNEDialog::myResult.
Referenced by GNECalibratorDialog::RoutesList::addNewElement(), GNECalibratorDialog::VTypesList::addNewElement(), GNECalibratorDialog::CalibratorFlowsList::addNewElement(), GNEDataHandler::checkDuplicatedDataSet(), GNEMeanDataHandler::checkDuplicatedMeanDataElement(), GNEAdditionalHandler::checkElement(), GNERouteHandler::checkElement(), GNEDistributionFrame::DistributionValuesEditor::onCmdAddRow(), and GNEVehicleTypeDialog::VTypeAttributes::onCmdOpenParametersEditor().
|
inherited |
get result to indicate if this dialog was closed accepting or rejecting changes
Definition at line 96 of file GNEDialog.cpp.
References GNEDialog::myResult.
Referenced by GNECalibratorDialog::RoutesList::addNewElement(), GNECalibratorDialog::VTypesList::addNewElement(), GNECalibratorDialog::CalibratorFlowsList::addNewElement(), GNEDataHandler::checkDuplicatedDataSet(), GNEMeanDataHandler::checkDuplicatedMeanDataElement(), GNEAdditionalHandler::checkElement(), GNERouteHandler::checkElement(), GNEDistributionFrame::DistributionValuesEditor::onCmdAddRow(), and GNEVehicleTypeDialog::VTypeAttributes::onCmdOpenParametersEditor().
|
virtual |
get run command
Implements GNERunDialog.
Definition at line 52 of file run/GNERunNetgenerateDialog.cpp.
References StringUtils::escapeShell(), OptionsCont::getSubTopics(), OptionsCont::getSubTopicsEntries(), OptionsCont::getValueString(), OptionsCont::isDefault(), and myNetgenerateOptions.
|
virtual |
event after press abort button
Reimplemented from GNERunDialog.
Definition at line 134 of file tools/GNERunNetgenerateDialog.cpp.
References myRunNetgenerate.
Referenced by FXDEFMAP().
|
virtual |
event after press close button
Implements GNERunDialog.
Definition at line 105 of file run/GNERunNetgenerateDialog.cpp.
References GNEExternalRunner::abort(), GNEDialog::closeDialogCanceling(), GNEApplicationWindow::getExternalRunner(), MID_GNE_POSTPROCESSINGNETGENERATE, GNEDialog::myApplicationWindow, myError, and myText.
|
virtual |
event after press close button
Implements GNERunDialog.
|
virtualinherited |
called when advanced button is pressed (must be reimplemented in children depending of Buttons)
Reimplemented in GNENetgenerateDialog.
Definition at line 156 of file GNEDialog.cpp.
Referenced by FXDEFMAP().
|
virtual |
event after press back button
Implements GNERunDialog.
Definition at line 97 of file run/GNERunNetgenerateDialog.cpp.
References GNEDialog::closeDialogCanceling(), MID_GNE_NETGENERATE, and GNEDialog::myApplicationWindow.
Referenced by FXDEFMAP().
|
virtual |
event after press back button
Implements GNERunDialog.
|
virtual |
event after press cancel button
Reimplemented from GNEDialog.
Definition at line 181 of file tools/GNERunNetgenerateDialog.cpp.
References myRunNetgenerate.
|
virtualinherited |
called when copy button is pressed (must be reimplemented in children depending of Buttons)
Reimplemented in GNECrashDialog.
Definition at line 162 of file GNEDialog.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
called when report button is pressed (must be reimplemented in children depending of Buttons)
Reimplemented in GNECrashDialog.
Definition at line 168 of file GNEDialog.cpp.
Referenced by FXDEFMAP().
| long GNERunNetgenerateDialog::onCmdRerun | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
event after press rerun button
Definition at line 142 of file tools/GNERunNetgenerateDialog.cpp.
References myError, myNetgenerateOptions, myRunNetgenerate, and myText.
Referenced by FXDEFMAP().
|
virtualinherited |
called when reset button is pressed (must be reimplemented in children depending of Buttons)
Reimplemented in GNEAttributeCarrierDialog, GNECalibratorDialog, GNERerouterDialog, GNERerouterIntervalDialog, GNEVariableSpeedSignDialog, GNEVehicleTypeDialog, GNEFilePathDialog, GNEColorDialog, GNEGeometryPointDialog, GNEParametersDialog, GNEVClassesDialog, GNENeteditOptionsDialog, GNENetgenerateOptionsDialog, GNESumoOptionsDialog, GNEPythonToolDialog, GNETemplateElementDialog< T >, GNETemplateElementDialog< elementDialogType >, GNETemplateElementDialog< GNEAdditional >, GNETemplateElementDialog< GNEAttributeCarrier >, and GNETemplateElementDialog< GNEDemandElement >.
Definition at line 138 of file GNEDialog.cpp.
Referenced by FXDEFMAP(), and GNEDialog::openDialog().
|
virtualinherited |
event after press rerun button
Reimplemented from GNEDialog.
Definition at line 96 of file GNERunDialog.cpp.
References GNEExternalRunner::abort(), GNEApplicationWindow::getExternalRunner(), GNEExternalRunner::isRunning(), GNEDialog::myApplicationWindow, GNERunDialog::myError, GNERunDialog::myText, GNERunDialog::myWarning, GNEExternalRunner::runTool(), and GNERunDialog::updateDialogButtons().
| long GNERunNetgenerateDialog::onCmdSaveLog | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
event after press save button
Definition at line 120 of file tools/GNERunNetgenerateDialog.cpp.
References OutputDevice::close(), OutputDevice::getDevice(), and myText.
Referenced by FXDEFMAP().
|
inherited |
called when user presses a key on the dialog
Definition at line 174 of file GNEDialog.cpp.
References GNEDialog::closeDialogAborting(), GNEApplicationWindow::getInternalTest(), GNEDialog::myApplicationWindow, and GNEDialog::myTesting.
Referenced by FXDEFMAP().
|
inherited |
called when user presses a key on the dialog
Definition at line 174 of file GNEDialog.cpp.
References GNEDialog::closeDialogAborting(), GNEApplicationWindow::getInternalTest(), GNEDialog::myApplicationWindow, and GNEDialog::myTesting.
Referenced by FXDEFMAP().
|
inherited |
called when user releases a key on the dialog
Definition at line 190 of file GNEDialog.cpp.
References GNEApplicationWindow::getInternalTest(), GNEDialog::myApplicationWindow, and GNEDialog::myTesting.
Referenced by FXDEFMAP().
|
inherited |
called when user releases a key on the dialog
Definition at line 190 of file GNEDialog.cpp.
References GNEApplicationWindow::getInternalTest(), GNEDialog::myApplicationWindow, and GNEDialog::myTesting.
Referenced by FXDEFMAP().
| long GNERunNetgenerateDialog::onThreadEvent | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
called when the thread signals an event
Definition at line 191 of file tools/GNERunNetgenerateDialog.cpp.
References MFXSynchQue< T, Container >::empty(), ERROR_OCCURRED, GUIEvent_Message::getMsg(), GUIEvent::getOwnType(), MESSAGE_OCCURRED, myError, myEvents, myText, OUTPUT_OCCURRED, MFXSynchQue< T, Container >::pop(), TOOL_ENDED, MFXSynchQue< T, Container >::top(), and updateDialog().
Referenced by FXDEFMAP().
|
protectedinherited |
open dialog
Definition at line 200 of file GNEDialog.cpp.
References InternalTestStep::DialogArgument::ABORT, InternalTestStep::DialogArgument::ACCEPT, InternalTestStep::DialogArgument::CANCEL, InternalTestStep::DIALOG, GNEApplicationWindow::getInternalTest(), GNEDialog::MODAL, GNEDialog::myApplicationWindow, GNEDialog::myFocusButton, GNEDialog::myOpenType, GNEDialog::myTesting, GNEDialog::myType, GNEDialog::onCmdAbort(), GNEDialog::onCmdAccept(), GNEDialog::onCmdCancel(), GNEDialog::onCmdReset(), InternalTestStep::DialogArgument::RESET, GNEDialog::runInternalTest(), and InternalTest::setNextStep().
Referenced by GNEAboutDialog::GNEAboutDialog(), GNEAttributeCarrierDialog::GNEAttributeCarrierDialog(), GNEBasicDialog::GNEBasicDialog(), GNECalibratorDialog::GNECalibratorDialog(), GNEFileDialog::GNEFileDialog(), GNEFilePathDialog::GNEFilePathDialog(), GNEFixAdditionalElementsDialog::GNEFixAdditionalElementsDialog(), GNEFixDemandElementsDialog::GNEFixDemandElementsDialog(), GNEFixNetworkElements::GNEFixNetworkElements(), GNEHelpAttributesDialog::GNEHelpAttributesDialog(), GNENeteditOptionsDialog::GNENeteditOptionsDialog(), GNENetgenerateOptionsDialog::GNENetgenerateOptionsDialog(), GNEOverwriteElement::GNEOverwriteElement(), GNEParametersDialog::GNEParametersDialog(), GNERerouterDialog::GNERerouterDialog(), GNERerouterIntervalDialog::GNERerouterIntervalDialog(), GNERunNetgenerateDialog(), GNERunPythonToolDialog::GNERunPythonToolDialog(), GNESaveDialog::GNESaveDialog(), GNESumoOptionsDialog::GNESumoOptionsDialog(), GNEVariableSpeedSignDialog::GNEVariableSpeedSignDialog(), GNEVClassesDialog::GNEVClassesDialog(), and GNEVehicleTypeDialog::GNEVehicleTypeDialog().
|
protectedinherited |
open dialog
Definition at line 200 of file GNEDialog.cpp.
References InternalTestStep::DialogArgument::ABORT, InternalTestStep::DialogArgument::ACCEPT, InternalTestStep::DialogArgument::CANCEL, InternalTestStep::DIALOG, GNEApplicationWindow::getInternalTest(), GNEDialog::MODAL, GNEDialog::myApplicationWindow, GNEDialog::myFocusButton, GNEDialog::myOpenType, GNEDialog::myTesting, GNEDialog::myType, GNEDialog::onCmdAbort(), GNEDialog::onCmdAccept(), GNEDialog::onCmdCancel(), GNEDialog::onCmdReset(), InternalTestStep::DialogArgument::RESET, GNEDialog::runInternalTest(), and InternalTest::setNextStep().
Referenced by GNEAboutDialog::GNEAboutDialog(), GNEAttributeCarrierDialog::GNEAttributeCarrierDialog(), GNEBasicDialog::GNEBasicDialog(), GNECalibratorDialog::GNECalibratorDialog(), GNEFileDialog::GNEFileDialog(), GNEFilePathDialog::GNEFilePathDialog(), GNEFixAdditionalElementsDialog::GNEFixAdditionalElementsDialog(), GNEFixDemandElementsDialog::GNEFixDemandElementsDialog(), GNEFixNetworkElements::GNEFixNetworkElements(), GNEHelpAttributesDialog::GNEHelpAttributesDialog(), GNENeteditOptionsDialog::GNENeteditOptionsDialog(), GNENetgenerateOptionsDialog::GNENetgenerateOptionsDialog(), GNEOverwriteElement::GNEOverwriteElement(), GNEParametersDialog::GNEParametersDialog(), GNERerouterDialog::GNERerouterDialog(), GNERerouterIntervalDialog::GNERerouterIntervalDialog(), GNERunNetgenerateDialog(), GNERunPythonToolDialog::GNERunPythonToolDialog(), GNESaveDialog::GNESaveDialog(), GNESumoOptionsDialog::GNESumoOptionsDialog(), GNEVariableSpeedSignDialog::GNEVariableSpeedSignDialog(), GNEVClassesDialog::GNEVClassesDialog(), and GNEVehicleTypeDialog::GNEVehicleTypeDialog().
|
privatedelete |
Invalidated assignment operator.
|
privatedelete |
Invalidated assignment operator.
|
virtual |
run internal test
Implements GNERunDialog.
Definition at line 46 of file run/GNERunNetgenerateDialog.cpp.
|
virtual |
run internal test
Implements GNERunDialog.
|
inherited |
wet FXWindows uses for restoring focus
Definition at line 114 of file GNEDialog.cpp.
References GNEDialog::myRestoringFocusWindow.
Referenced by GNEFileDialog::GNEFileDialog().
|
inherited |
wet FXWindows uses for restoring focus
Definition at line 114 of file GNEDialog.cpp.
References GNEDialog::myRestoringFocusWindow.
Referenced by GNEFileDialog::GNEFileDialog().
|
protected |
update toolDialog
Definition at line 99 of file tools/GNERunNetgenerateDialog.cpp.
Referenced by onThreadEvent().
|
protectedinherited |
update dialog buttons
Definition at line 192 of file GNERunDialog.cpp.
References GNEApplicationWindow::getExternalRunner(), GUIIconSubSys::getIcon(), GNEExternalRunner::isRunning(), GNEDialog::myAcceptButton, GNEDialog::myApplicationWindow, GNEDialog::myBackButton, GNEDialog::myRunButton, START, STOP, and TL.
Referenced by GNERunDialog::onCmdRun(), and GNERunDialog::onThreadEvent().
|
protectedinherited |
update icon
Definition at line 321 of file GNEDialog.cpp.
References GUIIconSubSys::getIcon().
Referenced by GNEFileDialog::GNEFileDialog().
|
protectedinherited |
update icon
Definition at line 321 of file GNEDialog.cpp.
References GUIIconSubSys::getIcon().
Referenced by GNEFileDialog::GNEFileDialog().
|
protectedinherited |
update title
Definition at line 315 of file GNEDialog.cpp.
Referenced by GNEFileDialog::GNEFileDialog().
|
protectedinherited |
update title
Definition at line 315 of file GNEDialog.cpp.
Referenced by GNEFileDialog::GNEFileDialog().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
accept button
Definition at line 155 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), GNEFileDialog::GNEFileDialog(), GNEDistributionRefDialog::onCmdSetProbability(), GNEDistributionRefDialog::onCmdSetReference(), and GNERunDialog::updateDialogButtons().
|
protectedinherited |
accept button
Definition at line 155 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), GNEFileDialog::GNEFileDialog(), GNEDistributionRefDialog::onCmdSetProbability(), GNEDistributionRefDialog::onCmdSetReference(), and GNERunDialog::updateDialogButtons().
|
protectedinherited |
advanced button
Definition at line 173 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), and GNENetgenerateDialog::updateRunButtons().
|
protectedinherited |
advanced button
Definition at line 173 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), and GNENetgenerateDialog::updateRunButtons().
|
protectedinherited |
FOX needs this.
pointer to the main window
Definition at line 146 of file GNEDialog.h.
Referenced by GNEDialog::closeDialogAborting(), GNEDialog::closeDialogAccepting(), GNEDialog::closeDialogCanceling(), GNEFixElementsDialog< T >::getApplicationWindow(), GNEDialog::getApplicationWindow(), GNERunDialog::onCmdAbort(), GNEParametersDialog::onCmdAccept(), onCmdAccept(), GNERunPythonToolDialog::onCmdAccept(), GNENetgenerateDialog::onCmdAdvanced(), onCmdBack(), GNERunPythonToolDialog::onCmdBack(), GNEPythonToolDialog::onCmdLoad(), GNENetgenerateDialog::onCmdOpenOutputFile(), GNENetgenerateOptionsDialog::onCmdRun(), GNERunDialog::onCmdRun(), GNENetgenerateDialog::onCmdRun(), GNEPythonToolDialog::onCmdRun(), GNEPythonToolDialog::onCmdSave(), GNERunDialog::onCmdSaveLog(), GNEUndoListDialog::onCmdSelectRow(), GNENetgenerateDialog::onCmdSetGridNetwork(), GNENetgenerateDialog::onCmdSetOutput(), GNENetgenerateDialog::onCmdSetRandomNetwork(), GNENetgenerateDialog::onCmdSetRandomNetworkGridNetwork(), GNENetgenerateDialog::onCmdSetSpiderNetwork(), GNEPythonToolDialog::onCmdShowToolTipsMenu(), GNEDialog::onKeyPress(), GNEDialog::onKeyRelease(), GNEDialog::openDialog(), GNEFixElementsDialog< T >::FixOptions::saveContents(), GNERunDialog::updateDialogButtons(), and GNEUndoListDialog::updateList().
|
protectedinherited |
FOX needs this.
pointer to the main window
Definition at line 146 of file GNEDialog.h.
Referenced by GNEDialog::closeDialogAborting(), GNEDialog::closeDialogAccepting(), GNEDialog::closeDialogCanceling(), GNEFixElementsDialog< T >::getApplicationWindow(), GNEDialog::getApplicationWindow(), GNERunDialog::onCmdAbort(), GNEParametersDialog::onCmdAccept(), onCmdAccept(), GNERunPythonToolDialog::onCmdAccept(), GNENetgenerateDialog::onCmdAdvanced(), onCmdBack(), GNERunPythonToolDialog::onCmdBack(), GNEPythonToolDialog::onCmdLoad(), GNENetgenerateDialog::onCmdOpenOutputFile(), GNENetgenerateOptionsDialog::onCmdRun(), GNERunDialog::onCmdRun(), GNENetgenerateDialog::onCmdRun(), GNEPythonToolDialog::onCmdRun(), GNEPythonToolDialog::onCmdSave(), GNERunDialog::onCmdSaveLog(), GNEUndoListDialog::onCmdSelectRow(), GNENetgenerateDialog::onCmdSetGridNetwork(), GNENetgenerateDialog::onCmdSetOutput(), GNENetgenerateDialog::onCmdSetRandomNetwork(), GNENetgenerateDialog::onCmdSetRandomNetworkGridNetwork(), GNENetgenerateDialog::onCmdSetSpiderNetwork(), GNEPythonToolDialog::onCmdShowToolTipsMenu(), GNEDialog::onKeyPress(), GNEDialog::onKeyRelease(), GNEDialog::openDialog(), GNEFixElementsDialog< T >::FixOptions::saveContents(), GNERunDialog::updateDialogButtons(), and GNEUndoListDialog::updateList().
|
protectedinherited |
back button
Definition at line 170 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), and GNERunDialog::updateDialogButtons().
|
protectedinherited |
back button
Definition at line 170 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), and GNERunDialog::updateDialogButtons().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
flag to close dialog automatically if sucess
Definition at line 86 of file GNERunDialog.h.
Referenced by GNERunDialog::onThreadEvent().
|
protectedinherited |
content frame
Definition at line 152 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), GNEDialog::getContentFrame(), GNEAboutDialog::GNEAboutDialog(), GNEAttributeCarrierDialog::GNEAttributeCarrierDialog(), GNEBasicDialog::GNEBasicDialog(), GNECalibratorDialog::GNECalibratorDialog(), GNEFilePathDialog::GNEFilePathDialog(), GNEFixElementsDialog< T >::GNEFixElementsDialog(), GNEHelpAttributesDialog::GNEHelpAttributesDialog(), GNEOverwriteElement::GNEOverwriteElement(), GNEParametersDialog::GNEParametersDialog(), GNERerouterIntervalDialog::GNERerouterIntervalDialog(), GNESaveDialog::GNESaveDialog(), and GNEVehicleTypeDialog::GNEVehicleTypeDialog().
|
protectedinherited |
content frame
Definition at line 152 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), GNEDialog::getContentFrame(), GNEAboutDialog::GNEAboutDialog(), GNEAttributeCarrierDialog::GNEAttributeCarrierDialog(), GNEBasicDialog::GNEBasicDialog(), GNECalibratorDialog::GNECalibratorDialog(), GNEFilePathDialog::GNEFilePathDialog(), GNEFixElementsDialog< T >::GNEFixElementsDialog(), GNEHelpAttributesDialog::GNEHelpAttributesDialog(), GNEOverwriteElement::GNEOverwriteElement(), GNEParametersDialog::GNEParametersDialog(), GNERerouterIntervalDialog::GNERerouterIntervalDialog(), GNESaveDialog::GNESaveDialog(), and GNEVehicleTypeDialog::GNEVehicleTypeDialog().
|
protectedinherited |
|
protectedinherited |
|
private |
flag to check if there is an error
Definition at line 103 of file tools/GNERunNetgenerateDialog.h.
Referenced by onCmdAccept(), onCmdRerun(), and onThreadEvent().
|
private |
List of received events.
Definition at line 97 of file tools/GNERunNetgenerateDialog.h.
Referenced by onThreadEvent().
|
privateinherited |
focus button, used for focusing the default button when dialog is opened
Definition at line 207 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), and GNEDialog::openDialog().
|
protected |
netgenerate options
Definition at line 63 of file run/GNERunNetgenerateDialog.h.
Referenced by getRunCommand(), and onCmdRerun().
|
privateinherited |
open type
Definition at line 210 of file GNEDialog.h.
Referenced by GNEDialog::closeDialogAborting(), GNEDialog::closeDialogAccepting(), GNEDialog::closeDialogCanceling(), and GNEDialog::openDialog().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
FXWindows that restoring focus window.
Definition at line 149 of file GNEDialog.h.
Referenced by GNEDialog::closeDialogAborting(), GNEDialog::closeDialogAccepting(), GNEDialog::closeDialogCanceling(), and GNEDialog::setRestoringFocusWindow().
|
protectedinherited |
FXWindows that restoring focus window.
Definition at line 149 of file GNEDialog.h.
Referenced by GNEDialog::closeDialogAborting(), GNEDialog::closeDialogAccepting(), GNEDialog::closeDialogCanceling(), and GNEDialog::setRestoringFocusWindow().
|
protectedinherited |
result to indicate if this dialog was closed accepting or rejecting changes
Definition at line 185 of file GNEDialog.h.
Referenced by GNEDialog::closeDialogAborting(), GNEDialog::closeDialogAccepting(), GNEDialog::closeDialogCanceling(), GNEDialog::getResult(), GNESaveDialog::onCmdAccept(), and GNESaveDialog::onCmdCancel().
|
protectedinherited |
result to indicate if this dialog was closed accepting or rejecting changes
Definition at line 185 of file GNEDialog.h.
Referenced by GNEDialog::closeDialogAborting(), GNEDialog::closeDialogAccepting(), GNEDialog::closeDialogCanceling(), GNEDialog::getResult(), GNESaveDialog::onCmdAccept(), and GNESaveDialog::onCmdCancel().
|
protectedinherited |
run button
Definition at line 167 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), GNERunDialog::updateDialogButtons(), and GNENetgenerateDialog::updateRunButtons().
|
protectedinherited |
run button
Definition at line 167 of file GNEDialog.h.
Referenced by GNEDialog::buildDialog(), GNERunDialog::updateDialogButtons(), and GNENetgenerateDialog::updateRunButtons().
|
private |
thread for running tool
Definition at line 88 of file tools/GNERunNetgenerateDialog.h.
Referenced by onCmdAbort(), onCmdCancel(), and onCmdRerun().
|
privateinherited |
flag to indicate if this dialog is being tested using internal test
Definition at line 213 of file GNEDialog.h.
Referenced by GNEDialog::closeDialogAborting(), GNEDialog::closeDialogAccepting(), GNEDialog::closeDialogCanceling(), GNEDialog::onKeyPress(), GNEDialog::onKeyRelease(), and GNEDialog::openDialog().
|
private |
text
Definition at line 91 of file tools/GNERunNetgenerateDialog.h.
Referenced by onCmdAccept(), onCmdRerun(), onCmdSaveLog(), and onThreadEvent().
|
private |
io-event with the runner thread
Definition at line 100 of file tools/GNERunNetgenerateDialog.h.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
flag to check if there is a warning
Definition at line 98 of file GNERunDialog.h.
Referenced by GNERunDialog::onCmdRun(), and GNERunDialog::onThreadEvent().