![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNECrossingFrame.h>
Public Member Functions | |
void | disableEdgeSelector () |
disable edgeSelector More... | |
EdgesSelector (GNECrossingFrame *crossingFrameParent) | |
FOX-declaration. More... | |
void | enableEdgeSelector (GNEJunction *currentJunction) |
enable edgeSelector More... | |
GNEJunction * | getCurrentJunction () const |
get current junction More... | |
void | restoreEdgeColors () |
restore colors of all edges More... | |
~EdgesSelector () | |
destructor More... | |
FOX-callbacks | |
called when useSelectedEdges button edge is pressed | |
long | onCmdUseSelectedEdges (FXObject *, FXSelector, void *) |
long | onCmdClearSelection (FXObject *, FXSelector, void *) |
called when clear selection button is pressed More... | |
long | onCmdInvertSelection (FXObject *, FXSelector, void *) |
called when invert selection button is pressed More... | |
Private Attributes | |
FXButton * | myClearEdgesSelection |
button for clear selection More... | |
GNECrossingFrame * | myCrossingFrameParent |
pointer to GNECrossingFrame parent More... | |
GNEJunction * | myCurrentJunction |
current Junction More... | |
FXButton * | myInvertEdgesSelection |
button for invert selection More... | |
FXButton * | myUseSelectedEdges |
CheckBox for selected edges. More... | |
Definition at line 60 of file GNECrossingFrame.h.
GNECrossingFrame::EdgesSelector::EdgesSelector | ( | GNECrossingFrame * | crossingFrameParent | ) |
FOX-declaration.
constructor
Definition at line 93 of file GNECrossingFrame.cpp.
References GUIDesignButton, MID_GNE_ADDITIONALFRAME_CLEARSELECTION, MID_GNE_ADDITIONALFRAME_INVERTSELECTION, MID_GNE_ADDITIONALFRAME_USESELECTED, myClearEdgesSelection, myInvertEdgesSelection, myUseSelectedEdges, SUMO_TAG_EDGE, and toString().
GNECrossingFrame::EdgesSelector::~EdgesSelector | ( | ) |
destructor
Definition at line 109 of file GNECrossingFrame.cpp.
void GNECrossingFrame::EdgesSelector::disableEdgeSelector | ( | ) |
disable edgeSelector
Definition at line 140 of file GNECrossingFrame.cpp.
References GNECrossingFrame::myCurrentJunction.
Referenced by GNECrossingFrame::addCrossing(), and GNECrossingFrame::GNECrossingFrame().
void GNECrossingFrame::EdgesSelector::enableEdgeSelector | ( | GNEJunction * | currentJunction | ) |
enable edgeSelector
Definition at line 119 of file GNECrossingFrame.cpp.
References GNECrossingFrame::myCurrentJunction.
Referenced by GNECrossingFrame::addCrossing().
GNEJunction * GNECrossingFrame::EdgesSelector::getCurrentJunction | ( | ) | const |
get current junction
Definition at line 113 of file GNECrossingFrame.cpp.
References GNECrossingFrame::myCurrentJunction.
Referenced by GNECrossingFrame::createCrossingHotkey().
long GNECrossingFrame::EdgesSelector::onCmdClearSelection | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when clear selection button is pressed
Definition at line 174 of file GNECrossingFrame.cpp.
Referenced by FXDEFMAP().
long GNECrossingFrame::EdgesSelector::onCmdInvertSelection | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
called when invert selection button is pressed
Definition at line 181 of file GNECrossingFrame.cpp.
References GNECrossingFrame::myCurrentJunction.
Referenced by FXDEFMAP().
long GNECrossingFrame::EdgesSelector::onCmdUseSelectedEdges | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 167 of file GNECrossingFrame.cpp.
References GNECrossingFrame::myCurrentJunction.
Referenced by FXDEFMAP().
void GNECrossingFrame::EdgesSelector::restoreEdgeColors | ( | ) |
restore colors of all edges
Definition at line 153 of file GNECrossingFrame.cpp.
References GNECrossingFrame::myCurrentJunction.
Referenced by GNECrossingFrame::addCrossing(), and GNECrossingFrame::hide().
|
private |
button for clear selection
Definition at line 106 of file GNECrossingFrame.h.
Referenced by EdgesSelector().
|
private |
pointer to GNECrossingFrame parent
Definition at line 100 of file GNECrossingFrame.h.
|
private |
current Junction
Definition at line 112 of file GNECrossingFrame.h.
|
private |
button for invert selection
Definition at line 109 of file GNECrossingFrame.h.
Referenced by EdgesSelector().
|
private |
CheckBox for selected edges.
Definition at line 103 of file GNECrossingFrame.h.
Referenced by EdgesSelector().