Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
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
 
 GNERerouterIntervalDialog (GNEAdditional *rerouterInterval, bool updatingElement)
 FOX-declaration.
 
 ~GNERerouterIntervalDialog ()
 destructor
 
FOX-callbacks

event after press accept button

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

event after press accept button

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

Protected Member Functions

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

Protected Attributes

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

Private Member Functions

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

Private Attributes

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

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: