![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNESelectorFrame.h>
Public Member Functions | |
void | disableMatchGenericDataAttribute () |
disable match attributes More... | |
void | enableMatchGenericDataAttribute () |
enable match attributes More... | |
void | hideMatchGenericDataAttribute () |
hide match attributes More... | |
MatchGenericDataAttribute (GNESelectorFrame *selectorFrameParent) | |
FOX-declaration. More... | |
void | showMatchGenericDataAttribute () |
show match attributes More... | |
~MatchGenericDataAttribute () | |
destructor More... | |
FOX-callbacks | |
long | onCmdSetInterval (FXObject *, FXSelector, void *) |
Called when the user selects an interval. More... | |
long | onCmdSetBegin (FXObject *, FXSelector, void *) |
Called when the user change begin text field. More... | |
long | onCmdSetEnd (FXObject *, FXSelector, void *) |
Called when the user change end text field. More... | |
long | onCmdSelectTag (FXObject *, FXSelector, void *) |
Called when the user selects a tag in the match box. More... | |
long | onCmdSelectAttribute (FXObject *, FXSelector, void *) |
Called when the user selects an attribute in the match box. More... | |
long | onCmdProcessString (FXObject *, FXSelector, void *) |
Called when the user enters a new selection expression. More... | |
long | onCmdHelp (FXObject *, FXSelector, void *) |
Called when the user clicks the help button. More... | |
Private Attributes | |
FXTextField * | myBegin |
TextField for begin. More... | |
std::string | myCurrentAttribute |
current string Attribute More... | |
SumoXMLTag | myCurrentTag |
current SumoXMLTag tag More... | |
FXTextField * | myEnd |
TextField for end. More... | |
std::map< std::pair< double, double >, int > | myIntervals |
FXComboBox * | myIntervalSelector |
tag of the match box More... | |
FXComboBox * | myMatchGenericDataAttrComboBox |
attributes of the match box More... | |
FXTextField * | myMatchGenericDataString |
string of the match More... | |
FXComboBox * | myMatchGenericDataTagComboBox |
tag of the match box More... | |
GNESelectorFrame * | mySelectorFrameParent |
pointer to Selector Frame Parent More... | |
Definition at line 322 of file GNESelectorFrame.h.
GNESelectorFrame::MatchGenericDataAttribute::MatchGenericDataAttribute | ( | GNESelectorFrame * | selectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 793 of file GNESelectorFrame.cpp.
References enableMatchGenericDataAttribute(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonRectangular, GUIDesignComboBox, GUIDesignComboBoxNCol, GUIDesignComboBoxStaticExtended, GUIDesignLabelThick, GUIDesignTextField, GUIDesignTextFieldNCol, MID_GNE_SELECTORFRAME_PROCESSSTRING, MID_GNE_SELECTORFRAME_SELECTATTRIBUTE, MID_GNE_SELECTORFRAME_SELECTTAG, MID_GNE_SELECTORFRAME_SETBEGIN, MID_GNE_SELECTORFRAME_SETEND, MID_GNE_SELECTORFRAME_SETINTERVAL, MID_HELP, myBegin, myCurrentAttribute, myEnd, myIntervalSelector, myMatchGenericDataAttrComboBox, myMatchGenericDataString, myMatchGenericDataTagComboBox, and SUMO_ATTR_SPEED.
GNESelectorFrame::MatchGenericDataAttribute::~MatchGenericDataAttribute | ( | ) |
destructor
Definition at line 828 of file GNESelectorFrame.cpp.
void GNESelectorFrame::MatchGenericDataAttribute::disableMatchGenericDataAttribute | ( | ) |
disable match attributes
Definition at line 887 of file GNESelectorFrame.cpp.
void GNESelectorFrame::MatchGenericDataAttribute::enableMatchGenericDataAttribute | ( | ) |
enable match attributes
Definition at line 832 of file GNESelectorFrame.cpp.
References GNEAttributeCarrier::getAllowedTagsByCategory(), SUMO_ATTR_BEGIN, SUMO_ATTR_END, and toString().
Referenced by MatchGenericDataAttribute().
void GNESelectorFrame::MatchGenericDataAttribute::hideMatchGenericDataAttribute | ( | ) |
hide match attributes
Definition at line 910 of file GNESelectorFrame.cpp.
References GNESelectorFrame::hide().
long GNESelectorFrame::MatchGenericDataAttribute::onCmdHelp | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user clicks the help button.
Definition at line 1116 of file GNESelectorFrame.cpp.
References ACCEPT, GUIIconSubSys::getIcon(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBox, GUIDesignHorizontalSeparator, GUIDesignLabelFrameInformation, MODEADDITIONAL, and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNESelectorFrame::MatchGenericDataAttribute::onCmdProcessString | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user enters a new selection expression.
Definition at line 1060 of file GNESelectorFrame.cpp.
References GNE_ATTR_DATASET, and toString().
Referenced by FXDEFMAP().
long GNESelectorFrame::MatchGenericDataAttribute::onCmdSelectAttribute | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user selects an attribute in the match box.
Definition at line 1031 of file GNESelectorFrame.cpp.
References GNE_ATTR_DATASET, and toString().
Referenced by FXDEFMAP().
long GNESelectorFrame::MatchGenericDataAttribute::onCmdSelectTag | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user selects a tag in the match box.
Definition at line 988 of file GNESelectorFrame.cpp.
References GNEAttributeCarrier::getAllowedTagsByCategory(), GNE_ATTR_DATASET, SUMO_TAG_NOTHING, and toString().
Referenced by FXDEFMAP().
long GNESelectorFrame::MatchGenericDataAttribute::onCmdSetBegin | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user change begin text field.
Definition at line 936 of file GNESelectorFrame.cpp.
Referenced by FXDEFMAP().
long GNESelectorFrame::MatchGenericDataAttribute::onCmdSetEnd | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user change end text field.
Definition at line 962 of file GNESelectorFrame.cpp.
Referenced by FXDEFMAP().
long GNESelectorFrame::MatchGenericDataAttribute::onCmdSetInterval | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user selects an interval.
Definition at line 917 of file GNESelectorFrame.cpp.
References toString().
Referenced by FXDEFMAP().
void GNESelectorFrame::MatchGenericDataAttribute::showMatchGenericDataAttribute | ( | ) |
show match attributes
Definition at line 903 of file GNESelectorFrame.cpp.
References GNESelectorFrame::show().
|
private |
TextField for begin.
Definition at line 382 of file GNESelectorFrame.h.
Referenced by MatchGenericDataAttribute().
|
private |
current string Attribute
Definition at line 397 of file GNESelectorFrame.h.
Referenced by MatchGenericDataAttribute().
|
private |
current SumoXMLTag tag
Definition at line 394 of file GNESelectorFrame.h.
|
private |
TextField for end.
Definition at line 385 of file GNESelectorFrame.h.
Referenced by MatchGenericDataAttribute().
|
private |
Definition at line 403 of file GNESelectorFrame.h.
|
private |
tag of the match box
Definition at line 379 of file GNESelectorFrame.h.
Referenced by MatchGenericDataAttribute().
|
private |
attributes of the match box
Definition at line 391 of file GNESelectorFrame.h.
Referenced by MatchGenericDataAttribute().
|
private |
string of the match
Definition at line 400 of file GNESelectorFrame.h.
Referenced by MatchGenericDataAttribute().
|
private |
tag of the match box
Definition at line 388 of file GNESelectorFrame.h.
Referenced by MatchGenericDataAttribute().
|
private |
pointer to Selector Frame Parent
Definition at line 376 of file GNESelectorFrame.h.