![]() |
SUMO - Simulation of Urban MObility
|
#include <GNESelectorFrame.h>
Public Types | |
enum | ElementSetType { ELEMENTSET_NETELEMENT = 1, ELEMENTSET_ADDITIONAL = 2, ELEMENTSET_SHAPE = 3, ELEMENTSET_INVALID = 4 } |
FOX-declaration. More... | |
Public Member Functions | |
ElementSet (GNESelectorFrame *selectorFrameParent) | |
constructor More... | |
ElementSetType | getElementSet () const |
get current selected element set More... | |
~ElementSet () | |
destructor More... | |
FOX-callbacks | |
long | onCmdSelectElementSet (FXObject *, FXSelector, void *) |
Called when the user change the set of element to search (netElement, Additional or shape) More... | |
Protected Member Functions | |
ElementSet () | |
FOX needs this. More... | |
Private Attributes | |
ElementSetType | myCurrentElementSet |
current element set selected More... | |
GNESelectorFrame * | mySelectorFrameParent |
pointer to Selector Frame Parent More... | |
FXComboBox * | mySetComboBox |
Combo Box with the element sets. More... | |
Definition at line 172 of file GNESelectorFrame.h.
FOX-declaration.
type of Set
Enumerator | |
---|---|
ELEMENTSET_NETELEMENT | |
ELEMENTSET_ADDITIONAL | |
ELEMENTSET_SHAPE | |
ELEMENTSET_INVALID |
Definition at line 178 of file GNESelectorFrame.h.
GNESelectorFrame::ElementSet::ElementSet | ( | GNESelectorFrame * | selectorFrameParent | ) |
constructor
Definition at line 454 of file GNESelectorFrame.cpp.
References GUIDesignComboBox, GUIDesignComboBoxNCol, MID_CHOOSEN_ELEMENTS, and mySetComboBox.
GNESelectorFrame::ElementSet::~ElementSet | ( | ) |
destructor
Definition at line 467 of file GNESelectorFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 204 of file GNESelectorFrame.h.
GNESelectorFrame::ElementSet::ElementSetType GNESelectorFrame::ElementSet::getElementSet | ( | ) | const |
get current selected element set
Definition at line 471 of file GNESelectorFrame.cpp.
References myCurrentElementSet.
Referenced by GNESelectorFrame::MatchAttribute::enableMatchAttribute(), and GNESelectorFrame::MatchAttribute::onCmdSelMBTag().
long GNESelectorFrame::ElementSet::onCmdSelectElementSet | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Called when the user change the set of element to search (netElement, Additional or shape)
Definition at line 477 of file GNESelectorFrame.cpp.
References GNESelectorFrame::MatchAttribute::disableMatchAttribute(), ELEMENTSET_ADDITIONAL, ELEMENTSET_INVALID, ELEMENTSET_NETELEMENT, ELEMENTSET_SHAPE, GNESelectorFrame::MatchAttribute::enableMatchAttribute(), myCurrentElementSet, GNESelectorFrame::myMatchAttribute, mySelectorFrameParent, and mySetComboBox.
|
private |
current element set selected
Definition at line 214 of file GNESelectorFrame.h.
Referenced by getElementSet(), and onCmdSelectElementSet().
|
private |
pointer to Selector Frame Parent
Definition at line 208 of file GNESelectorFrame.h.
Referenced by onCmdSelectElementSet().
|
private |
Combo Box with the element sets.
Definition at line 211 of file GNESelectorFrame.h.
Referenced by ElementSet(), and onCmdSelectElementSet().