SUMO - Simulation of Urban MObility
GNERerouterIntervalDialog Class Reference

Dialog for edit rerouter intervals. More...

#include <GNERerouterIntervalDialog.h>

Inheritance diagram for GNERerouterIntervalDialog:
Inheritance graph
Collaboration diagram for GNERerouterIntervalDialog:
Collaboration graph

Public Member Functions

void changeAdditionalDialogHeader (const std::string &newHeader)
 change additional dialog header More...
 
 GNERerouterIntervalDialog (GNERerouterDialog *rerouterDialog, GNERerouterInterval &rerouterInterval)
 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 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 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 onCmdChangeBeginEnd (FXObject *, FXSelector, void *)
 called when begin or endis changed More...
 

Protected Member Functions

 GNERerouterIntervalDialog ()
 FOX needs this. 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 destiny probabilitry reroute table More...
 
void updateRouteProbReroutesTable ()
 update data of probabilitry reroutes table More...
 

Protected Attributes

FXButton * myAcceptButton
 accept button More...
 
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 destiny probability reroutes 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...
 
FXButton * myCancelButton
 cancel button More...
 
FXLabel * myCheckLabel
 begin/end time check label More...
 
FXTable * myClosingLaneRerouteList
 list with closing lane reroutes More...
 
bool myClosingLaneReroutesValid
 flag to check if closing lane reroutes are valid More...
 
FXTable * myClosingRerouteList
 list with closing reroutes More...
 
bool myClosingReroutesValid
 flag to check if closing reroutes are valid More...
 
FXVerticalFrame * myContentFrame
 frame for contents More...
 
std::vector< GNEClosingLaneReroutemyCopyOfClosingLaneReroutes
 vector with the closingLaneReroutes More...
 
std::vector< GNEClosingReroutemyCopyOfClosingReroutes
 vector with a copy of the closingReroutes More...
 
std::vector< GNEDestProbReroutemyCopyOfDestProbReroutes
 vector with a copy of the destProbReroutes More...
 
std::vector< GNERouteProbReroutemyCopyOfRouteProbReroutes
 vector with a copy of the routeProbReroutes More...
 
FXTable * myDestProbRerouteList
 list with destiny probability reroutes More...
 
bool myDestProbReroutesValid
 flag to check if Destiny probability reroutes are valid More...
 
FXTextField * myEndTextField
 end time text field More...
 
GNERerouterDialogmyRerouterDialogParent
 pointer to GNERerouterDialog parent More...
 
GNERerouterIntervalmyRerouterInterval
 pointer to rerouter interval More...
 
FXButton * myResetButton
 cancel button More...
 
FXTable * myRouteProbRerouteList
 list with route probability reroute More...
 
bool myRouteProbReroutesValid
 flag to check if route prob reroutes are valid More...
 

Private Member Functions

 GNERerouterIntervalDialog (const GNERerouterIntervalDialog &)
 Invalidated copy constructor. More...
 
GNERerouterIntervalDialogoperator= (const GNERerouterIntervalDialog &)
 Invalidated assignment operator. More...
 

Detailed Description

Dialog for edit rerouter intervals.

Definition at line 57 of file GNERerouterIntervalDialog.h.

Constructor & Destructor Documentation

◆ GNERerouterIntervalDialog() [1/3]

◆ ~GNERerouterIntervalDialog()

GNERerouterIntervalDialog::~GNERerouterIntervalDialog ( )

destructor

Definition at line 163 of file GNERerouterIntervalDialog.cpp.

◆ GNERerouterIntervalDialog() [2/3]

GNERerouterIntervalDialog::GNERerouterIntervalDialog ( )
inlineprotected

FOX needs this.

Definition at line 122 of file GNERerouterIntervalDialog.h.

◆ GNERerouterIntervalDialog() [3/3]

GNERerouterIntervalDialog::GNERerouterIntervalDialog ( const GNERerouterIntervalDialog )
private

Invalidated copy constructor.

Member Function Documentation

◆ changeAdditionalDialogHeader()

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

change additional dialog header

Definition at line 81 of file GNEAdditionalDialog.cpp.

◆ onCmdAccept()

◆ onCmdAddClosingLaneReroute()

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

◆ onCmdAddClosingReroute()

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

◆ onCmdAddDestProbReroute()

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

◆ onCmdAddRouteProbReroute()

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

◆ onCmdCancel()

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

event after press cancel button

Implements GNEAdditionalDialog.

Definition at line 278 of file GNERerouterIntervalDialog.cpp.

◆ onCmdChangeBeginEnd()

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

◆ onCmdClickedClosingLaneReroute()

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

remove closing lane reroute

Definition at line 342 of file GNERerouterIntervalDialog.cpp.

References myClosingLaneRerouteList, myCopyOfClosingLaneReroutes, and updateClosingLaneReroutesTable().

◆ onCmdClickedClosingReroute()

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

remove closing reroute

Definition at line 357 of file GNERerouterIntervalDialog.cpp.

References myClosingRerouteList, myCopyOfClosingReroutes, and updateClosingReroutesTable().

◆ onCmdClickedDestProbReroute()

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

remove dest prob reroute

Definition at line 372 of file GNERerouterIntervalDialog.cpp.

References myCopyOfDestProbReroutes, myDestProbRerouteList, and updateDestProbReroutesTable().

◆ onCmdClickedRouteProbReroute()

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

remove route prob reroute

Definition at line 387 of file GNERerouterIntervalDialog.cpp.

References myCopyOfRouteProbReroutes, myRouteProbRerouteList, and updateRouteProbReroutesTable().

◆ onCmdEditClosingLaneReroute()

◆ onCmdEditClosingReroute()

◆ onCmdEditDestProbReroute()

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

◆ onCmdEditRouteProbReroute()

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

◆ onCmdReset()

◆ operator=()

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

Invalidated assignment operator.

◆ updateClosingLaneReroutesTable()

◆ updateClosingReroutesTable()

◆ updateDestProbReroutesTable()

void GNERerouterIntervalDialog::updateDestProbReroutesTable ( )
protected

◆ updateRouteProbReroutesTable()

void GNERerouterIntervalDialog::updateRouteProbReroutesTable ( )
protected

Field Documentation

◆ myAcceptButton

FXButton* GNEAdditionalDialog::myAcceptButton
protectedinherited

accept button

Definition at line 85 of file GNEAdditionalDialog.h.

◆ myAddClosingLaneReroutes

FXButton* GNERerouterIntervalDialog::myAddClosingLaneReroutes
protected

button for add new closing lane reroutes

Definition at line 140 of file GNERerouterIntervalDialog.h.

◆ myAddClosingReroutes

FXButton* GNERerouterIntervalDialog::myAddClosingReroutes
protected

button for add new closing reroutes

Definition at line 143 of file GNERerouterIntervalDialog.h.

◆ myAddDestProbReroutes

FXButton* GNERerouterIntervalDialog::myAddDestProbReroutes
protected

button for add new destiny probability reroutes

Definition at line 146 of file GNERerouterIntervalDialog.h.

◆ myAddRouteProbReroute

FXButton* GNERerouterIntervalDialog::myAddRouteProbReroute
protected

button for add new route probability reroutes

Definition at line 149 of file GNERerouterIntervalDialog.h.

◆ myBeginEndValid

bool GNERerouterIntervalDialog::myBeginEndValid
protected

flag to check if begin an end are valid

Definition at line 164 of file GNERerouterIntervalDialog.h.

Referenced by onCmdAccept(), and onCmdChangeBeginEnd().

◆ myBeginTextField

FXTextField* GNERerouterIntervalDialog::myBeginTextField
protected

begin time text field

Definition at line 131 of file GNERerouterIntervalDialog.h.

Referenced by onCmdAccept(), and onCmdChangeBeginEnd().

◆ myCancelButton

FXButton* GNEAdditionalDialog::myCancelButton
protectedinherited

cancel button

Definition at line 88 of file GNEAdditionalDialog.h.

◆ myCheckLabel

FXLabel* GNERerouterIntervalDialog::myCheckLabel
protected

begin/end time check label

Definition at line 137 of file GNERerouterIntervalDialog.h.

Referenced by onCmdChangeBeginEnd().

◆ myClosingLaneRerouteList

FXTable* GNERerouterIntervalDialog::myClosingLaneRerouteList
protected

list with closing lane reroutes

Definition at line 152 of file GNERerouterIntervalDialog.h.

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

◆ myClosingLaneReroutesValid

bool GNERerouterIntervalDialog::myClosingLaneReroutesValid
protected

flag to check if closing lane reroutes are valid

Definition at line 170 of file GNERerouterIntervalDialog.h.

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

◆ myClosingRerouteList

FXTable* GNERerouterIntervalDialog::myClosingRerouteList
protected

list with closing reroutes

Definition at line 155 of file GNERerouterIntervalDialog.h.

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

◆ myClosingReroutesValid

bool GNERerouterIntervalDialog::myClosingReroutesValid
protected

flag to check if closing reroutes are valid

Definition at line 176 of file GNERerouterIntervalDialog.h.

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

◆ myContentFrame

FXVerticalFrame* GNEAdditionalDialog::myContentFrame
protectedinherited

frame for contents

Definition at line 82 of file GNEAdditionalDialog.h.

◆ myCopyOfClosingLaneReroutes

std::vector<GNEClosingLaneReroute> GNERerouterIntervalDialog::myCopyOfClosingLaneReroutes
protected

◆ myCopyOfClosingReroutes

std::vector<GNEClosingReroute> GNERerouterIntervalDialog::myCopyOfClosingReroutes
protected

◆ myCopyOfDestProbReroutes

std::vector<GNEDestProbReroute> GNERerouterIntervalDialog::myCopyOfDestProbReroutes
protected

◆ myCopyOfRouteProbReroutes

std::vector<GNERouteProbReroute> GNERerouterIntervalDialog::myCopyOfRouteProbReroutes
protected

◆ myDestProbRerouteList

FXTable* GNERerouterIntervalDialog::myDestProbRerouteList
protected

list with destiny probability reroutes

Definition at line 158 of file GNERerouterIntervalDialog.h.

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

◆ myDestProbReroutesValid

bool GNERerouterIntervalDialog::myDestProbReroutesValid
protected

flag to check if Destiny probability reroutes are valid

Definition at line 182 of file GNERerouterIntervalDialog.h.

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

◆ myEndTextField

FXTextField* GNERerouterIntervalDialog::myEndTextField
protected

end time text field

Definition at line 134 of file GNERerouterIntervalDialog.h.

Referenced by onCmdAccept(), and onCmdChangeBeginEnd().

◆ myRerouterDialogParent

GNERerouterDialog* GNERerouterIntervalDialog::myRerouterDialogParent
protected

pointer to GNERerouterDialog parent

Definition at line 125 of file GNERerouterIntervalDialog.h.

Referenced by onCmdAccept(), and onCmdChangeBeginEnd().

◆ myRerouterInterval

◆ myResetButton

FXButton* GNEAdditionalDialog::myResetButton
protectedinherited

cancel button

Definition at line 91 of file GNEAdditionalDialog.h.

◆ myRouteProbRerouteList

FXTable* GNERerouterIntervalDialog::myRouteProbRerouteList
protected

list with route probability reroute

Definition at line 161 of file GNERerouterIntervalDialog.h.

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

◆ myRouteProbReroutesValid

bool GNERerouterIntervalDialog::myRouteProbReroutesValid
protected

flag to check if route prob reroutes are valid

Definition at line 188 of file GNERerouterIntervalDialog.h.

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


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