![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEFrameAttributesModuls.h>
Public Member Functions | |
| Parameterised::ParameterisedAttrType | getAttrType () const |
| get current parameter type More... | |
| GNEFrame * | getFrameParent () const |
| pointer to frame parent More... | |
| std::vector< std::pair< std::string, std::string > > | getParameters () const |
| get parameters as vector of strings More... | |
| const std::map< std::string, std::string > & | getParametersMap () const |
| get parameters as map More... | |
| std::string | getParametersStr () const |
| get parameters as string More... | |
| void | hideParametersEditorCreator () |
| hide netedit attributes EditorCreator More... | |
| ParametersEditorCreator (GNEFrame *frameParent) | |
| FOX-declaration. More... | |
| void | refreshParametersEditorCreator () |
| refresh netedit attributes More... | |
| void | setParameters (const std::vector< std::pair< std::string, std::string > > ¶meters) |
| set parameters More... | |
| void | showParametersEditorCreator () |
| show netedit attributes EditorCreator More... | |
| ~ParametersEditorCreator () | |
| destructor More... | |
FOX-callbacks | |
Called when user clicks over add parameter | |
| long | onCmdEditParameters (FXObject *, FXSelector, void *) |
| long | onCmdSetParameters (FXObject *, FXSelector, void *) |
| Called when user udpate the parameter text field. More... | |
Private Attributes | |
| Parameterised::ParameterisedAttrType | myAttrType |
| flag for parameters type More... | |
| FXButton * | myButtonEditParameters = nullptr |
| button for edit parameters using specific dialog More... | |
| GNEFrame * | myFrameParent = nullptr |
| pointer to frame parent More... | |
| std::map< std::string, std::string > | myParameters |
| pointer to current map of parameters More... | |
| FXTextField * | myTextFieldParameters = nullptr |
| text field for write parameters More... | |
Definition at line 545 of file GNEFrameAttributesModuls.h.
| GNEFrameAttributesModuls::ParametersEditorCreator::ParametersEditorCreator | ( | GNEFrame * | frameParent | ) |
FOX-declaration.
constructor
Definition at line 2099 of file GNEFrameAttributesModuls.cpp.
References GUIDesignButton, GUIDesignTextField, GUIDesignTextFieldNCol, MID_GNE_OPEN_PARAMETERS_DIALOG, MID_GNE_SET_ATTRIBUTE, myButtonEditParameters, and myTextFieldParameters.
| GNEFrameAttributesModuls::ParametersEditorCreator::~ParametersEditorCreator | ( | ) |
destructor
Definition at line 2109 of file GNEFrameAttributesModuls.cpp.
| Parameterised::ParameterisedAttrType GNEFrameAttributesModuls::ParametersEditorCreator::getAttrType | ( | ) | const |
get current parameter type
Definition at line 2191 of file GNEFrameAttributesModuls.cpp.
Referenced by GNESingleParametersDialog::onCmdAccept().
| GNEFrame * GNEFrameAttributesModuls::ParametersEditorCreator::getFrameParent | ( | ) | const |
pointer to frame parent
Definition at line 2185 of file GNEFrameAttributesModuls.cpp.
| std::vector< std::pair< std::string, std::string > > GNEFrameAttributesModuls::ParametersEditorCreator::getParameters | ( | ) | const |
get parameters as vector of strings
Definition at line 2157 of file GNEFrameAttributesModuls.cpp.
Referenced by GNESingleParametersDialog::GNESingleParametersDialog(), and GNESingleParametersDialog::onCmdReset().
| const std::map< std::string, std::string > & GNEFrameAttributesModuls::ParametersEditorCreator::getParametersMap | ( | ) | const |
get parameters as map
Definition at line 2136 of file GNEFrameAttributesModuls.cpp.
Referenced by GNEEdgeDataFrame::addEdgeData(), GNETAZRelDataFrame::addTAZRelationData(), and GNEEdgeRelDataFrame::createPath().
| std::string GNEFrameAttributesModuls::ParametersEditorCreator::getParametersStr | ( | ) | const |
get parameters as string
Definition at line 2142 of file GNEFrameAttributesModuls.cpp.
| void GNEFrameAttributesModuls::ParametersEditorCreator::hideParametersEditorCreator | ( | ) |
hide netedit attributes EditorCreator
Definition at line 2122 of file GNEFrameAttributesModuls.cpp.
| long GNEFrameAttributesModuls::ParametersEditorCreator::onCmdEditParameters | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Definition at line 2197 of file GNEFrameAttributesModuls.cpp.
References WRITE_DEBUG.
Referenced by FXDEFMAP().
| long GNEFrameAttributesModuls::ParametersEditorCreator::onCmdSetParameters | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when user udpate the parameter text field.
Definition at line 2214 of file GNEFrameAttributesModuls.cpp.
References Parameterised::areParametersValid(), and StringTokenizer::getVector().
Referenced by FXDEFMAP().
| void GNEFrameAttributesModuls::ParametersEditorCreator::refreshParametersEditorCreator | ( | ) |
refresh netedit attributes
Definition at line 2129 of file GNEFrameAttributesModuls.cpp.
| void GNEFrameAttributesModuls::ParametersEditorCreator::setParameters | ( | const std::vector< std::pair< std::string, std::string > > & | parameters | ) |
set parameters
Definition at line 2168 of file GNEFrameAttributesModuls.cpp.
Referenced by GNESingleParametersDialog::onCmdAccept().
| void GNEFrameAttributesModuls::ParametersEditorCreator::showParametersEditorCreator | ( | ) |
show netedit attributes EditorCreator
Definition at line 2113 of file GNEFrameAttributesModuls.cpp.
|
private |
flag for parameters type
Definition at line 600 of file GNEFrameAttributesModuls.h.
|
private |
button for edit parameters using specific dialog
Definition at line 609 of file GNEFrameAttributesModuls.h.
Referenced by ParametersEditorCreator().
|
private |
pointer to frame parent
Definition at line 597 of file GNEFrameAttributesModuls.h.
|
private |
pointer to current map of parameters
Definition at line 603 of file GNEFrameAttributesModuls.h.
|
private |
text field for write parameters
Definition at line 606 of file GNEFrameAttributesModuls.h.
Referenced by ParametersEditorCreator().