Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNESingleParametersDialog::ParametersOperations Class Reference

#include <GNESingleParametersDialog.h>

Inheritance diagram for GNESingleParametersDialog::ParametersOperations:
[legend]
Collaboration diagram for GNESingleParametersDialog::ParametersOperations:
[legend]

Data Structures

class  GNEParameterHandler
 FOX need this. More...
 

Public Member Functions

 ParametersOperations (FXHorizontalFrame *frame, GNESingleParametersDialog *ParameterDialogParent)
 FOX-declaration.
 
 ~ParametersOperations ()
 destructor
 
FOX-callbacks

event when user press load parameters button

long onCmdLoadParameters (FXObject *, FXSelector, void *)
 
long onCmdSaveParameters (FXObject *, FXSelector, void *)
 event when user press save parameters button
 
long onCmdClearParameters (FXObject *, FXSelector, void *)
 event when user press clear parameters button
 
long onCmdSortParameters (FXObject *, FXSelector, void *)
 event when user press sort parameters button
 
long onCmdHelpParameter (FXObject *, FXSelector, void *)
 event when user press help parameters button
 

Private Attributes

FXButton * myClearButton
 clear button
 
FXButton * myHelpButton
 help button
 
FXButton * myLoadButton
 load button
 
GNESingleParametersDialogmyParameterDialogParent
 pointer to Shape Frame Parent
 
FXButton * mySaveButton
 save button
 
FXButton * mySortButton
 sort button
 

Detailed Description

Definition at line 153 of file GNESingleParametersDialog.h.

Constructor & Destructor Documentation

◆ ParametersOperations()

GNESingleParametersDialog::ParametersOperations::ParametersOperations ( FXHorizontalFrame *  frame,
GNESingleParametersDialog ParameterDialogParent 
)

◆ ~ParametersOperations()

GNESingleParametersDialog::ParametersOperations::~ParametersOperations ( )

destructor

Definition at line 291 of file GNESingleParametersDialog.cpp.

Member Function Documentation

◆ onCmdClearParameters()

long GNESingleParametersDialog::ParametersOperations::onCmdClearParameters ( FXObject *  ,
FXSelector  ,
void *   
)

event when user press clear parameters button

Definition at line 358 of file GNESingleParametersDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdHelpParameter()

long GNESingleParametersDialog::ParametersOperations::onCmdHelpParameter ( FXObject *  ,
FXSelector  ,
void *   
)

event when user press help parameters button

Definition at line 394 of file GNESingleParametersDialog.cpp.

References ACCEPT, APP_TABLE, GUIDesigns::buildFXButton(), GUIIconSubSys::getIcon(), GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonOK, GUIDesignDialogBox, GUIDesignHorizontalSeparator, GUIDesignLabelFrameInformation, TL, and WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLoadParameters()

long GNESingleParametersDialog::ParametersOperations::onCmdLoadParameters ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 295 of file GNESingleParametersDialog.cpp.

References gCurrentFolder, GUIIconSubSys::getIcon(), GREENVEHICLE, XMLSubSys::runParser(), TL, toString(), and WRITE_MESSAGEF.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveParameters()

long GNESingleParametersDialog::ParametersOperations::onCmdSaveParameters ( FXObject *  ,
FXSelector  ,
void *   
)

event when user press save parameters button

Definition at line 322 of file GNESingleParametersDialog.cpp.

References OutputDevice::close(), OutputDevice::closeTag(), gCurrentFolder, OutputDevice::getDevice(), MFXUtils::getFilename2Write(), GUIIconSubSys::getIcon(), GREENVEHICLE, OutputDevice::openTag(), SUMO_ATTR_KEY, SUMO_ATTR_VALUE, SUMO_TAG_PARAM, TL, OutputDevice::writeAttr(), and OutputDevice::writeXMLHeader().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSortParameters()

long GNESingleParametersDialog::ParametersOperations::onCmdSortParameters ( FXObject *  ,
FXSelector  ,
void *   
)

event when user press sort parameters button

Definition at line 366 of file GNESingleParametersDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

Field Documentation

◆ myClearButton

FXButton* GNESingleParametersDialog::ParametersOperations::myClearButton
private

clear button

Definition at line 220 of file GNESingleParametersDialog.h.

Referenced by ParametersOperations().

◆ myHelpButton

FXButton* GNESingleParametersDialog::ParametersOperations::myHelpButton
private

help button

Definition at line 229 of file GNESingleParametersDialog.h.

Referenced by ParametersOperations().

◆ myLoadButton

FXButton* GNESingleParametersDialog::ParametersOperations::myLoadButton
private

load button

Definition at line 223 of file GNESingleParametersDialog.h.

Referenced by ParametersOperations().

◆ myParameterDialogParent

GNESingleParametersDialog* GNESingleParametersDialog::ParametersOperations::myParameterDialogParent
private

pointer to Shape Frame Parent

Definition at line 214 of file GNESingleParametersDialog.h.

◆ mySaveButton

FXButton* GNESingleParametersDialog::ParametersOperations::mySaveButton
private

save button

Definition at line 226 of file GNESingleParametersDialog.h.

Referenced by ParametersOperations().

◆ mySortButton

FXButton* GNESingleParametersDialog::ParametersOperations::mySortButton
private

sort button

Definition at line 217 of file GNESingleParametersDialog.h.

Referenced by ParametersOperations().


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