Eclipse SUMO - Simulation of Urban MObility
GNECrossingFrame::EdgesSelector Class Reference

#include <GNECrossingFrame.h>

Inheritance diagram for GNECrossingFrame::EdgesSelector:
[legend]
Collaboration diagram for GNECrossingFrame::EdgesSelector:
[legend]

Public Member Functions

void disableEdgeSelector ()
 disable edgeSelector More...
 
 EdgesSelector (GNECrossingFrame *crossingFrameParent)
 FOX-declaration. More...
 
void enableEdgeSelector (GNEJunction *currentJunction)
 enable edgeSelector More...
 
GNEJunctiongetCurrentJunction () 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...
 
GNECrossingFramemyCrossingFrameParent
 pointer to GNECrossingFrame parent More...
 
GNEJunctionmyCurrentJunction
 current Junction More...
 
FXButton * myInvertEdgesSelection
 button for invert selection More...
 
FXButton * myUseSelectedEdges
 CheckBox for selected edges. More...
 

Detailed Description

Definition at line 60 of file GNECrossingFrame.h.

Constructor & Destructor Documentation

◆ EdgesSelector()

GNECrossingFrame::EdgesSelector::EdgesSelector ( GNECrossingFrame crossingFrameParent)

◆ ~EdgesSelector()

GNECrossingFrame::EdgesSelector::~EdgesSelector ( )

destructor

Definition at line 109 of file GNECrossingFrame.cpp.

Member Function Documentation

◆ disableEdgeSelector()

void GNECrossingFrame::EdgesSelector::disableEdgeSelector ( )

disable edgeSelector

Definition at line 140 of file GNECrossingFrame.cpp.

References GNECrossingFrame::myCurrentJunction.

Referenced by GNECrossingFrame::addCrossing(), and GNECrossingFrame::GNECrossingFrame().

Here is the caller graph for this function:

◆ enableEdgeSelector()

void GNECrossingFrame::EdgesSelector::enableEdgeSelector ( GNEJunction currentJunction)

enable edgeSelector

Definition at line 119 of file GNECrossingFrame.cpp.

References GNECrossingFrame::myCurrentJunction.

Referenced by GNECrossingFrame::addCrossing().

Here is the caller graph for this function:

◆ getCurrentJunction()

GNEJunction * GNECrossingFrame::EdgesSelector::getCurrentJunction ( ) const

get current junction

Definition at line 113 of file GNECrossingFrame.cpp.

References GNECrossingFrame::myCurrentJunction.

Referenced by GNECrossingFrame::createCrossingHotkey().

Here is the caller graph for this function:

◆ onCmdClearSelection()

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

Here is the caller graph for this function:

◆ onCmdInvertSelection()

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

Here is the caller graph for this function:

◆ onCmdUseSelectedEdges()

long GNECrossingFrame::EdgesSelector::onCmdUseSelectedEdges ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 167 of file GNECrossingFrame.cpp.

References GNECrossingFrame::myCurrentJunction.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ restoreEdgeColors()

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

Here is the caller graph for this function:

Field Documentation

◆ myClearEdgesSelection

FXButton* GNECrossingFrame::EdgesSelector::myClearEdgesSelection
private

button for clear selection

Definition at line 106 of file GNECrossingFrame.h.

Referenced by EdgesSelector().

◆ myCrossingFrameParent

GNECrossingFrame* GNECrossingFrame::EdgesSelector::myCrossingFrameParent
private

pointer to GNECrossingFrame parent

Definition at line 100 of file GNECrossingFrame.h.

◆ myCurrentJunction

GNEJunction* GNECrossingFrame::EdgesSelector::myCurrentJunction
private

current Junction

Definition at line 112 of file GNECrossingFrame.h.

◆ myInvertEdgesSelection

FXButton* GNECrossingFrame::EdgesSelector::myInvertEdgesSelection
private

button for invert selection

Definition at line 109 of file GNECrossingFrame.h.

Referenced by EdgesSelector().

◆ myUseSelectedEdges

FXButton* GNECrossingFrame::EdgesSelector::myUseSelectedEdges
private

CheckBox for selected edges.

Definition at line 103 of file GNECrossingFrame.h.

Referenced by EdgesSelector().


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