Eclipse SUMO - Simulation of Urban MObility
|
Dialog fix network elements. More...
#include <GNEFixNetworkElements.h>
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 | |
Buttons * | myButtons = nullptr |
buttons | |
FixCrossingOptions * | myFixCrossingOptions = nullptr |
fix crossing options | |
FixEdgeOptions * | myFixEdgeOptions = nullptr |
fix edge options | |
FXVerticalFrame * | myLeftFrame = nullptr |
vertical left frame | |
FXVerticalFrame * | myMainFrame = nullptr |
main frame | |
FXVerticalFrame * | myRightFrame = nullptr |
vertical right frame | |
GNEViewNet * | myViewNet = nullptr |
view net | |
Private Member Functions | |
GNEFixNetworkElements (const GNEFixNetworkElements &)=delete | |
Invalidated copy constructor. | |
GNEFixNetworkElements & | operator= (const GNEFixNetworkElements &)=delete |
Invalidated assignment operator. | |
Dialog fix network elements.
Definition at line 39 of file GNEFixNetworkElements.h.
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 | ( | ) |
destructor
Definition at line 84 of file GNEFixNetworkElements.cpp.
|
privatedelete |
Invalidated copy constructor.
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().
long GNEFixNetworkElements::onCmdCancel | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event after press cancel button
Definition at line 116 of file GNEFixNetworkElements.cpp.
Referenced by FXDEFMAP().
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().
|
privatedelete |
Invalidated assignment operator.
|
protected |
buttons
Definition at line 199 of file GNEFixNetworkElements.h.
|
protected |
fix crossing options
Definition at line 196 of file GNEFixNetworkElements.h.
Referenced by onCmdAccept(), and onCmdSelectOption().
|
protected |
fix edge options
Definition at line 193 of file GNEFixNetworkElements.h.
Referenced by onCmdAccept(), and onCmdSelectOption().
|
protected |
vertical left frame
Definition at line 187 of file GNEFixNetworkElements.h.
|
protected |
main frame
Definition at line 184 of file GNEFixNetworkElements.h.
|
protected |
vertical right frame
Definition at line 190 of file GNEFixNetworkElements.h.
|
protected |
view net
Definition at line 181 of file GNEFixNetworkElements.h.
Referenced by GNEFixNetworkElements::FixEdgeOptions::fixElements(), and GNEFixNetworkElements::FixCrossingOptions::fixElements().