Eclipse SUMO - Simulation of Urban MObility
GNETLSEditorFrame::TLSPhases Class Reference

#include <GNETLSEditorFrame.h>

Inheritance diagram for GNETLSEditorFrame::TLSPhases:
Collaboration diagram for GNETLSEditorFrame::TLSPhases:

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...
 
GNETLSEditorFramemyTLSEditorParent
 pointer to TLSEditor Parent More...
 

Detailed Description

Definition at line 174 of file GNETLSEditorFrame.h.

Constructor & Destructor Documentation

◆ TLSPhases()

◆ ~TLSPhases()

GNETLSEditorFrame::TLSPhases::~TLSPhases ( )

destructor

Definition at line 1038 of file GNETLSEditorFrame.cpp.

Member Function Documentation

◆ getPhaseTable()

◆ hideCycleDuration()

void GNETLSEditorFrame::TLSPhases::hideCycleDuration ( )

hide cycle duration

Definition at line 1122 of file GNETLSEditorFrame.cpp.

Referenced by GNETLSEditorFrame::cleanup().

◆ initPhaseTable()

void GNETLSEditorFrame::TLSPhases::initPhaseTable ( int  index = 0)

◆ showCycleDuration()

void GNETLSEditorFrame::TLSPhases::showCycleDuration ( )

show cycle duration

Definition at line 1116 of file GNETLSEditorFrame.cpp.

Referenced by GNETLSEditorFrame::onCmdDefSwitch().

◆ updateCycleDuration()

void GNETLSEditorFrame::TLSPhases::updateCycleDuration ( )

recomputes cycle duration and updates label

Definition at line 1127 of file GNETLSEditorFrame.cpp.

References STEPS2TIME, and toString().

Referenced by GNETLSEditorFrame::onCmdDefSwitch(), and GNETLSEditorFrame::onCmdPhaseEdit().

Field Documentation

◆ myCycleDuration

FXLabel* GNETLSEditorFrame::TLSPhases::myCycleDuration
private

label with the cycle duration

Definition at line 214 of file GNETLSEditorFrame.h.

Referenced by TLSPhases().

◆ myDeleteSelectedPhaseButton

FXButton* GNETLSEditorFrame::TLSPhases::myDeleteSelectedPhaseButton
private

delete phase button

Definition at line 220 of file GNETLSEditorFrame.h.

Referenced by TLSPhases().

◆ myInsertDuplicateButton

FXButton* GNETLSEditorFrame::TLSPhases::myInsertDuplicateButton
private

insert new phase button

Definition at line 217 of file GNETLSEditorFrame.h.

Referenced by TLSPhases().

◆ myPhaseTable

FXTable* GNETLSEditorFrame::TLSPhases::myPhaseTable
private

table for selecting and rearranging phases and for changing duration

Definition at line 211 of file GNETLSEditorFrame.h.

Referenced by TLSPhases().

◆ myTableFont

FXFont* GNETLSEditorFrame::TLSPhases::myTableFont
private

font for the phase table

Definition at line 205 of file GNETLSEditorFrame.h.

Referenced by TLSPhases().

◆ myTableScroll

FXScrollWindow* GNETLSEditorFrame::TLSPhases::myTableScroll
private

window for oversized phase tables

Definition at line 208 of file GNETLSEditorFrame.h.

Referenced by TLSPhases().

◆ myTLSEditorParent

GNETLSEditorFrame* GNETLSEditorFrame::TLSPhases::myTLSEditorParent
private

pointer to TLSEditor Parent

Definition at line 202 of file GNETLSEditorFrame.h.

Referenced by TLSPhases().


The documentation for this class was generated from the following files: