![]() |
SUMO - Simulation of Urban MObility
|
FOX-declaration. More...
#include <GNETLSEditorFrame.h>
Public Member Functions | |
GNEJunction * | getCurrentJunction () const |
get current modified junction More... | |
void | setCurrentJunction (GNEJunction *junction) |
set current junction More... | |
TLSJunction (GNETLSEditorFrame *TLSEditorParent) | |
constructor More... | |
void | updateJunctionDescription () const |
update descrition More... | |
~TLSJunction () | |
destructor More... | |
Private Attributes | |
GNEJunction * | myCurrentJunction |
the junction of the tls is being modified More... | |
FXLabel * | myLabelJunctionID |
label for junction ID More... | |
FXLabel * | myLabelJunctionStatus |
label for junction status More... | |
FXTextField * | myTextFieldJunctionID |
text field for junction ID More... | |
FXTextField * | myTextFieldJunctionStatus |
text field for junction status More... | |
GNETLSEditorFrame * | myTLSEditorParent |
pointer to TLSEditor Parent More... | |
FOX-declaration.
Definition at line 51 of file GNETLSEditorFrame.h.
GNETLSEditorFrame::TLSJunction::TLSJunction | ( | GNETLSEditorFrame * | TLSEditorParent | ) |
constructor
Definition at line 875 of file GNETLSEditorFrame.cpp.
References GUIDesignAuxiliarHorizontalFrame, GUIDesignLabelAttribute, GUIDesignTextField, GUIDesignTextFieldNCol, MID_GNE_TLSFRAME_SELECT_JUNCTION, MID_GNE_TLSFRAME_UPDATE_STATUS, myLabelJunctionID, myLabelJunctionStatus, myTextFieldJunctionID, myTextFieldJunctionStatus, GNEFrame::show(), and updateJunctionDescription().
GNETLSEditorFrame::TLSJunction::~TLSJunction | ( | ) |
destructor
Definition at line 896 of file GNETLSEditorFrame.cpp.
GNEJunction * GNETLSEditorFrame::TLSJunction::getCurrentJunction | ( | ) | const |
get current modified junction
Definition at line 900 of file GNETLSEditorFrame.cpp.
References myCurrentJunction.
Referenced by GNETLSEditorFrame::buildIinternalLanes(), GNETLSEditorFrame::cleanup(), GNETLSEditorFrame::editJunction(), GNETLSEditorFrame::onCmdCancel(), GNETLSEditorFrame::onCmdDefCreate(), GNETLSEditorFrame::onCmdDefDelete(), GNETLSEditorFrame::onCmdDefSwitch(), GNETLSEditorFrame::onCmdOK(), and GNETLSEditorFrame::onUpdDefCreate().
void GNETLSEditorFrame::TLSJunction::setCurrentJunction | ( | GNEJunction * | junction | ) |
set current junction
Definition at line 906 of file GNETLSEditorFrame.cpp.
References myCurrentJunction.
Referenced by GNETLSEditorFrame::cleanup(), and GNETLSEditorFrame::editJunction().
void GNETLSEditorFrame::TLSJunction::updateJunctionDescription | ( | ) | const |
update descrition
Definition at line 912 of file GNETLSEditorFrame.cpp.
References GNETLSEditorFrame::TLSModifications::checkHaveModifications(), Named::getID(), GNEJunction::getNBNode(), NBNode::isTLControlled(), myCurrentJunction, myTextFieldJunctionID, myTextFieldJunctionStatus, myTLSEditorParent, and GNETLSEditorFrame::myTLSModifications.
Referenced by GNETLSEditorFrame::cleanup(), GNETLSEditorFrame::editJunction(), and TLSJunction().
|
private |
the junction of the tls is being modified
Definition at line 86 of file GNETLSEditorFrame.h.
Referenced by getCurrentJunction(), setCurrentJunction(), and updateJunctionDescription().
|
private |
label for junction ID
Definition at line 74 of file GNETLSEditorFrame.h.
Referenced by TLSJunction().
|
private |
label for junction status
Definition at line 80 of file GNETLSEditorFrame.h.
Referenced by TLSJunction().
|
private |
text field for junction ID
Definition at line 77 of file GNETLSEditorFrame.h.
Referenced by TLSJunction(), and updateJunctionDescription().
|
private |
text field for junction status
Definition at line 83 of file GNETLSEditorFrame.h.
Referenced by TLSJunction(), and updateJunctionDescription().
|
private |
pointer to TLSEditor Parent
Definition at line 71 of file GNETLSEditorFrame.h.
Referenced by updateJunctionDescription().