Eclipse SUMO - Simulation of Urban MObility
GNEConnectorFrame::ConnectionOperations Class Reference

#include <GNEConnectorFrame.h>

Inheritance diagram for GNEConnectorFrame::ConnectionOperations:
Collaboration diagram for GNEConnectorFrame::ConnectionOperations:

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...
 
GNEConnectorFramemyConnectorFrameParent
 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...
 

Detailed Description

Definition at line 105 of file GNEConnectorFrame.h.

Constructor & Destructor Documentation

◆ ConnectionOperations()

◆ ~ConnectionOperations()

GNEConnectorFrame::ConnectionOperations::~ConnectionOperations ( )

destructor

Definition at line 181 of file GNEConnectorFrame.cpp.

Member Function Documentation

◆ onCmdClearSelectedConnections()

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().

Referenced by FXDEFMAP().

◆ onCmdResetSelectedConnections()

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.

Referenced by FXDEFMAP().

◆ onCmdSelectConflicts()

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.

Referenced by FXDEFMAP().

◆ onCmdSelectDeadEnds()

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.

Referenced by FXDEFMAP().

◆ onCmdSelectDeadStarts()

long GNEConnectorFrame::ConnectionOperations::onCmdSelectDeadStarts ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdSelectPass()

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.

Referenced by FXDEFMAP().

Field Documentation

◆ myClearSelectedButton

FXButton* GNEConnectorFrame::ConnectionOperations::myClearSelectedButton
private

"Clear Selected"

Definition at line 158 of file GNEConnectorFrame.h.

Referenced by ConnectionOperations().

◆ myConnectorFrameParent

GNEConnectorFrame* GNEConnectorFrame::ConnectionOperations::myConnectorFrameParent
private

pointer to connectorFrame parent

Definition at line 143 of file GNEConnectorFrame.h.

◆ myResetSelectedButton

FXButton* GNEConnectorFrame::ConnectionOperations::myResetSelectedButton
private

"Reset Selected"

Definition at line 161 of file GNEConnectorFrame.h.

Referenced by ConnectionOperations().

◆ mySelectConflictsButton

FXButton* GNEConnectorFrame::ConnectionOperations::mySelectConflictsButton
private

"Select Conflicts" button

Definition at line 152 of file GNEConnectorFrame.h.

Referenced by ConnectionOperations().

◆ mySelectDeadEndsButton

FXButton* GNEConnectorFrame::ConnectionOperations::mySelectDeadEndsButton
private

"Select Dead Ends" button

Definition at line 146 of file GNEConnectorFrame.h.

Referenced by ConnectionOperations().

◆ mySelectDeadStartsButton

FXButton* GNEConnectorFrame::ConnectionOperations::mySelectDeadStartsButton
private

"Select Dead Starts" button

Definition at line 149 of file GNEConnectorFrame.h.

Referenced by ConnectionOperations().

◆ mySelectPassingButton

FXButton* GNEConnectorFrame::ConnectionOperations::mySelectPassingButton
private

"Select Edges which may always pass"

Definition at line 155 of file GNEConnectorFrame.h.

Referenced by ConnectionOperations().


The documentation for this class was generated from the following files: