Eclipse SUMO - Simulation of Urban MObility
GNERerouterIntervalDialog Class Reference

Dialog for edit rerouter intervals. More...

#include <GNERerouterIntervalDialog.h>

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

Public Member Functions

GNEAdditionalgetEditedAdditional () const
 get edited Additional More...
 
 GNERerouterIntervalDialog (GNEAdditional *rerouterInterval, bool updatingElement)
 FOX-declaration. More...
 
 ~GNERerouterIntervalDialog ()
 destructor More...
 
FOX-callbacks

event after press accept button

long onCmdAccept (FXObject *, FXSelector, void *)
 
long onCmdCancel (FXObject *, FXSelector, void *)
 event after press cancel button More...
 
long onCmdReset (FXObject *, FXSelector, void *)
 event after press reset button More...
 
long onCmdAddClosingLaneReroute (FXObject *, FXSelector, void *)
 add closing lane reroute More...
 
long onCmdAddClosingReroute (FXObject *, FXSelector, void *)
 add closing reroute More...
 
long onCmdAddDestProbReroute (FXObject *, FXSelector, void *)
 add dest prob reroute More...
 
long onCmdAddRouteProbReroute (FXObject *, FXSelector, void *)
 add route prob reroute More...
 
long onCmdAddParkingAreaReroute (FXObject *, FXSelector, void *)
 add parkingAreaReroute More...
 
long onCmdClickedClosingLaneReroute (FXObject *, FXSelector, void *)
 remove closing lane reroute More...
 
long onCmdClickedClosingReroute (FXObject *, FXSelector, void *)
 remove closing reroute More...
 
long onCmdClickedDestProbReroute (FXObject *, FXSelector, void *)
 remove dest prob reroute More...
 
long onCmdClickedRouteProbReroute (FXObject *, FXSelector, void *)
 remove route prob reroute More...
 
long onCmdClickedParkingAreaReroute (FXObject *, FXSelector, void *)
 remove parkingAreaReroute More...
 
long onCmdEditClosingLaneReroute (FXObject *, FXSelector, void *)
 /edit closing lane reroute More...
 
long onCmdEditClosingReroute (FXObject *, FXSelector, void *)
 /edit closing reroute More...
 
long onCmdEditDestProbReroute (FXObject *, FXSelector, void *)
 /edit dest prob reroute More...
 
long onCmdEditRouteProbReroute (FXObject *, FXSelector, void *)
 /edit route prob reroute More...
 
long onCmdEditParkingAreaReroute (FXObject *, FXSelector, void *)
 /edit parkingAreaReroute More...
 
long onCmdChangeBeginEnd (FXObject *, FXSelector, void *)
 called when begin or end is changed More...
 
FOX-callbacks

event after press accept button

long onKeyPress (FXObject *sender, FXSelector sel, void *ptr)
 event after press a key More...
 
long onKeyRelease (FXObject *sender, FXSelector sel, void *ptr)
 event after release a key More...
 

Protected Member Functions

void acceptChanges ()
 Accept changes did in this dialog. More...
 
void cancelChanges ()
 Cancel changes did in this dialog. More...
 
void changeAdditionalDialogHeader (const std::string &newHeader)
 change additional dialog header More...
 
void initChanges ()
 init a new group of changes that will be do it in dialog More...
 
FXint openAsModalDialog (FXuint placement=PLACEMENT_CURSOR)
 execute dialog as modal More...
 
void resetChanges ()
 reset changes did in this dialog. More...
 

Protected Attributes

FXButton * myAddClosingLaneReroutes
 button for add new closing lane reroutes More...
 
FXButton * myAddClosingReroutes
 button for add new closing reroutes More...
 
FXButton * myAddDestProbReroutes
 button for add new destination probability reroutes More...
 
FXButton * myAddParkingAreaReroute
 button for add new parkingAreaReroute More...
 
FXButton * myAddRouteProbReroute
 button for add new route probability reroutes More...
 
bool myBeginEndValid
 flag to check if begin an end are valid More...
 
FXTextField * myBeginTextField
 begin time text field More...
 
FXLabel * myCheckLabel
 begin/end time check label More...
 
std::vector< GNEAdditional * > myClosingLaneReroutesEdited
 closing Lane Reroutes edited More...
 
bool myClosingLaneReroutesValid
 flag to check if closing lane reroutes are valid More...
 
FXTable * myClosingLaneRerouteTable
 list with closing lane reroutes More...
 
std::vector< GNEAdditional * > myClosingReroutesEdited
 closing Reroutes edited More...
 
bool myClosingReroutesValid
 flag to check if closing reroutes are valid More...
 
FXTable * myClosingRerouteTable
 list with closing reroutes More...
 
FXVerticalFrame * myContentFrame
 frame for contents More...
 
std::vector< GNEAdditional * > myDestProbReroutesEdited
 Dest Prob Reroutes edited. More...
 
bool myDestProbReroutesValid
 flag to check if Destination probability reroutes are valid More...
 
FXTable * myDestProbRerouteTable
 list with destination probability reroutes More...
 
GNEAdditionalmyEditedAdditional
 pointer to edited additional More...
 
FXTextField * myEndTextField
 end time text field More...
 
std::vector< GNEAdditional * > myParkingAreaRerouteEdited
 Parking Area reroute edited. More...
 
bool myParkingAreaReroutesValid
 flag to check if parkingAreaReroutes are valid More...
 
FXTable * myParkingAreaRerouteTable
 list with parkingAreaReroutes More...
 
std::vector< GNEAdditional * > myRouteProbReroutesEdited
 Route Prob Reroutes edited. More...
 
bool myRouteProbReroutesValid
 flag to check if route prob reroutes are valid More...
 
FXTable * myRouteProbRerouteTable
 list with route probability reroute More...
 
bool myUpdatingElement
 flag to indicate if additional are being created or modified (cannot be changed after open dialog) More...
 

Private Member Functions

 GNERerouterIntervalDialog (const GNERerouterIntervalDialog &)=delete
 Invalidated copy constructor. More...
 
GNERerouterIntervalDialogoperator= (const GNERerouterIntervalDialog &)=delete
 Invalidated assignment operator. More...
 
void updateClosingLaneReroutesTable ()
 update data of closing lane reroute table More...
 
void updateClosingReroutesTable ()
 update data of closing reroute table More...
 
void updateDestProbReroutesTable ()
 update data of destination probability reroute table More...
 
void updateParkingAreaReroutesTable ()
 update data of parkingAreaReroute table More...
 
void updateRouteProbReroutesTable ()
 update data of probability reroutes table More...
 

Private Attributes

FXButton * myAcceptButton
 accept button More...
 
FXButton * myCancelButton
 cancel button More...
 
std::string myChangesDescription
 description of changes did in this additional dialog More...
 
int myNumberOfChanges
 number of GNEChanges_... in dialog More...
 
FXButton * myResetButton
 cancel button More...
 

Detailed Description

Dialog for edit rerouter intervals.

Definition at line 48 of file GNERerouterIntervalDialog.h.

Constructor & Destructor Documentation

◆ GNERerouterIntervalDialog() [1/2]

◆ ~GNERerouterIntervalDialog()

GNERerouterIntervalDialog::~GNERerouterIntervalDialog ( )

destructor

Definition at line 206 of file GNERerouterIntervalDialog.cpp.

◆ GNERerouterIntervalDialog() [2/2]

GNERerouterIntervalDialog::GNERerouterIntervalDialog ( const GNERerouterIntervalDialog )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ acceptChanges()

void GNEAdditionalDialog::acceptChanges ( )
protectedinherited

Accept changes did in this dialog.

Definition at line 123 of file GNEAdditionalDialog.cpp.

References GNEUndoList::abortLastChangeGroup(), GNEUndoList::end(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), and GNEAdditionalDialog::myEditedAdditional.

Referenced by GNECalibratorDialog::onCmdAccept(), GNECalibratorFlowDialog::onCmdAccept(), GNERerouterDialog::onCmdAccept(), onCmdAccept(), and GNEVariableSpeedSignDialog::onCmdAccept().

Here is the caller graph for this function:

◆ cancelChanges()

void GNEAdditionalDialog::cancelChanges ( )
protectedinherited

Cancel changes did in this dialog.

Definition at line 134 of file GNEAdditionalDialog.cpp.

References GNEUndoList::abortLastChangeGroup(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), and GNEAdditionalDialog::myEditedAdditional.

Referenced by GNECalibratorDialog::onCmdCancel(), GNECalibratorFlowDialog::onCmdCancel(), GNERerouterDialog::onCmdCancel(), onCmdCancel(), and GNEVariableSpeedSignDialog::onCmdCancel().

Here is the caller graph for this function:

◆ changeAdditionalDialogHeader()

void GNEAdditionalDialog::changeAdditionalDialogHeader ( const std::string &  newHeader)
protectedinherited

change additional dialog header

Definition at line 107 of file GNEAdditionalDialog.cpp.

◆ getEditedAdditional()

GNEAdditional * GNEAdditionalDialog::getEditedAdditional ( ) const
inherited

get edited Additional

Definition at line 89 of file GNEAdditionalDialog.cpp.

References GNEAdditionalDialog::myEditedAdditional.

◆ initChanges()

◆ onCmdAccept()

◆ onCmdAddClosingLaneReroute()

long GNERerouterIntervalDialog::onCmdAddClosingLaneReroute ( FXObject *  ,
FXSelector  ,
void *   
)

add closing lane reroute

Definition at line 308 of file GNERerouterIntervalDialog.cpp.

References GNEUndoList::add(), GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdges(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), myClosingLaneReroutesEdited, GNEAdditionalDialog::myEditedAdditional, SVCAll, TL, updateClosingLaneReroutesTable(), and WRITE_WARNING.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdAddClosingReroute()

long GNERerouterIntervalDialog::onCmdAddClosingReroute ( FXObject *  ,
FXSelector  ,
void *   
)

add closing reroute

Definition at line 328 of file GNERerouterIntervalDialog.cpp.

References GNEUndoList::add(), GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdges(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), myClosingReroutesEdited, GNEAdditionalDialog::myEditedAdditional, SVCAll, TL, updateClosingReroutesTable(), and WRITE_WARNING.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdAddDestProbReroute()

long GNERerouterIntervalDialog::onCmdAddDestProbReroute ( FXObject *  ,
FXSelector  ,
void *   
)

add dest prob reroute

Definition at line 348 of file GNERerouterIntervalDialog.cpp.

References GNEUndoList::add(), GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdges(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), myDestProbReroutesEdited, GNEAdditionalDialog::myEditedAdditional, TL, updateDestProbReroutesTable(), and WRITE_WARNING.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdAddParkingAreaReroute()

long GNERerouterIntervalDialog::onCmdAddParkingAreaReroute ( FXObject *  ,
FXSelector  ,
void *   
)

add parkingAreaReroute

Definition at line 385 of file GNERerouterIntervalDialog.cpp.

References GNEUndoList::add(), GNENetHelper::AttributeCarriers::getAdditionals(), GNENet::getAttributeCarriers(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEAdditionalDialog::myEditedAdditional, myParkingAreaRerouteEdited, SUMO_TAG_PARKING_AREA, TL, updateParkingAreaReroutesTable(), and WRITE_WARNING.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdAddRouteProbReroute()

long GNERerouterIntervalDialog::onCmdAddRouteProbReroute ( FXObject *  ,
FXSelector  ,
void *   
)

add route prob reroute

Definition at line 368 of file GNERerouterIntervalDialog.cpp.

References GNEUndoList::add(), GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getDemandElements(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEAdditionalDialog::myEditedAdditional, myRouteProbReroutesEdited, SUMO_TAG_ROUTE, and updateRouteProbReroutesTable().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCancel()

long GNERerouterIntervalDialog::onCmdCancel ( FXObject *  ,
FXSelector  ,
void *   
)
virtual

event after press cancel button

Implements GNEAdditionalDialog.

Definition at line 285 of file GNERerouterIntervalDialog.cpp.

References GNEAdditionalDialog::cancelChanges().

◆ onCmdChangeBeginEnd()

long GNERerouterIntervalDialog::onCmdChangeBeginEnd ( FXObject *  ,
FXSelector  ,
void *   
)

called when begin or end is changed

Definition at line 658 of file GNERerouterIntervalDialog.cpp.

References CORRECT, GUIIconSubSys::getIcon(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), INCORRECT, GNEAdditional::isValid(), myBeginEndValid, myBeginTextField, myCheckLabel, GNEAdditionalDialog::myEditedAdditional, myEndTextField, GNEAdditional::setAttribute(), SUMO_ATTR_BEGIN, and SUMO_ATTR_END.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdClickedClosingLaneReroute()

long GNERerouterIntervalDialog::onCmdClickedClosingLaneReroute ( FXObject *  ,
FXSelector  ,
void *   
)

remove closing lane reroute

Definition at line 405 of file GNERerouterIntervalDialog.cpp.

References GNEUndoList::add(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), myClosingLaneReroutesEdited, myClosingLaneRerouteTable, GNEAdditionalDialog::myEditedAdditional, and updateClosingLaneReroutesTable().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdClickedClosingReroute()

long GNERerouterIntervalDialog::onCmdClickedClosingReroute ( FXObject *  ,
FXSelector  ,
void *   
)

remove closing reroute

Definition at line 421 of file GNERerouterIntervalDialog.cpp.

References GNEUndoList::add(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), myClosingReroutesEdited, myClosingRerouteTable, GNEAdditionalDialog::myEditedAdditional, and updateClosingReroutesTable().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdClickedDestProbReroute()

long GNERerouterIntervalDialog::onCmdClickedDestProbReroute ( FXObject *  ,
FXSelector  ,
void *   
)

remove dest prob reroute

Definition at line 437 of file GNERerouterIntervalDialog.cpp.

References GNEUndoList::add(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), myDestProbReroutesEdited, myDestProbRerouteTable, GNEAdditionalDialog::myEditedAdditional, and updateDestProbReroutesTable().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdClickedParkingAreaReroute()

long GNERerouterIntervalDialog::onCmdClickedParkingAreaReroute ( FXObject *  ,
FXSelector  ,
void *   
)

remove parkingAreaReroute

Definition at line 469 of file GNERerouterIntervalDialog.cpp.

References GNEUndoList::add(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEAdditionalDialog::myEditedAdditional, myParkingAreaRerouteEdited, myParkingAreaRerouteTable, and updateParkingAreaReroutesTable().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdClickedRouteProbReroute()

long GNERerouterIntervalDialog::onCmdClickedRouteProbReroute ( FXObject *  ,
FXSelector  ,
void *   
)

remove route prob reroute

Definition at line 453 of file GNERerouterIntervalDialog.cpp.

References GNEUndoList::add(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEAdditionalDialog::myEditedAdditional, myRouteProbReroutesEdited, myRouteProbRerouteTable, and updateRouteProbReroutesTable().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditClosingLaneReroute()

long GNERerouterIntervalDialog::onCmdEditClosingLaneReroute ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdEditClosingReroute()

long GNERerouterIntervalDialog::onCmdEditClosingReroute ( FXObject *  ,
FXSelector  ,
void *   
)

◆ onCmdEditDestProbReroute()

long GNERerouterIntervalDialog::onCmdEditDestProbReroute ( FXObject *  ,
FXSelector  ,
void *   
)

/edit dest prob reroute

Definition at line 573 of file GNERerouterIntervalDialog.cpp.

References CORRECT, GUIIconSubSys::getIcon(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), INCORRECT, GNEAdditional::isValid(), SUMOXMLDefinitions::isValidNetID(), myDestProbReroutesEdited, myDestProbReroutesValid, myDestProbRerouteTable, GNEAdditionalDialog::myEditedAdditional, GNEAdditional::setAttribute(), SUMO_ATTR_EDGE, and SUMO_ATTR_PROB.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditParkingAreaReroute()

long GNERerouterIntervalDialog::onCmdEditParkingAreaReroute ( FXObject *  ,
FXSelector  ,
void *   
)

/edit parkingAreaReroute

Definition at line 628 of file GNERerouterIntervalDialog.cpp.

References CORRECT, GUIIconSubSys::getIcon(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), INCORRECT, GNEAdditional::isValid(), GNEAdditionalDialog::myEditedAdditional, myParkingAreaRerouteEdited, myParkingAreaReroutesValid, myParkingAreaRerouteTable, GNEAdditional::setAttribute(), SUMO_ATTR_PARKING, SUMO_ATTR_PROB, and SUMO_ATTR_VISIBLE.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdEditRouteProbReroute()

long GNERerouterIntervalDialog::onCmdEditRouteProbReroute ( FXObject *  ,
FXSelector  ,
void *   
)

/edit route prob reroute

Definition at line 602 of file GNERerouterIntervalDialog.cpp.

References CORRECT, GUIIconSubSys::getIcon(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), INCORRECT, GNEAdditional::isValid(), SUMOXMLDefinitions::isValidNetID(), GNEAdditionalDialog::myEditedAdditional, myRouteProbReroutesEdited, myRouteProbReroutesValid, myRouteProbRerouteTable, GNEAdditional::setAttribute(), SUMO_ATTR_PROB, and SUMO_ATTR_ROUTE.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdReset()

long GNERerouterIntervalDialog::onCmdReset ( FXObject *  ,
FXSelector  ,
void *   
)
virtual

◆ onKeyPress()

long GNEAdditionalDialog::onKeyPress ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)
inherited

event after press a key

Definition at line 95 of file GNEAdditionalDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onKeyRelease()

long GNEAdditionalDialog::onKeyRelease ( FXObject *  sender,
FXSelector  sel,
void *  ptr 
)
inherited

event after release a key

Definition at line 101 of file GNEAdditionalDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ openAsModalDialog()

FXint GNEAdditionalDialog::openAsModalDialog ( FXuint  placement = PLACEMENT_CURSOR)
protectedinherited

execute dialog as modal

Definition at line 76 of file GNEAdditionalDialog.cpp.

◆ operator=()

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

Invalidated assignment operator.

◆ resetChanges()

void GNEAdditionalDialog::resetChanges ( )
protectedinherited

reset changes did in this dialog.

Definition at line 140 of file GNEAdditionalDialog.cpp.

References GNEUndoList::abortLastChangeGroup(), GNEUndoList::begin(), GNEAttributeCarrier::getNet(), GNEViewNet::getUndoList(), GNENet::getViewNet(), GNEAdditionalDialog::myChangesDescription, and GNEAdditionalDialog::myEditedAdditional.

Referenced by GNECalibratorDialog::onCmdReset(), GNECalibratorFlowDialog::onCmdReset(), GNERerouterDialog::onCmdReset(), onCmdReset(), and GNEVariableSpeedSignDialog::onCmdReset().

Here is the caller graph for this function:

◆ updateClosingLaneReroutesTable()

void GNERerouterIntervalDialog::updateClosingLaneReroutesTable ( )
private

update data of closing lane reroute table

Definition at line 676 of file GNERerouterIntervalDialog.cpp.

References CORRECT, GUIIconSubSys::getIcon(), GUIDesignHeight, myClosingLaneReroutesEdited, myClosingLaneRerouteTable, REMOVE, SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_LANE, and toString().

Referenced by onCmdAddClosingLaneReroute(), onCmdClickedClosingLaneReroute(), and onCmdReset().

Here is the caller graph for this function:

◆ updateClosingReroutesTable()

void GNERerouterIntervalDialog::updateClosingReroutesTable ( )
private

update data of closing reroute table

Definition at line 723 of file GNERerouterIntervalDialog.cpp.

References CORRECT, GUIIconSubSys::getIcon(), GUIDesignHeight, myClosingReroutesEdited, myClosingRerouteTable, REMOVE, SUMO_ATTR_ALLOW, SUMO_ATTR_DISALLOW, SUMO_ATTR_EDGE, and toString().

Referenced by onCmdAddClosingReroute(), onCmdClickedClosingReroute(), and onCmdReset().

Here is the caller graph for this function:

◆ updateDestProbReroutesTable()

void GNERerouterIntervalDialog::updateDestProbReroutesTable ( )
private

update data of destination probability reroute table

Definition at line 770 of file GNERerouterIntervalDialog.cpp.

References CORRECT, GUIIconSubSys::getIcon(), GUIDesignHeight, myDestProbReroutesEdited, myDestProbRerouteTable, REMOVE, SUMO_ATTR_EDGE, SUMO_ATTR_PROB, and toString().

Referenced by onCmdAddDestProbReroute(), onCmdClickedDestProbReroute(), and onCmdReset().

Here is the caller graph for this function:

◆ updateParkingAreaReroutesTable()

void GNERerouterIntervalDialog::updateParkingAreaReroutesTable ( )
private

update data of parkingAreaReroute table

Definition at line 854 of file GNERerouterIntervalDialog.cpp.

References CORRECT, GUIIconSubSys::getIcon(), GUIDesignHeight, myParkingAreaRerouteEdited, myParkingAreaRerouteTable, REMOVE, SUMO_ATTR_PARKING, SUMO_ATTR_PROB, SUMO_ATTR_VISIBLE, and toString().

Referenced by onCmdAddParkingAreaReroute(), and onCmdClickedParkingAreaReroute().

Here is the caller graph for this function:

◆ updateRouteProbReroutesTable()

void GNERerouterIntervalDialog::updateRouteProbReroutesTable ( )
private

update data of probability reroutes table

Definition at line 812 of file GNERerouterIntervalDialog.cpp.

References CORRECT, GUIIconSubSys::getIcon(), GUIDesignHeight, myRouteProbReroutesEdited, myRouteProbRerouteTable, REMOVE, SUMO_ATTR_PROB, SUMO_ATTR_ROUTE, and toString().

Referenced by onCmdAddRouteProbReroute(), onCmdClickedRouteProbReroute(), and onCmdReset().

Here is the caller graph for this function:

Field Documentation

◆ myAcceptButton

FXButton* GNEAdditionalDialog::myAcceptButton
privateinherited

accept button

Definition at line 107 of file GNEAdditionalDialog.h.

◆ myAddClosingLaneReroutes

FXButton* GNERerouterIntervalDialog::myAddClosingLaneReroutes
protected

button for add new closing lane reroutes

Definition at line 133 of file GNERerouterIntervalDialog.h.

◆ myAddClosingReroutes

FXButton* GNERerouterIntervalDialog::myAddClosingReroutes
protected

button for add new closing reroutes

Definition at line 136 of file GNERerouterIntervalDialog.h.

◆ myAddDestProbReroutes

FXButton* GNERerouterIntervalDialog::myAddDestProbReroutes
protected

button for add new destination probability reroutes

Definition at line 139 of file GNERerouterIntervalDialog.h.

◆ myAddParkingAreaReroute

FXButton* GNERerouterIntervalDialog::myAddParkingAreaReroute
protected

button for add new parkingAreaReroute

Definition at line 145 of file GNERerouterIntervalDialog.h.

◆ myAddRouteProbReroute

FXButton* GNERerouterIntervalDialog::myAddRouteProbReroute
protected

button for add new route probability reroutes

Definition at line 142 of file GNERerouterIntervalDialog.h.

◆ myBeginEndValid

bool GNERerouterIntervalDialog::myBeginEndValid
protected

flag to check if begin an end are valid

Definition at line 178 of file GNERerouterIntervalDialog.h.

Referenced by onCmdAccept(), and onCmdChangeBeginEnd().

◆ myBeginTextField

FXTextField* GNERerouterIntervalDialog::myBeginTextField
protected

begin time text field

Definition at line 124 of file GNERerouterIntervalDialog.h.

Referenced by onCmdChangeBeginEnd().

◆ myCancelButton

FXButton* GNEAdditionalDialog::myCancelButton
privateinherited

cancel button

Definition at line 110 of file GNEAdditionalDialog.h.

◆ myChangesDescription

std::string GNEAdditionalDialog::myChangesDescription
privateinherited

description of changes did in this additional dialog

Definition at line 116 of file GNEAdditionalDialog.h.

Referenced by GNEAdditionalDialog::initChanges(), and GNEAdditionalDialog::resetChanges().

◆ myCheckLabel

FXLabel* GNERerouterIntervalDialog::myCheckLabel
protected

begin/end time check label

Definition at line 130 of file GNERerouterIntervalDialog.h.

Referenced by onCmdChangeBeginEnd().

◆ myClosingLaneReroutesEdited

std::vector<GNEAdditional*> GNERerouterIntervalDialog::myClosingLaneReroutesEdited
protected

◆ myClosingLaneReroutesValid

bool GNERerouterIntervalDialog::myClosingLaneReroutesValid
protected

flag to check if closing lane reroutes are valid

Definition at line 181 of file GNERerouterIntervalDialog.h.

Referenced by onCmdAccept(), and onCmdEditClosingLaneReroute().

◆ myClosingLaneRerouteTable

FXTable* GNERerouterIntervalDialog::myClosingLaneRerouteTable
protected

list with closing lane reroutes

Definition at line 148 of file GNERerouterIntervalDialog.h.

Referenced by onCmdClickedClosingLaneReroute(), onCmdEditClosingLaneReroute(), and updateClosingLaneReroutesTable().

◆ myClosingReroutesEdited

std::vector<GNEAdditional*> GNERerouterIntervalDialog::myClosingReroutesEdited
protected

◆ myClosingReroutesValid

bool GNERerouterIntervalDialog::myClosingReroutesValid
protected

flag to check if closing reroutes are valid

Definition at line 184 of file GNERerouterIntervalDialog.h.

Referenced by onCmdAccept(), and onCmdEditClosingReroute().

◆ myClosingRerouteTable

FXTable* GNERerouterIntervalDialog::myClosingRerouteTable
protected

list with closing reroutes

Definition at line 151 of file GNERerouterIntervalDialog.h.

Referenced by onCmdClickedClosingReroute(), onCmdEditClosingReroute(), and updateClosingReroutesTable().

◆ myContentFrame

FXVerticalFrame* GNEAdditionalDialog::myContentFrame
protectedinherited

frame for contents

Definition at line 85 of file GNEAdditionalDialog.h.

◆ myDestProbReroutesEdited

std::vector<GNEAdditional*> GNERerouterIntervalDialog::myDestProbReroutesEdited
protected

◆ myDestProbReroutesValid

bool GNERerouterIntervalDialog::myDestProbReroutesValid
protected

flag to check if Destination probability reroutes are valid

Definition at line 187 of file GNERerouterIntervalDialog.h.

Referenced by onCmdAccept(), and onCmdEditDestProbReroute().

◆ myDestProbRerouteTable

FXTable* GNERerouterIntervalDialog::myDestProbRerouteTable
protected

list with destination probability reroutes

Definition at line 154 of file GNERerouterIntervalDialog.h.

Referenced by onCmdClickedDestProbReroute(), onCmdEditDestProbReroute(), and updateDestProbReroutesTable().

◆ myEditedAdditional

GNEAdditional* GNEAdditionalDialog::myEditedAdditional
protectedinherited

pointer to edited additional

Definition at line 79 of file GNEAdditionalDialog.h.

Referenced by GNEAdditionalDialog::acceptChanges(), GNEAdditionalDialog::cancelChanges(), GNEAdditionalDialog::getEditedAdditional(), GNEAdditionalDialog::initChanges(), GNECalibratorFlowDialog::onCmdAccept(), GNERerouterDialog::onCmdAccept(), onCmdAccept(), onCmdAddClosingLaneReroute(), onCmdAddClosingReroute(), onCmdAddDestProbReroute(), GNECalibratorDialog::onCmdAddFlow(), onCmdAddParkingAreaReroute(), GNECalibratorDialog::onCmdAddRoute(), onCmdAddRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdAddStep(), GNECalibratorDialog::onCmdAddVehicleType(), onCmdChangeBeginEnd(), onCmdClickedClosingLaneReroute(), onCmdClickedClosingReroute(), onCmdClickedDestProbReroute(), GNECalibratorDialog::onCmdClickedFlow(), GNERerouterDialog::onCmdClickedInterval(), onCmdClickedParkingAreaReroute(), GNECalibratorDialog::onCmdClickedRoute(), onCmdClickedRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdClickedStep(), GNECalibratorDialog::onCmdClickedVehicleType(), onCmdEditClosingLaneReroute(), onCmdEditClosingReroute(), onCmdEditDestProbReroute(), onCmdEditParkingAreaReroute(), onCmdEditRouteProbReroute(), GNEVariableSpeedSignDialog::onCmdEditStep(), GNECalibratorFlowDialog::onCmdSetVariable(), GNEAdditionalDialog::resetChanges(), GNECalibratorFlowDialog::updateCalibratorFlowValues(), GNECalibratorDialog::updateFlowAndLabelButton(), GNECalibratorDialog::updateFlowTable(), GNERerouterDialog::updateIntervalTable(), GNECalibratorDialog::updateRouteTable(), GNEVariableSpeedSignDialog::updateTableSteps(), and GNECalibratorDialog::updateVehicleTypeTable().

◆ myEndTextField

FXTextField* GNERerouterIntervalDialog::myEndTextField
protected

end time text field

Definition at line 127 of file GNERerouterIntervalDialog.h.

Referenced by onCmdChangeBeginEnd().

◆ myNumberOfChanges

int GNEAdditionalDialog::myNumberOfChanges
privateinherited

number of GNEChanges_... in dialog

Definition at line 119 of file GNEAdditionalDialog.h.

Referenced by GNEAdditionalDialog::initChanges().

◆ myParkingAreaRerouteEdited

std::vector<GNEAdditional*> GNERerouterIntervalDialog::myParkingAreaRerouteEdited
protected

◆ myParkingAreaReroutesValid

bool GNERerouterIntervalDialog::myParkingAreaReroutesValid
protected

flag to check if parkingAreaReroutes are valid

Definition at line 190 of file GNERerouterIntervalDialog.h.

Referenced by onCmdAccept(), and onCmdEditParkingAreaReroute().

◆ myParkingAreaRerouteTable

FXTable* GNERerouterIntervalDialog::myParkingAreaRerouteTable
protected

list with parkingAreaReroutes

Definition at line 160 of file GNERerouterIntervalDialog.h.

Referenced by onCmdClickedParkingAreaReroute(), onCmdEditParkingAreaReroute(), and updateParkingAreaReroutesTable().

◆ myResetButton

FXButton* GNEAdditionalDialog::myResetButton
privateinherited

cancel button

Definition at line 113 of file GNEAdditionalDialog.h.

◆ myRouteProbReroutesEdited

std::vector<GNEAdditional*> GNERerouterIntervalDialog::myRouteProbReroutesEdited
protected

◆ myRouteProbReroutesValid

bool GNERerouterIntervalDialog::myRouteProbReroutesValid
protected

flag to check if route prob reroutes are valid

Definition at line 193 of file GNERerouterIntervalDialog.h.

Referenced by onCmdAccept(), and onCmdEditRouteProbReroute().

◆ myRouteProbRerouteTable

FXTable* GNERerouterIntervalDialog::myRouteProbRerouteTable
protected

list with route probability reroute

Definition at line 157 of file GNERerouterIntervalDialog.h.

Referenced by onCmdClickedRouteProbReroute(), onCmdEditRouteProbReroute(), and updateRouteProbReroutesTable().

◆ myUpdatingElement

bool GNEAdditionalDialog::myUpdatingElement
protectedinherited

flag to indicate if additional are being created or modified (cannot be changed after open dialog)

Definition at line 82 of file GNEAdditionalDialog.h.

Referenced by GNECalibratorFlowDialog::onCmdAccept(), and onCmdAccept().


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