![]() |
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... | |
Protected Member Functions | |
| ConnectionOperations () | |
| FOX needs this. 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 102 of file GNEConnectorFrame.h.
| GNEConnectorFrame::ConnectionOperations::ConnectionOperations | ( | GNEConnectorFrame * | connectorFrameParent | ) |
FOX-declaration.
constructor
Definition at line 142 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 167 of file GNEConnectorFrame.cpp.
|
inlineprotected |
FOX needs this.
Definition at line 137 of file GNEConnectorFrame.h.
| long GNEConnectorFrame::ConnectionOperations::onCmdClearSelectedConnections | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user presses the clear selected connections button.
Definition at line 254 of file GNEConnectorFrame.cpp.
References GNEAttributeCarrier::FEATURE_MODIFIED, GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), GNEConnectorFrame::myConnectionModifications, myConnectorFrameParent, GNEConnectorFrame::ConnectionModifications::onCmdCancelModifications(), GNEUndoList::p_begin(), GNEUndoList::p_end(), GNEConnectorFrame::removeConnections(), GNENet::retrieveEdges(), GNENet::retrieveJunctions(), GNENet::retrieveLanes(), 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 281 of file GNEConnectorFrame.cpp.
References GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), GNEConnectorFrame::myConnectionModifications, myConnectorFrameParent, GNEConnectorFrame::ConnectionModifications::onCmdCancelModifications(), GNEUndoList::p_begin(), GNEUndoList::p_end(), and GNENet::retrieveJunctions().
| long GNEConnectorFrame::ConnectionOperations::onCmdSelectConflicts | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user presses the select conflicts button.
Definition at line 214 of file GNEConnectorFrame.cpp.
References GNEEdge::getLanes(), GNEViewNet::getNet(), GNEViewParent::getSelectorFrame(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), GNESelectorFrame::handleIDs(), myConnectorFrameParent, GNENet::retrieveEdge(), GNENet::retrieveEdges(), 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 171 of file GNEConnectorFrame.cpp.
References GNEViewNet::getNet(), GNEViewParent::getSelectorFrame(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), GNESelectorFrame::handleIDs(), myConnectorFrameParent, GNENet::retrieveEdges(), and GNESelectorFrame::ModificationMode::SET_REPLACE.
| long GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts | ( | FXObject * | , |
| FXSelector | , | ||
| void * | |||
| ) |
Called when the user presses the select dead starts button.
Definition at line 188 of file GNEConnectorFrame.cpp.
References NBEdge::getConnections(), GNEEdge::getLanes(), GNEEdge::getNBEdge(), GNEViewNet::getNet(), GNEViewParent::getSelectorFrame(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), GNESelectorFrame::handleIDs(), myConnectorFrameParent, 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 238 of file GNEConnectorFrame.cpp.
References GNEViewNet::getNet(), GNEViewParent::getSelectorFrame(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), GNESelectorFrame::handleIDs(), myConnectorFrameParent, GNENet::retrieveEdges(), and GNESelectorFrame::ModificationMode::SET_REPLACE.
|
private |
"Clear Selected"
Definition at line 156 of file GNEConnectorFrame.h.
Referenced by ConnectionOperations().
|
private |
pointer to connectorFrame parent
Definition at line 141 of file GNEConnectorFrame.h.
Referenced by onCmdClearSelectedConnections(), onCmdResetSelectedConnections(), onCmdSelectConflicts(), onCmdSelectDeadEnds(), onCmdSelectDeadStarts(), and onCmdSelectPass().
|
private |
"Reset Selected"
Definition at line 159 of file GNEConnectorFrame.h.
Referenced by ConnectionOperations().
|
private |
"Select Conflicts" button
Definition at line 150 of file GNEConnectorFrame.h.
Referenced by ConnectionOperations().
|
private |
"Select Dead Ends" button
Definition at line 144 of file GNEConnectorFrame.h.
Referenced by ConnectionOperations().
|
private |
"Select Dead Starts" button
Definition at line 147 of file GNEConnectorFrame.h.
Referenced by ConnectionOperations().
|
private |
"Select Edges which may always pass"
Definition at line 153 of file GNEConnectorFrame.h.
Referenced by ConnectionOperations().