![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNETLSEditorFrame.h>
Public Member Functions | |
bool | checkHaveModifications () const |
check if current TLS was modified More... | |
void | setHaveModifications (bool value) |
set if current TLS was modified More... | |
TLSModifications (GNETLSEditorFrame *TLSEditorParent) | |
constructor More... | |
~TLSModifications () | |
destructor More... | |
Private Attributes | |
FXButton * | myDiscardModificationsButtons |
button for cancel modifications More... | |
bool | myHaveModifications |
whether the current tls was modified More... | |
FXButton * | mySaveModificationsButtons |
button for save modifications More... | |
GNETLSEditorFrame * | myTLSEditorParent |
pointer to TLSEditor Parent More... | |
Definition at line 227 of file GNETLSEditorFrame.h.
GNETLSEditorFrame::TLSModifications::TLSModifications | ( | GNETLSEditorFrame * | TLSEditorParent | ) |
constructor
Definition at line 1140 of file GNETLSEditorFrame.cpp.
References GUIIconSubSys::getIcon(), GUIDesignButton, ICON_CANCEL, ICON_OK, MID_CANCEL, MID_OK, myDiscardModificationsButtons, mySaveModificationsButtons, myTLSEditorParent, and GNEFrame::show().
GNETLSEditorFrame::TLSModifications::~TLSModifications | ( | ) |
destructor
Definition at line 1155 of file GNETLSEditorFrame.cpp.
bool GNETLSEditorFrame::TLSModifications::checkHaveModifications | ( | ) | const |
check if current TLS was modified
Definition at line 1159 of file GNETLSEditorFrame.cpp.
References myHaveModifications.
Referenced by GNETLSEditorFrame::editJunction(), GNETLSEditorFrame::isTLSSaved(), GNETLSEditorFrame::onCmdOK(), GNETLSEditorFrame::onUpdDefCreate(), GNETLSEditorFrame::onUpdDefSwitch(), GNETLSEditorFrame::onUpdModified(), and GNETLSEditorFrame::TLSJunction::updateJunctionDescription().
void GNETLSEditorFrame::TLSModifications::setHaveModifications | ( | bool | value | ) |
set if current TLS was modified
Definition at line 1165 of file GNETLSEditorFrame.cpp.
References myHaveModifications.
Referenced by GNETLSEditorFrame::cleanup(), GNETLSEditorFrame::handleChange(), GNETLSEditorFrame::handleMultiChange(), GNETLSEditorFrame::onCmdAddUnused(), GNETLSEditorFrame::onCmdCleanup(), GNETLSEditorFrame::onCmdDefOffset(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNETLSEditorFrame::onCmdPhaseCreate(), GNETLSEditorFrame::onCmdPhaseDelete(), and GNETLSEditorFrame::onCmdPhaseEdit().
|
private |
button for cancel modifications
Definition at line 247 of file GNETLSEditorFrame.h.
Referenced by TLSModifications().
|
private |
whether the current tls was modified
Definition at line 253 of file GNETLSEditorFrame.h.
Referenced by checkHaveModifications(), and setHaveModifications().
|
private |
button for save modifications
Definition at line 250 of file GNETLSEditorFrame.h.
Referenced by TLSModifications().
|
private |
pointer to TLSEditor Parent
Definition at line 244 of file GNETLSEditorFrame.h.
Referenced by TLSModifications().