![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <GNETLSEditorFrame.h>
Public Member Functions | |
| FXTable * | getPhaseTable () const |
| get phase table More... | |
| void | hideCycleDuration () |
| hide cycle duration More... | |
| void | initPhaseTable (int index=0) |
| initialies the phase table More... | |
| void | showCycleDuration () |
| show cycle duration More... | |
| TLSPhases (GNETLSEditorFrame *TLSEditorParent) | |
| constructor More... | |
| void | updateCycleDuration () |
| recomputes cycle duration and updates label More... | |
| ~TLSPhases () | |
| destructor More... | |
Private Attributes | |
| FXLabel * | myCycleDuration |
| label with the cycle duration More... | |
| FXButton * | myDeleteSelectedPhaseButton |
| delete phase button More... | |
| FXButton * | myInsertDuplicateButton |
| insert new phase button More... | |
| FXTable * | myPhaseTable |
| table for selecting and rearranging phases and for changing duration More... | |
| FXFont * | myTableFont |
| font for the phase table More... | |
| FXScrollWindow * | myTableScroll |
| window for oversized phase tables More... | |
| GNETLSEditorFrame * | myTLSEditorParent |
| pointer to TLSEditor Parent More... | |
Definition at line 173 of file GNETLSEditorFrame.h.
| GNETLSEditorFrame::TLSPhases::TLSPhases | ( | GNETLSEditorFrame * | TLSEditorParent | ) |
constructor
Definition at line 1038 of file GNETLSEditorFrame.cpp.
References GUIDesignButton, GUIDesignLabelLeft, GUIDesignTableLimitedHeight, MID_GNE_TLSFRAME_ADDUNUSED, MID_GNE_TLSFRAME_CLEANUP, MID_GNE_TLSFRAME_PHASE_CREATE, MID_GNE_TLSFRAME_PHASE_DELETE, MID_GNE_TLSFRAME_PHASE_TABLE, myCycleDuration, myDeleteSelectedPhaseButton, myInsertDuplicateButton, myPhaseTable, myTableFont, myTableScroll, myTLSEditorParent, and GNETLSEditorFrame::show().
| GNETLSEditorFrame::TLSPhases::~TLSPhases | ( | ) |
destructor
Definition at line 1074 of file GNETLSEditorFrame.cpp.
| FXTable * GNETLSEditorFrame::TLSPhases::getPhaseTable | ( | ) | const |
get phase table
Definition at line 1080 of file GNETLSEditorFrame.cpp.
Referenced by GNETLSEditorFrame::handleChange(), GNETLSEditorFrame::onCmdAddUnused(), GNETLSEditorFrame::onCmdCleanup(), GNETLSEditorFrame::onCmdPhaseCreate(), GNETLSEditorFrame::onCmdPhaseDelete(), GNETLSEditorFrame::onCmdPhaseEdit(), GNETLSEditorFrame::onCmdPhaseSwitch(), and GNETLSEditorFrame::onUpdNeedsDefAndPhase().
| void GNETLSEditorFrame::TLSPhases::hideCycleDuration | ( | ) |
hide cycle duration
Definition at line 1158 of file GNETLSEditorFrame.cpp.
Referenced by GNETLSEditorFrame::cleanup().
| void GNETLSEditorFrame::TLSPhases::initPhaseTable | ( | int | index = 0 | ) |
initialies the phase table
| [in] | index | The index to select |
Definition at line 1086 of file GNETLSEditorFrame.cpp.
References MAX2(), STEPS2TIME, toString(), and GNETLSEditorFrame::varDurString().
Referenced by GNETLSEditorFrame::cleanup(), GNETLSEditorFrame::handleChange(), GNETLSEditorFrame::onCmdAddUnused(), GNETLSEditorFrame::onCmdCleanup(), GNETLSEditorFrame::onCmdDefSwitch(), GNETLSEditorFrame::onCmdPhaseCreate(), and GNETLSEditorFrame::onCmdPhaseDelete().
| void GNETLSEditorFrame::TLSPhases::showCycleDuration | ( | ) |
show cycle duration
Definition at line 1152 of file GNETLSEditorFrame.cpp.
Referenced by GNETLSEditorFrame::onCmdDefSwitch().
| void GNETLSEditorFrame::TLSPhases::updateCycleDuration | ( | ) |
recomputes cycle duration and updates label
Definition at line 1163 of file GNETLSEditorFrame.cpp.
References STEPS2TIME, and toString().
Referenced by GNETLSEditorFrame::onCmdDefSwitch(), and GNETLSEditorFrame::onCmdPhaseEdit().
|
private |
label with the cycle duration
Definition at line 213 of file GNETLSEditorFrame.h.
Referenced by TLSPhases().
|
private |
|
private |
insert new phase button
Definition at line 216 of file GNETLSEditorFrame.h.
Referenced by TLSPhases().
|
private |
table for selecting and rearranging phases and for changing duration
Definition at line 210 of file GNETLSEditorFrame.h.
Referenced by TLSPhases().
|
private |
font for the phase table
Definition at line 204 of file GNETLSEditorFrame.h.
Referenced by TLSPhases().
|
private |
window for oversized phase tables
Definition at line 207 of file GNETLSEditorFrame.h.
Referenced by TLSPhases().
|
private |
pointer to TLSEditor Parent
Definition at line 201 of file GNETLSEditorFrame.h.
Referenced by TLSPhases().