![]() |
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 164 of file GNETLSEditorFrame.h.
GNETLSEditorFrame::TLSPhases::TLSPhases | ( | GNETLSEditorFrame * | TLSEditorParent | ) |
constructor
Definition at line 1098 of file GNETLSEditorFrame.cpp.
References GUIDesignAuxiliarHorizontalFrame, GUIDesignButton, GUIDesignLabelLeft, GUIDesignTableLimitedHeight, MID_GNE_TLSFRAME_ADDUNUSED, MID_GNE_TLSFRAME_CLEANUP, MID_GNE_TLSFRAME_GROUP_STATES, MID_GNE_TLSFRAME_PHASE_CREATE, MID_GNE_TLSFRAME_PHASE_DELETE, MID_GNE_TLSFRAME_PHASE_TABLE, MID_GNE_TLSFRAME_UNGROUP_STATES, myCycleDuration, myDeleteSelectedPhaseButton, myInsertDuplicateButton, myPhaseTable, myTableFont, myTableScroll, myTLSEditorParent, and GNETLSEditorFrame::show().
GNETLSEditorFrame::TLSPhases::~TLSPhases | ( | ) |
destructor
Definition at line 1146 of file GNETLSEditorFrame.cpp.
FXTable * GNETLSEditorFrame::TLSPhases::getPhaseTable | ( | ) | const |
get phase table
Definition at line 1152 of file GNETLSEditorFrame.cpp.
Referenced by GNETLSEditorFrame::handleChange(), GNETLSEditorFrame::onCmdAddUnused(), GNETLSEditorFrame::onCmdCleanup(), GNETLSEditorFrame::onCmdGroupStates(), GNETLSEditorFrame::onCmdPhaseCreate(), GNETLSEditorFrame::onCmdPhaseDelete(), GNETLSEditorFrame::onCmdPhaseEdit(), GNETLSEditorFrame::onCmdPhaseSwitch(), GNETLSEditorFrame::onCmdUngroupStates(), and GNETLSEditorFrame::onUpdNeedsDefAndPhase().
void GNETLSEditorFrame::TLSPhases::hideCycleDuration | ( | ) |
hide cycle duration
Definition at line 1230 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 1158 of file GNETLSEditorFrame.cpp.
References MAX2(), STEPS2TIME, toString(), and GNETLSEditorFrame::varDurString().
Referenced by GNETLSEditorFrame::cleanup(), GNETLSEditorFrame::handleChange(), GNETLSEditorFrame::onCmdAddUnused(), GNETLSEditorFrame::onCmdCleanup(), GNETLSEditorFrame::onCmdDefSwitch(), GNETLSEditorFrame::onCmdGroupStates(), GNETLSEditorFrame::onCmdPhaseCreate(), GNETLSEditorFrame::onCmdPhaseDelete(), and GNETLSEditorFrame::onCmdUngroupStates().
void GNETLSEditorFrame::TLSPhases::showCycleDuration | ( | ) |
show cycle duration
Definition at line 1224 of file GNETLSEditorFrame.cpp.
Referenced by GNETLSEditorFrame::onCmdDefSwitch().
void GNETLSEditorFrame::TLSPhases::updateCycleDuration | ( | ) |
recomputes cycle duration and updates label
Definition at line 1235 of file GNETLSEditorFrame.cpp.
References STEPS2TIME, and toString().
Referenced by GNETLSEditorFrame::onCmdDefSwitch(), and GNETLSEditorFrame::onCmdPhaseEdit().
|
private |
label with the cycle duration
Definition at line 204 of file GNETLSEditorFrame.h.
Referenced by TLSPhases().
|
private |
|
private |
insert new phase button
Definition at line 207 of file GNETLSEditorFrame.h.
Referenced by TLSPhases().
|
private |
table for selecting and rearranging phases and for changing duration
Definition at line 201 of file GNETLSEditorFrame.h.
Referenced by TLSPhases().
|
private |
font for the phase table
Definition at line 195 of file GNETLSEditorFrame.h.
Referenced by TLSPhases().
|
private |
window for oversized phase tables
Definition at line 198 of file GNETLSEditorFrame.h.
Referenced by TLSPhases().
|
private |
pointer to TLSEditor Parent
Definition at line 192 of file GNETLSEditorFrame.h.
Referenced by TLSPhases().