![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Dialog for edit rerouters. More...
#include <GNEFixDemandElements.h>
Data Structures | |
class | DemandList |
groupbox for list More... | |
class | FixPersonPlanOptions |
groupbox for all radio buttons related with fix person plan options More... | |
class | FixRouteOptions |
groupbox for all radio buttons related with fix route options More... | |
class | FixStopOptions |
groupbox for all radio buttons related with fix stop options More... | |
class | FixVehicleOptions |
groupbox for all radio buttons related with fix vehicle options More... | |
Public Member Functions | |
GNEFixDemandElements (GNEViewNet *viewNet, const std::vector< GNEDemandElement * > &invalidDemandElements) | |
FOX-declaration. More... | |
~GNEFixDemandElements () | |
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 | |
FXButton * | myAcceptButton |
accept button More... | |
FXButton * | myCancelButton |
cancel button More... | |
DemandList * | myDemandList |
list with the demand elements More... | |
FixPersonPlanOptions * | myFixPersonPlanOptions |
fix person plan options More... | |
FixRouteOptions * | myFixRouteOptions |
fix route options More... | |
FixStopOptions * | myFixStopOptions |
fix stop options More... | |
FixVehicleOptions * | myFixVehicleOptions |
fix vehicle options More... | |
FXVerticalFrame * | myMainFrame |
main frame More... | |
GNEViewNet * | myViewNet |
view net More... | |
Private Member Functions | |
GNEFixDemandElements (const GNEFixDemandElements &)=delete | |
Invalidated copy constructor. More... | |
GNEFixDemandElements & | operator= (const GNEFixDemandElements &)=delete |
Invalidated assignment operator. More... | |
Dialog for edit rerouters.
Definition at line 39 of file GNEFixDemandElements.h.
GNEFixDemandElements::GNEFixDemandElements | ( | GNEViewNet * | viewNet, |
const std::vector< GNEDemandElement * > & | invalidDemandElements | ||
) |
FOX-declaration.
Constructor
Definition at line 48 of file GNEFixDemandElements.cpp.
References ACCEPT, CANCEL, GUIIconSubSys::getIcon(), GUIDesignAuxiliarFrame, GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonAccept, GUIDesignButtonCancel, GUIDesignHorizontalFrame, MID_GNE_BUTTON_ACCEPT, MID_GNE_BUTTON_CANCEL, and ROUTE.
GNEFixDemandElements::~GNEFixDemandElements | ( | ) |
destructor
Definition at line 92 of file GNEFixDemandElements.cpp.
|
privatedelete |
Invalidated copy constructor.
long GNEFixDemandElements::onCmdAccept | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event after press accept button
Definition at line 107 of file GNEFixDemandElements.cpp.
References GNEFixDemandElements::FixStopOptions::activateFriendlyPositionAndSave, GNENet::deleteDemandElement(), GNEFixDemandElements::FixPersonPlanOptions::deletePersonPlan, GNEFixDemandElements::FixStopOptions::fixPositionsAndSave, GNEViewNet::getNet(), GNEViewNet::getUndoList(), GNE_ATTR_SELECTED, myDemandList, myFixPersonPlanOptions, myFixRouteOptions, myFixStopOptions, myFixVehicleOptions, GNEFixDemandElements::DemandList::myInvalidPersonPlans, GNEFixDemandElements::DemandList::myInvalidRoutes, GNEFixDemandElements::DemandList::myInvalidStops, GNEFixDemandElements::DemandList::myInvalidVehicles, myViewNet, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNEFixDemandElements::FixRouteOptions::removeInvalidRoutes, GNEFixDemandElements::FixVehicleOptions::removeInvalidVehicles, GNEFixDemandElements::FixPersonPlanOptions::selectInvalidPersonPlansAndCancel, GNEFixDemandElements::FixRouteOptions::selectInvalidRoutesAndCancel, GNEFixDemandElements::FixStopOptions::selectInvalidStopsAndCancel, GNEFixDemandElements::FixVehicleOptions::selectInvalidVehiclesAndCancel, SUMO_ATTR_FRIENDLY_POS, and toString().
Referenced by FXDEFMAP().
long GNEFixDemandElements::onCmdCancel | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event after press cancel button
Definition at line 222 of file GNEFixDemandElements.cpp.
Referenced by FXDEFMAP().
long GNEFixDemandElements::onCmdSelectOption | ( | FXObject * | obj, |
FXSelector | , | ||
void * | |||
) |
Definition at line 97 of file GNEFixDemandElements.cpp.
References myFixPersonPlanOptions, myFixRouteOptions, myFixStopOptions, myFixVehicleOptions, GNEFixDemandElements::FixRouteOptions::selectOption(), GNEFixDemandElements::FixVehicleOptions::selectOption(), GNEFixDemandElements::FixStopOptions::selectOption(), and GNEFixDemandElements::FixPersonPlanOptions::selectOption().
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
protected |
accept button
Definition at line 217 of file GNEFixDemandElements.h.
|
protected |
cancel button
Definition at line 220 of file GNEFixDemandElements.h.
|
protected |
list with the demand elements
Definition at line 202 of file GNEFixDemandElements.h.
Referenced by onCmdAccept().
|
protected |
fix person plan options
Definition at line 214 of file GNEFixDemandElements.h.
Referenced by onCmdAccept(), and onCmdSelectOption().
|
protected |
fix route options
Definition at line 205 of file GNEFixDemandElements.h.
Referenced by onCmdAccept(), and onCmdSelectOption().
|
protected |
fix stop options
Definition at line 211 of file GNEFixDemandElements.h.
Referenced by onCmdAccept(), and onCmdSelectOption().
|
protected |
fix vehicle options
Definition at line 208 of file GNEFixDemandElements.h.
Referenced by onCmdAccept(), and onCmdSelectOption().
|
protected |
main frame
Definition at line 199 of file GNEFixDemandElements.h.
|
protected |