Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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.
 
 ~GNEFixNetworkElements ()
 destructor
 
FOX-callbacks

event when user select a option

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

Protected Attributes

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

Private Member Functions

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

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: