Eclipse SUMO - Simulation of Urban MObility
|
Dialog for edit rerouters. More...
#include <GNEFixAdditionalElements.h>
Data Structures | |
class | AdditionalList |
groupbox for list More... | |
class | ConsecutiveLaneOptions |
groupbox for group all radio buttons related to additionals with consecutive lanes More... | |
class | PositionOptions |
groupbox for group all radio buttons related to additionals with single lanes More... | |
Public Member Functions | |
GNEFixAdditionalElements (GNEViewNet *viewNet, const std::vector< GNEAdditional * > &invalidSingleLaneAdditionals, const std::vector< GNEAdditional * > &invalidMultiLaneAdditionals) | |
FOX-declaration. | |
~GNEFixAdditionalElements () | |
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 | |
FXButton * | myAcceptButton |
accept button | |
AdditionalList * | myAdditionalList |
Additional List. | |
FXButton * | myCancelButton |
cancel button | |
ConsecutiveLaneOptions * | myConsecutiveLaneOptions |
consecutive lane options | |
FXVerticalFrame * | myMainFrame |
main | |
PositionOptions * | myPositionOptions |
position options | |
GNEViewNet * | myViewNet |
view net | |
Private Member Functions | |
GNEFixAdditionalElements (const GNEFixAdditionalElements &)=delete | |
Invalidated copy constructor. | |
GNEFixAdditionalElements & | operator= (const GNEFixAdditionalElements &)=delete |
Invalidated assignment operator. | |
Dialog for edit rerouters.
Definition at line 40 of file GNEFixAdditionalElements.h.
GNEFixAdditionalElements::GNEFixAdditionalElements | ( | GNEViewNet * | viewNet, |
const std::vector< GNEAdditional * > & | invalidSingleLaneAdditionals, | ||
const std::vector< GNEAdditional * > & | invalidMultiLaneAdditionals | ||
) |
FOX-declaration.
Constructor
Definition at line 47 of file GNEFixAdditionalElements.cpp.
References ACCEPT, GUIDesigns::buildFXButton(), BUSSTOP, CANCEL, GUIIconSubSys::getIcon(), GUIDesignAuxiliarFrame, GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonAccept, GUIDesignButtonCancel, GUIDesignHorizontalFrame, MID_GNE_BUTTON_ACCEPT, MID_GNE_BUTTON_CANCEL, and TL.
GNEFixAdditionalElements::~GNEFixAdditionalElements | ( | ) |
destructor
Definition at line 79 of file GNEFixAdditionalElements.cpp.
|
privatedelete |
Invalidated copy constructor.
long GNEFixAdditionalElements::onCmdAccept | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event after press accept button
Definition at line 92 of file GNEFixAdditionalElements.cpp.
References GNEFixAdditionalElements::PositionOptions::activateFriendlyPositionAndSave, GNEUndoList::begin(), GNEFixAdditionalElements::ConsecutiveLaneOptions::buildConnectionBetweenLanes, GNENet::deleteAdditional(), GNEUndoList::end(), GNEFixAdditionalElements::PositionOptions::fixPositionsAndSave, GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNE_ATTR_SELECTED, myAdditionalList, myConsecutiveLaneOptions, GNEFixAdditionalElements::AdditionalList::myInvalidMultiLaneAdditionals, GNEFixAdditionalElements::AdditionalList::myInvalidSingleLaneAdditionals, myPositionOptions, myViewNet, GNEFixAdditionalElements::ConsecutiveLaneOptions::removeInvalidElements, GNEFixAdditionalElements::PositionOptions::selectInvalidStopsAndCancel, SUMO_ATTR_FRIENDLY_POS, and toString().
Referenced by FXDEFMAP().
long GNEFixAdditionalElements::onCmdCancel | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event after press cancel button
Definition at line 176 of file GNEFixAdditionalElements.cpp.
Referenced by FXDEFMAP().
long GNEFixAdditionalElements::onCmdSelectOption | ( | FXObject * | obj, |
FXSelector | , | ||
void * | |||
) |
Definition at line 84 of file GNEFixAdditionalElements.cpp.
References myConsecutiveLaneOptions, myPositionOptions, GNEFixAdditionalElements::PositionOptions::selectOption(), and GNEFixAdditionalElements::ConsecutiveLaneOptions::selectOption().
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
protected |
accept button
Definition at line 157 of file GNEFixAdditionalElements.h.
|
protected |
Additional List.
Definition at line 148 of file GNEFixAdditionalElements.h.
Referenced by onCmdAccept().
|
protected |
cancel button
Definition at line 160 of file GNEFixAdditionalElements.h.
|
protected |
consecutive lane options
Definition at line 154 of file GNEFixAdditionalElements.h.
Referenced by onCmdAccept(), and onCmdSelectOption().
|
protected |
main
Definition at line 145 of file GNEFixAdditionalElements.h.
|
protected |
position options
Definition at line 151 of file GNEFixAdditionalElements.h.
Referenced by onCmdAccept(), and onCmdSelectOption().
|
protected |