![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNEConnectorFrame.h>
Public Member Functions | |
| ConnectionOperations (GNEConnectorFrame *connectorFrameParent) | |
| FOX-declaration. More... | |
| ~ConnectionOperations () | |
| destructor More... | |
FOX-callbacks | |
| long | onCmdSelectDeadEnds (FXObject *, FXSelector, void *) |
| Called when the user presses the select dead ends button. More... | |
| long | onCmdSelectDeadStarts (FXObject *, FXSelector, void *) |
| Called when the user presses the select dead starts button. More... | |
| long | onCmdSelectConflicts (FXObject *, FXSelector, void *) |
| Called when the user presses the select conflicts button. More... | |
| long | onCmdSelectPass (FXObject *, FXSelector, void *) |
| Called when the user presses the select pass button. More... | |
| long | onCmdClearSelectedConnections (FXObject *, FXSelector, void *) |
| Called when the user presses the clear selected connections button. More... | |
| long | onCmdResetSelectedConnections (FXObject *, FXSelector, void *) |
| Called when the user presses the reset selected connections button. More... | |
Private Attributes | |
| FXButton * | myClearSelectedButton |
| "Clear Selected" More... | |
| GNEConnectorFrame * | myConnectorFrameParent |
| pointer to connectorFrame parent More... | |
| FXButton * | myResetSelectedButton |
| "Reset Selected" More... | |
| FXButton * | mySelectConflictsButton |
| "Select Conflicts" button More... | |
| FXButton * | mySelectDeadEndsButton |
| "Select Dead Ends" button More... | |
| FXButton * | mySelectDeadStartsButton |
| "Select Dead Starts" button More... | |
| FXButton * | mySelectPassingButton |
| "Select Edges which may always pass" More... | |
Definition at line 105 of file GNEConnectorFrame.h.
| GNEConnectorFrame::ConnectionOperations::ConnectionOperations | ( | GNEConnectorFrame * | connectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 156 of file GNEConnectorFrame.cpp.
References GUIDesignButton, MID_CHOOSEN_CLEAR, MID_CHOOSEN_RESET, MID_GNE_CONNECTORFRAME_SELECTCONFLICTS, MID_GNE_CONNECTORFRAME_SELECTDEADENDS, MID_GNE_CONNECTORFRAME_SELECTDEADSTARTS, MID_GNE_CONNECTORFRAME_SELECTPASS, myClearSelectedButton, myResetSelectedButton, mySelectConflictsButton, mySelectDeadEndsButton, mySelectDeadStartsButton, and mySelectPassingButton.
| GNEConnectorFrame::ConnectionOperations::~ConnectionOperations | ( | ) |
destructor
Definition at line 181 of file GNEConnectorFrame.cpp.
| long GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user presses the clear selected connections button.
Definition at line 272 of file GNEConnectorFrame.cpp.
References GNEAttributeCarrier::FEATURE_MODIFIED, SUMO_TAG_JUNCTION, and toString().
| long GNEConnectorFrame::ConnectionOperations::onCmdResetSelectedConnections | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user presses the reset selected connections button.
Definition at line 299 of file GNEConnectorFrame.cpp.
| long GNEConnectorFrame::ConnectionOperations::onCmdSelectConflicts | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user presses the select conflicts button.
Definition at line 232 of file GNEConnectorFrame.cpp.
References GNEEdge::getLanes(), GNENetElement::getNet(), GNENet::retrieveEdge(), and GNESelectorFrame::ModificationMode::SET_REPLACE.
| long GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadEnds | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user presses the select dead ends button.
Definition at line 185 of file GNEConnectorFrame.cpp.
References GNESelectorFrame::ModificationMode::SET_REPLACE.
| long GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user presses the select dead starts button.
Definition at line 203 of file GNEConnectorFrame.cpp.
References NBEdge::getConnections(), GNEEdge::getLanes(), GNEEdge::getNBEdge(), GNEViewNet::getNet(), GNENet::getViewNet(), GNENet::retrieveEdge(), GNENet::retrieveJunctions(), and GNESelectorFrame::ModificationMode::SET_REPLACE.
| long GNEConnectorFrame::ConnectionOperations::onCmdSelectPass | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user presses the select pass button.
Definition at line 256 of file GNEConnectorFrame.cpp.
References GNESelectorFrame::ModificationMode::SET_REPLACE.
|
private |
"Clear Selected"
Definition at line 158 of file GNEConnectorFrame.h.
Referenced by ConnectionOperations().
|
private |
pointer to connectorFrame parent
Definition at line 143 of file GNEConnectorFrame.h.
|
private |
"Reset Selected"
Definition at line 161 of file GNEConnectorFrame.h.
Referenced by ConnectionOperations().
|
private |
"Select Conflicts" button
Definition at line 152 of file GNEConnectorFrame.h.
Referenced by ConnectionOperations().
|
private |
"Select Dead Ends" button
Definition at line 146 of file GNEConnectorFrame.h.
Referenced by ConnectionOperations().
|
private |
"Select Dead Starts" button
Definition at line 149 of file GNEConnectorFrame.h.
Referenced by ConnectionOperations().
|
private |
"Select Edges which may always pass"
Definition at line 155 of file GNEConnectorFrame.h.
Referenced by ConnectionOperations().