Eclipse SUMO - Simulation of Urban MObility
|
Dialog for edit parameters. More...
#include <GNESingleParametersDialog.h>
Data Structures | |
class | ParametersOperations |
class | ParametersValues |
FOX-declaration. More... | |
Public Member Functions | |
GNESingleParametersDialog (FXApp *app, NBLoadedSUMOTLDef *TLDef) | |
Constructor for attribute carriers (used in GNETLSEditorFrame) | |
GNESingleParametersDialog (GNEAttributeCarrier *attributeCarrier) | |
Constructor for attribute carriers (used in GNECreateEdgeFrame) | |
GNESingleParametersDialog (GNEFrameAttributeModules::GenericDataAttributes *genericDataAttributes) | |
Constructor for generic data attributes. | |
GNESingleParametersDialog (GNEFrameAttributeModules::ParametersEditor *parametersEditor) | |
Constructor for parameter editor. | |
GNESingleParametersDialog (GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow *VTypeAttributeRow, GNEViewNet *viewNet) | |
Constructor for Vehicle Type Row (Vehicle Type Dialog) | |
~GNESingleParametersDialog () | |
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 | |
Protected Attributes | |
FXButton * | myAcceptButton |
accept button | |
GNEAttributeCarrier * | myAttributeCarrier |
pointer to GNEAttributeCarrier | |
FXButton * | myCancelButton |
cancel button | |
GNEFrameAttributeModules::GenericDataAttributes * | myGenericDataAttributes |
FOX need this. | |
GNEFrameAttributeModules::ParametersEditor * | myParametersEditor |
pointer to ParametersEditor | |
ParametersOperations * | myParametersOperations |
pointer to parameters operations | |
ParametersValues * | myParametersValues |
pointer to parameters values | |
FXButton * | myResetButton |
cancel button | |
NBLoadedSUMOTLDef * | myTLDef |
pointer to TLDef | |
GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow * | VTypeAttributeRow |
pointer to VTypeAttributeRow | |
Private Member Functions | |
void | constructor (const std::string &name) |
auxiliar constructor | |
GNESingleParametersDialog (const GNESingleParametersDialog &)=delete | |
Invalidated copy constructor. | |
GNESingleParametersDialog & | operator= (const GNESingleParametersDialog &)=delete |
Invalidated assignment operator. | |
Dialog for edit parameters.
Definition at line 44 of file GNESingleParametersDialog.h.
GNESingleParametersDialog::GNESingleParametersDialog | ( | GNEFrameAttributeModules::GenericDataAttributes * | genericDataAttributes | ) |
Constructor for generic data attributes.
Definition at line 481 of file GNESingleParametersDialog.cpp.
References constructor(), GNEFrameAttributeModules::GenericDataAttributes::getParameters(), myParametersValues, and GNESingleParametersDialog::ParametersValues::setParameters().
GNESingleParametersDialog::GNESingleParametersDialog | ( | GNEFrameAttributeModules::ParametersEditor * | parametersEditor | ) |
Constructor for parameter editor.
Definition at line 495 of file GNESingleParametersDialog.cpp.
References constructor(), GNETypeFrame::TypeSelector::getCurrentType(), GNEViewNet::getInspectedElements(), GNEFrameAttributeModules::ParametersEditor::getInspectorFrameParent(), GNEFrameAttributeModules::ParametersEditor::getTypeFrameParent(), GNETypeFrame::getTypeSelector(), GNEFrameAttributeModules::ParametersEditor::getViewNet(), myParametersValues, and GNESingleParametersDialog::ParametersValues::setParameters().
GNESingleParametersDialog::GNESingleParametersDialog | ( | GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow * | VTypeAttributeRow, |
GNEViewNet * | viewNet | ||
) |
Constructor for Vehicle Type Row (Vehicle Type Dialog)
Definition at line 519 of file GNESingleParametersDialog.cpp.
References constructor(), GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::getParametersVectorStr(), myParametersValues, GNESingleParametersDialog::ParametersValues::setParameters(), and VTypeAttributeRow.
GNESingleParametersDialog::GNESingleParametersDialog | ( | GNEAttributeCarrier * | attributeCarrier | ) |
Constructor for attribute carriers (used in GNECreateEdgeFrame)
Definition at line 533 of file GNESingleParametersDialog.cpp.
References constructor(), GNEAttributeCarrier::getACParameters(), myAttributeCarrier, myParametersValues, and GNESingleParametersDialog::ParametersValues::setParameters().
GNESingleParametersDialog::GNESingleParametersDialog | ( | FXApp * | app, |
NBLoadedSUMOTLDef * | TLDef | ||
) |
Constructor for attribute carriers (used in GNETLSEditorFrame)
Definition at line 547 of file GNESingleParametersDialog.cpp.
References constructor(), Parameterised::getParametersMap(), myParametersValues, and GNESingleParametersDialog::ParametersValues::setParameters().
GNESingleParametersDialog::~GNESingleParametersDialog | ( | ) |
destructor
Definition at line 567 of file GNESingleParametersDialog.cpp.
|
privatedelete |
Invalidated copy constructor.
|
private |
auxiliar constructor
Definition at line 694 of file GNESingleParametersDialog.cpp.
References ACCEPT, APP_TABLE, GUIDesigns::buildFXButton(), CANCEL, GUIIconSubSys::getIcon(), GUIDesignAuxiliarFrame, GUIDesignAuxiliarHorizontalFrame, GUIDesignButtonAccept, GUIDesignButtonCancel, GUIDesignButtonReset, GUIDesignHorizontalFrame, GUIDesignHorizontalSeparator, MID_GNE_BUTTON_ACCEPT, MID_GNE_BUTTON_CANCEL, MID_GNE_BUTTON_RESET, myAcceptButton, myCancelButton, myParametersOperations, myParametersValues, myResetButton, RESET, and TL.
Referenced by GNESingleParametersDialog(), GNESingleParametersDialog(), GNESingleParametersDialog(), GNESingleParametersDialog(), and GNESingleParametersDialog().
long GNESingleParametersDialog::onCmdAccept | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 571 of file GNESingleParametersDialog.cpp.
References GNEUndoList::begin(), Parameterised::clearParameter(), GNEUndoList::end(), GNETypeFrame::TypeSelector::getCurrentType(), GNEViewNet::getInspectedElements(), GNEFrameAttributeModules::ParametersEditor::getInspectorFrameParent(), GNEAttributeCarrier::getNet(), GNESingleParametersDialog::ParametersValues::getParameterRows(), GNEFrameAttributeModules::ParametersEditor::getTypeFrameParent(), GNETypeFrame::getTypeSelector(), GNEViewNet::getUndoList(), GNEFrameAttributeModules::ParametersEditor::getViewNet(), GNENet::getViewNet(), SUMOXMLDefinitions::isValidParameterKey(), myAttributeCarrier, myGenericDataAttributes, myParametersEditor, myParametersValues, myTLDef, GNEAttributeCarrier::setACParameters(), Parameterised::setParameter(), GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::setParameters(), GNEFrameAttributeModules::GenericDataAttributes::setParameters(), VTypeAttributeRow, and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNESingleParametersDialog::onCmdCancel | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event after press cancel button
Definition at line 654 of file GNESingleParametersDialog.cpp.
Referenced by FXDEFMAP().
long GNESingleParametersDialog::onCmdReset | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event after press reset button
Definition at line 662 of file GNESingleParametersDialog.cpp.
References GNEAttributeCarrier::getACParameters(), GNETypeFrame::TypeSelector::getCurrentType(), GNEViewNet::getInspectedElements(), GNEFrameAttributeModules::ParametersEditor::getInspectorFrameParent(), GNEFrameAttributeModules::GenericDataAttributes::getParameters(), Parameterised::getParametersMap(), GNEVehicleTypeDialog::VTypeAttributes::VTypeAttributeRow::getParametersVectorStr(), GNEFrameAttributeModules::ParametersEditor::getTypeFrameParent(), GNETypeFrame::getTypeSelector(), GNEFrameAttributeModules::ParametersEditor::getViewNet(), myAttributeCarrier, myGenericDataAttributes, myParametersEditor, myParametersValues, myTLDef, GNESingleParametersDialog::ParametersValues::setParameters(), and VTypeAttributeRow.
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
protected |
accept button
Definition at line 288 of file GNESingleParametersDialog.h.
Referenced by constructor().
|
protected |
pointer to GNEAttributeCarrier
Definition at line 276 of file GNESingleParametersDialog.h.
Referenced by GNESingleParametersDialog(), onCmdAccept(), and onCmdReset().
|
protected |
cancel button
Definition at line 291 of file GNESingleParametersDialog.h.
Referenced by constructor().
|
protected |
FOX need this.
pointer to GenericDataAttributes
Definition at line 267 of file GNESingleParametersDialog.h.
Referenced by onCmdAccept(), and onCmdReset().
|
protected |
pointer to ParametersEditor
Definition at line 270 of file GNESingleParametersDialog.h.
Referenced by onCmdAccept(), and onCmdReset().
|
protected |
pointer to parameters operations
Definition at line 285 of file GNESingleParametersDialog.h.
Referenced by constructor().
|
protected |
pointer to parameters values
Definition at line 282 of file GNESingleParametersDialog.h.
Referenced by constructor(), GNESingleParametersDialog(), GNESingleParametersDialog(), GNESingleParametersDialog(), GNESingleParametersDialog(), GNESingleParametersDialog(), onCmdAccept(), and onCmdReset().
|
protected |
cancel button
Definition at line 294 of file GNESingleParametersDialog.h.
Referenced by constructor().
|
protected |
pointer to TLDef
Definition at line 279 of file GNESingleParametersDialog.h.
Referenced by onCmdAccept(), and onCmdReset().
|
protected |
pointer to VTypeAttributeRow
Definition at line 273 of file GNESingleParametersDialog.h.
Referenced by GNESingleParametersDialog(), onCmdAccept(), and onCmdReset().