SUMO - Simulation of Urban MObility
GNERerouterDialog Class Reference

Dialog for edit rerouters. More...

#include <GNERerouterDialog.h>

Inheritance diagram for GNERerouterDialog:
Inheritance graph
Collaboration diagram for GNERerouterDialog:
Collaboration graph

Public Member Functions

GNEReroutergetEditedRerouter () const
 get edited rerouter More...
 
 GNERerouterDialog (GNERerouter *rerouterParent)
 FOX-declaration. More...
 
 ~GNERerouterDialog ()
 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 onCmdAddInterval (FXObject *, FXSelector, void *)
 add new interval More...
 
long onCmdClickedInterval (FXObject *, FXSelector, void *)
 remove or edit interval 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...
 
 GNERerouterDialog ()
 FOX needs this. 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 * myAddInterval
 button for add new interval More...
 
FXVerticalFrame * myContentFrame
 frame for contents More...
 
GNEReroutermyEditedRerouter
 pointer to edited rerouter More...
 
FXTable * myIntervalTable
 list with intervals More...
 

Private Member Functions

 GNERerouterDialog (const GNERerouterDialog &)=delete
 Invalidated copy constructor. More...
 
GNERerouterDialogoperator= (const GNERerouterDialog &)=delete
 Invalidated assignment operator. More...
 
void updateIntervalTable ()
 update data table More...
 

Detailed Description

Dialog for edit rerouters.

Definition at line 51 of file GNERerouterDialog.h.

Constructor & Destructor Documentation

◆ GNERerouterDialog() [1/3]

◆ ~GNERerouterDialog()

GNERerouterDialog::~GNERerouterDialog ( )

destructor

Definition at line 88 of file GNERerouterDialog.cpp.

◆ GNERerouterDialog() [2/3]

GNERerouterDialog::GNERerouterDialog ( )
inlineprotected

FOX needs this.

Definition at line 85 of file GNERerouterDialog.h.

◆ GNERerouterDialog() [3/3]

GNERerouterDialog::GNERerouterDialog ( const GNERerouterDialog )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ acceptChanges()

◆ cancelChanges()

◆ changeAdditionalDialogHeader()

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

change additional dialog header

Definition at line 108 of file GNEAdditionalDialog.cpp.

◆ getEditedRerouter()

GNERerouter * GNERerouterDialog::getEditedRerouter ( ) const

get edited rerouter

Definition at line 92 of file GNERerouterDialog.cpp.

References myEditedRerouter.

◆ initChanges()

void GNEAdditionalDialog::initChanges ( )
protectedinherited

◆ onCmdAccept()

long GNERerouterDialog::onCmdAccept ( FXObject *  ,
FXSelector  ,
void *   
)
virtual

◆ onCmdAddInterval()

long GNERerouterDialog::onCmdAddInterval ( FXObject *  ,
FXSelector  ,
void *   
)

add new interval

Definition at line 146 of file GNERerouterDialog.cpp.

References updateIntervalTable().

◆ onCmdCancel()

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

event after press cancel button

Implements GNEAdditionalDialog.

Definition at line 126 of file GNERerouterDialog.cpp.

References GNEAdditionalDialog::cancelChanges().

◆ onCmdClickedInterval()

◆ onCmdReset()

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

event after press reset button

Implements GNEAdditionalDialog.

Definition at line 136 of file GNERerouterDialog.cpp.

References GNEAdditionalDialog::resetChanges(), and updateIntervalTable().

◆ onKeyPress()

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

event after press a key

Definition at line 96 of file GNEAdditionalDialog.cpp.

◆ onKeyRelease()

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

event after release a key

Definition at line 102 of file GNEAdditionalDialog.cpp.

◆ openAsModalDialog()

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

execute dialog as modal

Definition at line 83 of file GNEAdditionalDialog.cpp.

◆ operator=()

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

Invalidated assignment operator.

◆ resetChanges()

◆ updateIntervalTable()

void GNERerouterDialog::updateIntervalTable ( )
private

Field Documentation

◆ myAddInterval

FXButton* GNERerouterDialog::myAddInterval
protected

button for add new interval

Definition at line 91 of file GNERerouterDialog.h.

◆ myContentFrame

FXVerticalFrame* GNEAdditionalDialog::myContentFrame
protectedinherited

frame for contents

Definition at line 86 of file GNEAdditionalDialog.h.

◆ myEditedRerouter

GNERerouter* GNERerouterDialog::myEditedRerouter
protected

pointer to edited rerouter

Definition at line 88 of file GNERerouterDialog.h.

Referenced by getEditedRerouter(), onCmdAccept(), onCmdClickedInterval(), and updateIntervalTable().

◆ myIntervalTable

FXTable* GNERerouterDialog::myIntervalTable
protected

list with intervals

Definition at line 94 of file GNERerouterDialog.h.

Referenced by onCmdClickedInterval(), and updateIntervalTable().


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