![]() |
Eclipse SUMO - Simulation of Urban MObility
|
sumo config argument More...
#include <GNEPythonToolDialogElements.h>
Public Member Functions | |
| const std::string | getArgument () const |
| get argument | |
| MFXLabelTooltip * | getParameterLabel () const |
| get parameter label | |
| long | onCmdOpenFilename (FXObject *, FXSelector, void *) |
| Called when user press open filename button. | |
| long | onCmdSetValue (FXObject *, FXSelector, void *) |
| Called when user set filename. | |
| long | onCmdUseCurrentSumoConfigFile (FXObject *, FXSelector, void *) |
| Called when user press use current button. | |
| long | onUpdUseCurrentSumoConfigFile (FXObject *sender, FXSelector, void *) |
| enable or disable use current button | |
| bool | requiredAttributeSet () const |
| check if required attribute is set | |
| void | reset () |
| reset to default value | |
| SumoConfigArgument (GNEPythonToolDialog *toolDialogParent, FXVerticalFrame *argumentFrame, const std::string name, Option *option) | |
| FOX-declaration. | |
FOX-callbacks | |
| long | onCmdResetValue (FXObject *, FXSelector, void *) |
| Called when user press reset button. | |
| long | onUpdResetValue (FXObject *, FXSelector, void *) |
| Called when user press reset button. | |
Protected Member Functions | |
| const std::string | getValue () const |
| get value | |
| SumoConfigArgument () | |
| FOX need this. | |
Protected Attributes | |
| const std::string | myDefaultValue |
| default value | |
| FXHorizontalFrame * | myElementsFrame = nullptr |
| auxiliar elements frame | |
| FXTextField * | myFilenameTextField = nullptr |
| filename textField | |
| Option * | myOption |
| option | |
| GNEPythonToolDialog * | myToolDialogParent |
| tool dialog parent | |
Private Member Functions | |
| SumoConfigArgument & | operator= (const SumoConfigArgument &)=delete |
| Invalidated assignment operator. | |
| SumoConfigArgument (const SumoConfigArgument &)=delete | |
| Invalidated copy constructor. | |
Private Attributes | |
| MFXButtonTooltip * | myCurrentButton = nullptr |
| current button | |
| MFXButtonTooltip * | myOpenFilenameButton = nullptr |
| filename button | |
| MFXLabelTooltip * | myParameterLabel = nullptr |
| parameter label | |
| FXButton * | myResetButton = nullptr |
| reset button | |
sumo config argument
Definition at line 350 of file GNEPythonToolDialogElements.h.
| GNEPythonToolDialogElements::SumoConfigArgument::SumoConfigArgument | ( | GNEPythonToolDialog * | toolDialogParent, |
| FXVerticalFrame * | argumentFrame, | ||
| const std::string | name, | ||
| Option * | option | ||
| ) |
|
protected |
FOX need this.
Definition at line 556 of file GNEPythonToolDialogElements.cpp.
|
privatedelete |
Invalidated copy constructor.
|
inherited |
get argument
Definition at line 154 of file GNEPythonToolDialogElements.cpp.
|
inherited |
get parameter label
Definition at line 148 of file GNEPythonToolDialogElements.cpp.
|
protectedvirtualinherited |
get value
Implements GNEPythonToolDialogElements::Argument.
Definition at line 261 of file GNEPythonToolDialogElements.cpp.
| long GNEPythonToolDialogElements::SumoConfigArgument::onCmdOpenFilename | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when user press open filename button.
Definition at line 526 of file GNEPythonToolDialogElements.cpp.
References GNEApplicationWindowHelper::openSumoConfigFileDialog().
Referenced by FXDEFMAP().
|
inherited |
Called when user press reset button.
Definition at line 174 of file GNEPythonToolDialogElements.cpp.
Referenced by FXDEFMAP().
|
virtualinherited |
Called when user set filename.
Implements GNEPythonToolDialogElements::Argument.
Definition at line 224 of file GNEPythonToolDialogElements.cpp.
| long GNEPythonToolDialogElements::SumoConfigArgument::onCmdUseCurrentSumoConfigFile | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when user press use current button.
Definition at line 538 of file GNEPythonToolDialogElements.cpp.
References OptionsCont::getOptions().
Referenced by FXDEFMAP().
|
inherited |
Called when user press reset button.
Definition at line 182 of file GNEPythonToolDialogElements.cpp.
Referenced by FXDEFMAP().
| long GNEPythonToolDialogElements::SumoConfigArgument::onUpdUseCurrentSumoConfigFile | ( | FXObject * | sender, |
| FXSelector | , | ||
| void * | |||
| ) |
enable or disable use current button
Definition at line 545 of file GNEPythonToolDialogElements.cpp.
References OptionsCont::getOptions().
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
inherited |
check if required attribute is set
Definition at line 164 of file GNEPythonToolDialogElements.cpp.
|
virtualinherited |
reset to default value
Implements GNEPythonToolDialogElements::Argument.
Definition at line 204 of file GNEPythonToolDialogElements.cpp.
|
privateinherited |
current button
Definition at line 213 of file GNEPythonToolDialogElements.h.
Referenced by GNEPythonToolDialogElements::FileNameArgument::FileNameArgument().
|
protectedinherited |
default value
Definition at line 114 of file GNEPythonToolDialogElements.h.
|
protectedinherited |
auxiliar elements frame
Definition at line 117 of file GNEPythonToolDialogElements.h.
Referenced by GNEPythonToolDialogElements::Argument::Argument(), GNEPythonToolDialogElements::BoolArgument::BoolArgument(), GNEPythonToolDialogElements::EdgeArgument::EdgeArgument(), GNEPythonToolDialogElements::EdgeVectorArgument::EdgeVectorArgument(), GNEPythonToolDialogElements::FileNameArgument::FileNameArgument(), GNEPythonToolDialogElements::FloatArgument::FloatArgument(), GNEPythonToolDialogElements::IntArgument::IntArgument(), and GNEPythonToolDialogElements::StringArgument::StringArgument().
|
protectedinherited |
filename textField
Definition at line 209 of file GNEPythonToolDialogElements.h.
Referenced by GNEPythonToolDialogElements::FileNameArgument::FileNameArgument().
|
privateinherited |
filename button
Definition at line 216 of file GNEPythonToolDialogElements.h.
Referenced by GNEPythonToolDialogElements::FileNameArgument::FileNameArgument().
|
protectedinherited |
option
Definition at line 111 of file GNEPythonToolDialogElements.h.
|
privateinherited |
parameter label
Definition at line 121 of file GNEPythonToolDialogElements.h.
Referenced by GNEPythonToolDialogElements::Argument::Argument().
|
privateinherited |
reset button
Definition at line 124 of file GNEPythonToolDialogElements.h.
Referenced by GNEPythonToolDialogElements::Argument::Argument().
|
protectedinherited |
tool dialog parent
Definition at line 108 of file GNEPythonToolDialogElements.h.