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

#include <GNEParametersDialog.h>

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

Data Structures

class  GNEParameterHandler
 FOX need this. More...
 

Public Member Functions

 ParametersOperations (FXHorizontalFrame *frame, GNEParametersDialog *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
 
GNEParametersDialogmyParameterDialogParent
 pointer to Shape Frame Parent
 
FXButton * mySaveButton
 save button
 
FXButton * mySortButton
 sort button
 

Detailed Description

Definition at line 153 of file GNEParametersDialog.h.

Constructor & Destructor Documentation

◆ ParametersOperations()

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

◆ ~ParametersOperations()

GNEParametersDialog::ParametersOperations::~ParametersOperations ( )

destructor

Definition at line 302 of file GNEParametersDialog.cpp.

Member Function Documentation

◆ onCmdClearParameters()

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

event when user press clear parameters button

Definition at line 370 of file GNEParametersDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdHelpParameter()

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

event when user press help parameters button

Definition at line 406 of file GNEParametersDialog.cpp.

References TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLoadParameters()

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

Definition at line 306 of file GNEParametersDialog.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveParameters()

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

event when user press save parameters button

Definition at line 333 of file GNEParametersDialog.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(), OutputDevice::writeXMLHeader(), and SUMOXMLDefinitions::XMLFileExtensions.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSortParameters()

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

event when user press sort parameters button

Definition at line 378 of file GNEParametersDialog.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

Field Documentation

◆ myClearButton

FXButton* GNEParametersDialog::ParametersOperations::myClearButton
private

clear button

Definition at line 221 of file GNEParametersDialog.h.

Referenced by ParametersOperations().

◆ myHelpButton

FXButton* GNEParametersDialog::ParametersOperations::myHelpButton
private

help button

Definition at line 230 of file GNEParametersDialog.h.

Referenced by ParametersOperations().

◆ myLoadButton

FXButton* GNEParametersDialog::ParametersOperations::myLoadButton
private

load button

Definition at line 224 of file GNEParametersDialog.h.

Referenced by ParametersOperations().

◆ myParameterDialogParent

GNEParametersDialog* GNEParametersDialog::ParametersOperations::myParameterDialogParent
private

pointer to Shape Frame Parent

Definition at line 215 of file GNEParametersDialog.h.

◆ mySaveButton

FXButton* GNEParametersDialog::ParametersOperations::mySaveButton
private

save button

Definition at line 227 of file GNEParametersDialog.h.

Referenced by ParametersOperations().

◆ mySortButton

FXButton* GNEParametersDialog::ParametersOperations::mySortButton
private

sort button

Definition at line 218 of file GNEParametersDialog.h.

Referenced by ParametersOperations().


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