Eclipse SUMO - Simulation of Urban MObility
GNEFixNetworkElements Class Reference

Dialog fix network elements. More...

#include <GNEFixNetworkElements.h>

Inheritance diagram for GNEFixNetworkElements:
[legend]
Collaboration diagram for GNEFixNetworkElements:
[legend]

Data Structures

class  Buttons
 horizontal frame for buttons More...
 
class  FixCrossingOptions
 groupbox for all radio buttons related with fix crossing options More...
 
class  FixEdgeOptions
 groupbox for all radio buttons related with fix edges options More...
 
class  FixOptions
 FOX need this. More...
 

Public Member Functions

 GNEFixNetworkElements (GNEViewNet *viewNet, const std::vector< GNENetworkElement * > &invalidNetworkElements)
 FOX-declaration. More...
 
 ~GNEFixNetworkElements ()
 destructor More...
 
FOX-callbacks

event when user select a option

long onCmdSelectOption (FXObject *obj, FXSelector, void *)
 
long onCmdAccept (FXObject *, FXSelector, void *)
 event after press accept button More...
 
long onCmdCancel (FXObject *, FXSelector, void *)
 event after press cancel button More...
 

Protected Attributes

ButtonsmyButtons = nullptr
 buttons More...
 
FixCrossingOptionsmyFixCrossingOptions = nullptr
 fix crossing options More...
 
FixEdgeOptionsmyFixEdgeOptions = nullptr
 fix edge options More...
 
FXVerticalFrame * myLeftFrame = nullptr
 vertical left frame More...
 
FXVerticalFrame * myMainFrame = nullptr
 main frame More...
 
FXVerticalFrame * myRightFrame = nullptr
 vertical right frame More...
 
GNEViewNetmyViewNet = nullptr
 view net More...
 

Private Member Functions

 GNEFixNetworkElements (const GNEFixNetworkElements &)=delete
 Invalidated copy constructor. More...
 
GNEFixNetworkElementsoperator= (const GNEFixNetworkElements &)=delete
 Invalidated assignment operator. More...
 

Detailed Description

Dialog fix network elements.

Definition at line 39 of file GNEFixNetworkElements.h.

Constructor & Destructor Documentation

◆ GNEFixNetworkElements() [1/2]

GNEFixNetworkElements::GNEFixNetworkElements ( GNEViewNet viewNet,
const std::vector< GNENetworkElement * > &  invalidNetworkElements 
)

FOX-declaration.

Constructor

Definition at line 51 of file GNEFixNetworkElements.cpp.

References GUIIconSubSys::getIcon(), GUIDesignAuxiliarFrame, SUMO_TAG_CROSSING, SUMO_TAG_EDGE, and SUPERMODEDEMAND.

◆ ~GNEFixNetworkElements()

GNEFixNetworkElements::~GNEFixNetworkElements ( )

destructor

Definition at line 84 of file GNEFixNetworkElements.cpp.

◆ GNEFixNetworkElements() [2/2]

GNEFixNetworkElements::GNEFixNetworkElements ( const GNEFixNetworkElements )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ onCmdAccept()

long GNEFixNetworkElements::onCmdAccept ( FXObject *  ,
FXSelector  ,
void *   
)

event after press accept button

Definition at line 98 of file GNEFixNetworkElements.cpp.

References GNEFixNetworkElements::FixEdgeOptions::fixElements(), GNEFixNetworkElements::FixCrossingOptions::fixElements(), myFixCrossingOptions, and myFixEdgeOptions.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCancel()

long GNEFixNetworkElements::onCmdCancel ( FXObject *  ,
FXSelector  ,
void *   
)

event after press cancel button

Definition at line 116 of file GNEFixNetworkElements.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSelectOption()

long GNEFixNetworkElements::onCmdSelectOption ( FXObject *  obj,
FXSelector  ,
void *   
)

Definition at line 89 of file GNEFixNetworkElements.cpp.

References myFixCrossingOptions, myFixEdgeOptions, GNEFixNetworkElements::FixEdgeOptions::selectOption(), and GNEFixNetworkElements::FixCrossingOptions::selectOption().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ operator=()

GNEFixNetworkElements& GNEFixNetworkElements::operator= ( const GNEFixNetworkElements )
privatedelete

Invalidated assignment operator.

Field Documentation

◆ myButtons

Buttons* GNEFixNetworkElements::myButtons = nullptr
protected

buttons

Definition at line 199 of file GNEFixNetworkElements.h.

◆ myFixCrossingOptions

FixCrossingOptions* GNEFixNetworkElements::myFixCrossingOptions = nullptr
protected

fix crossing options

Definition at line 196 of file GNEFixNetworkElements.h.

Referenced by onCmdAccept(), and onCmdSelectOption().

◆ myFixEdgeOptions

FixEdgeOptions* GNEFixNetworkElements::myFixEdgeOptions = nullptr
protected

fix edge options

Definition at line 193 of file GNEFixNetworkElements.h.

Referenced by onCmdAccept(), and onCmdSelectOption().

◆ myLeftFrame

FXVerticalFrame* GNEFixNetworkElements::myLeftFrame = nullptr
protected

vertical left frame

Definition at line 187 of file GNEFixNetworkElements.h.

◆ myMainFrame

FXVerticalFrame* GNEFixNetworkElements::myMainFrame = nullptr
protected

main frame

Definition at line 184 of file GNEFixNetworkElements.h.

◆ myRightFrame

FXVerticalFrame* GNEFixNetworkElements::myRightFrame = nullptr
protected

vertical right frame

Definition at line 190 of file GNEFixNetworkElements.h.

◆ myViewNet

GNEViewNet* GNEFixNetworkElements::myViewNet = nullptr
protected

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