![]() |
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 (GNEAttributeCarrier *attributeCarrier) | |
Constructor for attribute carriers (used in GNECreateEdgeFrame) More... | |
GNESingleParametersDialog (GNEFrameAttributesModuls::ParametersEditorCreator *parametersEditorCreator) | |
Constructor for parameter editor creator. More... | |
GNESingleParametersDialog (GNEInspectorFrame::ParametersEditorInspector *parametersEditorInspector) | |
Constructor for parameter editor inspector. 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... | |
GNEFrameAttributesModuls::ParametersEditorCreator * | myParametersEditorCreator |
FOX need this. More... | |
GNEInspectorFrame::ParametersEditorInspector * | myParametersEditorInspector |
pointer to ParametersEditorInspector More... | |
ParametersOperations * | myParametersOperations |
pointer to parameters operations More... | |
ParametersValues * | myParametersValues |
pointer to parameters values More... | |
FXButton * | myResetButton |
cancel button More... | |
GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow * | VTypeAttributeRow |
pointer to VTypeAttributeRow More... | |
Private Member Functions | |
void | constructor () |
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 44 of file GNESingleParametersDialog.h.
GNESingleParametersDialog::GNESingleParametersDialog | ( | GNEFrameAttributesModuls::ParametersEditorCreator * | parametersEditorCreator | ) |
Constructor for parameter editor creator.
Definition at line 485 of file GNESingleParametersDialog.cpp.
References constructor(), GNEFrameAttributesModuls::ParametersEditorCreator::getParameters(), myParametersValues, and GNESingleParametersDialog::ParametersValues::setParameters().
GNESingleParametersDialog::GNESingleParametersDialog | ( | GNEInspectorFrame::ParametersEditorInspector * | parametersEditorInspector | ) |
Constructor for parameter editor inspector.
Definition at line 498 of file GNESingleParametersDialog.cpp.
References constructor(), GNEAttributeCarrier::getACParameters(), GNEViewNet::getInspectedAttributeCarriers(), GNEInspectorFrame::ParametersEditorInspector::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 514 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 527 of file GNESingleParametersDialog.cpp.
References constructor(), GNEAttributeCarrier::getACParameters(), myAttributeCarrier, myParametersValues, and GNESingleParametersDialog::ParametersValues::setParameters().
GNESingleParametersDialog::~GNESingleParametersDialog | ( | ) |
destructor
Definition at line 540 of file GNESingleParametersDialog.cpp.
|
privatedelete |
Invalidated copy constructor.
|
private |
auxiliar constructor
Definition at line 648 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, and RESET.
Referenced by GNESingleParametersDialog().
long GNESingleParametersDialog::onCmdAccept | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
Definition at line 544 of file GNESingleParametersDialog.cpp.
References Parameterised::DOUBLE, GNEFrameAttributesModuls::ParametersEditorCreator::getAttrType(), GNEViewNet::getInspectedAttributeCarriers(), GNEInspectorFrame::ParametersEditorInspector::getInspectorFrameParent(), GNEAttributeCarrier::getNet(), GNESingleParametersDialog::ParametersValues::getParameterRows(), GNEViewNet::getUndoList(), GNEFrame::getViewNet(), GNENet::getViewNet(), SUMOXMLDefinitions::isValidParameterKey(), myAttributeCarrier, myParametersEditorCreator, myParametersEditorInspector, myParametersValues, GNEUndoList::p_begin(), GNEUndoList::p_end(), GNEAttributeCarrier::setACParameters(), GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::setParameters(), GNEFrameAttributesModuls::ParametersEditorCreator::setParameters(), VTypeAttributeRow, and WRITE_DEBUG.
Referenced by FXDEFMAP().
long GNESingleParametersDialog::onCmdCancel | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event after press cancel button
Definition at line 623 of file GNESingleParametersDialog.cpp.
Referenced by FXDEFMAP().
long GNESingleParametersDialog::onCmdReset | ( | FXObject * | , |
FXSelector | , | ||
void * | |||
) |
event after press reset button
Definition at line 631 of file GNESingleParametersDialog.cpp.
References GNEAttributeCarrier::getACParameters(), GNEViewNet::getInspectedAttributeCarriers(), GNEInspectorFrame::ParametersEditorInspector::getInspectorFrameParent(), GNEFrameAttributesModuls::ParametersEditorCreator::getParameters(), GNEVehicleTypeDialog::VTypeAtributes::VTypeAttributeRow::getParametersVectorStr(), GNEFrame::getViewNet(), myAttributeCarrier, myParametersEditorCreator, myParametersEditorInspector, myParametersValues, GNESingleParametersDialog::ParametersValues::setParameters(), and VTypeAttributeRow.
Referenced by FXDEFMAP().
|
privatedelete |
Invalidated assignment operator.
|
protected |
accept button
Definition at line 285 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 288 of file GNESingleParametersDialog.h.
Referenced by constructor().
|
protected |
FOX need this.
pointer to ParametersEditorCreator
Definition at line 267 of file GNESingleParametersDialog.h.
Referenced by onCmdAccept(), and onCmdReset().
|
protected |
pointer to ParametersEditorInspector
Definition at line 270 of file GNESingleParametersDialog.h.
Referenced by onCmdAccept(), and onCmdReset().
|
protected |
pointer to parameters operations
Definition at line 282 of file GNESingleParametersDialog.h.
Referenced by constructor().
|
protected |
pointer to parameters values
Definition at line 279 of file GNESingleParametersDialog.h.
Referenced by constructor(), GNESingleParametersDialog(), onCmdAccept(), and onCmdReset().
|
protected |
cancel button
Definition at line 291 of file GNESingleParametersDialog.h.
Referenced by constructor().
|
protected |
pointer to VTypeAttributeRow
Definition at line 273 of file GNESingleParametersDialog.h.
Referenced by GNESingleParametersDialog(), onCmdAccept(), and onCmdReset().