![]() |
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) More... | |
GNESingleParametersDialog (GNEAttributeCarrier *attributeCarrier) | |
Constructor for attribute carriers (used in GNECreateEdgeFrame) More... | |
GNESingleParametersDialog (GNEFrameAttributeModules::GenericDataAttributes *genericDataAttributes) | |
Constructor for generic data attributes. More... | |
GNESingleParametersDialog (GNEInspectorFrame::ParametersEditor *parametersEditor) | |
Constructor for parameter editor. More... | |
GNESingleParametersDialog (GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow *VTypeAttributeRow, GNEViewNet *viewNet) | |
Constructor for Vehicle Type Row (Vehicle Type Dialog) More... | |
~GNESingleParametersDialog () | |
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... | |
Protected Attributes | |
FXButton * | myAcceptButton |
accept button More... | |
GNEAttributeCarrier * | myAttributeCarrier |
pointer to GNEAttributeCarrier More... | |
FXButton * | myCancelButton |
cancel button More... | |
GNEFrameAttributeModules::GenericDataAttributes * | myGenericDataAttributes |
FOX need this. More... | |
GNEInspectorFrame::ParametersEditor * | myParametersEditor |
pointer to ParametersEditor More... | |
ParametersOperations * | myParametersOperations |
pointer to parameters operations More... | |
ParametersValues * | myParametersValues |
pointer to parameters values More... | |
FXButton * | myResetButton |
cancel button More... | |
NBLoadedSUMOTLDef * | myTLDef |
pointer to TLDef More... | |
GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow * | VTypeAttributeRow |
pointer to VTypeAttributeRow More... | |
Private Member Functions | |
void | constructor (const std::string &name) |
auxiliar constructor More... | |
GNESingleParametersDialog (const GNESingleParametersDialog &)=delete | |
Invalidated copy constructor. More... | |
GNESingleParametersDialog & | operator= (const GNESingleParametersDialog &)=delete |
Invalidated assignment operator. More... | |
Dialog for edit parameters.
Definition at line 45 of file GNESingleParametersDialog.h.
GNESingleParametersDialog::GNESingleParametersDialog | ( | GNEFrameAttributeModules::GenericDataAttributes * | genericDataAttributes | ) |
Constructor for generic data attributes.
Definition at line 479 of file GNESingleParametersDialog.cpp.
References constructor(), GNEFrameAttributeModules::GenericDataAttributes::getParameters(), myParametersValues, and GNESingleParametersDialog::ParametersValues::setParameters().
GNESingleParametersDialog::GNESingleParametersDialog | ( | GNEInspectorFrame::ParametersEditor * | parametersEditor | ) |
Constructor for parameter editor.
Definition at line 493 of file GNESingleParametersDialog.cpp.
References constructor(), GNEAttributeCarrier::getACParameters(), GNEViewNet::getInspectedAttributeCarriers(), GNEInspectorFrame::ParametersEditor::getInspectorFrameParent(), GNEFrame::getViewNet(), myParametersValues, and GNESingleParametersDialog::ParametersValues::setParameters().
GNESingleParametersDialog::GNESingleParametersDialog | ( | GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow * | VTypeAttributeRow, |
GNEViewNet * | viewNet | ||
) |
Constructor for Vehicle Type Row (Vehicle Type Dialog)
Definition at line 510 of file GNESingleParametersDialog.cpp.
References constructor(), GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::getParametersVectorStr(), myParametersValues, GNESingleParametersDialog::ParametersValues::setParameters(), and VTypeAttributeRow.
GNESingleParametersDialog::GNESingleParametersDialog | ( | GNEAttributeCarrier * | attributeCarrier | ) |
Constructor for attribute carriers (used in GNECreateEdgeFrame)
Definition at line 524 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 538 of file GNESingleParametersDialog.cpp.
References constructor(), Parameterised::getParametersMap(), myParametersValues, and GNESingleParametersDialog::ParametersValues::setParameters().
GNESingleParametersDialog::~GNESingleParametersDialog | ( | ) |
destructor
Definition at line 558 of file GNESingleParametersDialog.cpp.
|
privatedelete |
Invalidated copy constructor.
|
private |
auxiliar constructor
Definition at line 674 of file GNESingleParametersDialog.cpp.
References ACCEPT, APP_TABLE, 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().
long GNESingleParametersDialog::onCmdAccept | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 562 of file GNESingleParametersDialog.cpp.
References GNEUndoList::begin(), GNEUndoList::end(), GNETagProperties::getGUIIcon(), GNEViewNet::getInspectedAttributeCarriers(), GNEInspectorFrame::ParametersEditor::getInspectorFrameParent(), GNEAttributeCarrier::getNet(), GNESingleParametersDialog::ParametersValues::getParameterRows(), GNEAttributeCarrier::getTagProperty(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), GNENet::getViewNet(), SUMOXMLDefinitions::isValidParameterKey(), myAttributeCarrier, myGenericDataAttributes, myParametersEditor, myParametersValues, myTLDef, GNEAttributeCarrier::setACParameters(), GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::setParameters(), GNEFrameAttributeModules::GenericDataAttributes::setParameters(), Parameterised::setParametersMap(), VTypeAttributeRow, and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNESingleParametersDialog::onCmdCancel | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event after press cancel button
Definition at line 640 of file GNESingleParametersDialog.cpp.
Referenced by FXDEFMAP().
long GNESingleParametersDialog::onCmdReset | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event after press reset button
Definition at line 648 of file GNESingleParametersDialog.cpp.
References GNEAttributeCarrier::getACParameters(), GNEViewNet::getInspectedAttributeCarriers(), GNEInspectorFrame::ParametersEditor::getInspectorFrameParent(), GNEFrameAttributeModules::GenericDataAttributes::getParameters(), Parameterised::getParametersMap(), GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::getParametersVectorStr(), GNEFrame::getViewNet(), myAttributeCarrier, myGenericDataAttributes, myParametersEditor, myParametersValues, myTLDef, GNESingleParametersDialog::ParametersValues::setParameters(), and VTypeAttributeRow.
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
protected |
accept button
Definition at line 289 of file GNESingleParametersDialog.h.
Referenced by constructor().
|
protected |
pointer to GNEAttributeCarrier
Definition at line 277 of file GNESingleParametersDialog.h.
Referenced by GNESingleParametersDialog(), onCmdAccept(), and onCmdReset().
|
protected |
cancel button
Definition at line 292 of file GNESingleParametersDialog.h.
Referenced by constructor().
|
protected |
FOX need this.
pointer to GenericDataAttributes
Definition at line 268 of file GNESingleParametersDialog.h.
Referenced by onCmdAccept(), and onCmdReset().
|
protected |
pointer to ParametersEditor
Definition at line 271 of file GNESingleParametersDialog.h.
Referenced by onCmdAccept(), and onCmdReset().
|
protected |
pointer to parameters operations
Definition at line 286 of file GNESingleParametersDialog.h.
Referenced by constructor().
|
protected |
pointer to parameters values
Definition at line 283 of file GNESingleParametersDialog.h.
Referenced by constructor(), GNESingleParametersDialog(), onCmdAccept(), and onCmdReset().
|
protected |
cancel button
Definition at line 295 of file GNESingleParametersDialog.h.
Referenced by constructor().
|
protected |
pointer to TLDef
Definition at line 280 of file GNESingleParametersDialog.h.
Referenced by onCmdAccept(), and onCmdReset().
|
protected |
pointer to VTypeAttributeRow
Definition at line 274 of file GNESingleParametersDialog.h.
Referenced by GNESingleParametersDialog(), onCmdAccept(), and onCmdReset().