Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNETLSEditorFrame::TLSPhases Class Reference

#include <GNETLSEditorFrame.h>

Inheritance diagram for GNETLSEditorFrame::TLSPhases:
[legend]
Collaboration diagram for GNETLSEditorFrame::TLSPhases:
[legend]

Public Types

enum  Options {
  NOTHING = 1 << 0 , COLLAPSIBLE = 1 << 1 , EXTENSIBLE = 1 << 2 , SAVE = 1 << 3 ,
  LOAD = 1 << 4
}
 GroupBoxModule options. More...
 

Public Member Functions

void addPhase (const int row, const char c=' ')
 add phase
 
bool changePhaseValue (const int col, const int row, const std::string &value)
 change phase value (state, name, next, etc.)
 
void duplicatePhase (const int row)
 duplicate phase
 
FXVerticalFrame * getCollapsableFrame ()
 get collapsable frame (used by all elements that will be collapsed if button is toggled)
 
GNETLSTablegetPhaseTable () const
 get phase table
 
GNETLSEditorFramegetTLSEditorParent () const
 get TLSEditor Parent
 
void hideTLSPhases ()
 hide TLSPhases
 
void initPhaseTable ()
 initializes the phase table
 
void movePhaseDown (const int row)
 move phase down
 
void movePhaseUp (const int row)
 move phase up
 
long onCmdCollapseButton (FXObject *, FXSelector, void *)
 collapse GroupBoxModule
 
long onCmdExtendButton (FXObject *, FXSelector, void *)
 extends GroupBoxModule
 
long onCmdLoadButton (FXObject *, FXSelector, void *)
 load contents
 
long onCmdResetButton (FXObject *, FXSelector, void *)
 reset GroupBoxModule
 
long onCmdSaveButton (FXObject *, FXSelector, void *)
 save contents
 
long onPaint (FXObject *, FXSelector, void *)
 draw MFXGroupBoxModule
 
long onUpdResetButton (FXObject *, FXSelector, void *)
 update reset GroupBoxModule
 
void removePhase (const int row)
 delete phase
 
void setText (const std::string &text)
 set text
 
void showTLSPhases ()
 show TLSPhases
 
 TLSPhases (GNETLSEditorFrame *TLSEditorParent)
 FOX-declaration.
 
void updateTLSColoring ()
 update TLS coloring
 
 ~TLSPhases ()
 destructor
 
FOX-callbacks

Called when the user cleans up states

long onCmdCleanStates (FXObject *, FXSelector, void *)
 
long onCmdAddUnusedStates (FXObject *, FXSelector, void *)
 Called when the user cleans up states.
 
long onCmdGroupStates (FXObject *, FXSelector, void *)
 Called when the user groups states.
 
long onCmdUngroupStates (FXObject *, FXSelector, void *)
 Called when the user ungroups states.
 
long onUpdUngroupStates (FXObject *, FXSelector, void *)
 Called to update the ungroups states button.
 
long onUpdNeedsSingleDef (FXObject *, FXSelector, void *)
 Called to buttons that modify link indices.
 
long onUpdNeedsDef (FXObject *, FXSelector, void *)
 enable buttons, only when a tlLogic is being edited
 
long onUpdNeedsDefAndPhase (FXObject *, FXSelector, void *)
 Called when occurs an update of needs definition and phase.
 

Protected Member Functions

virtual bool loadContents () const
 load contents (can be reimplemented in children)
 
virtual bool saveContents () const
 save contents (can be reimplemented in children)
 
void toggleSaveButton (const bool value)
 enable or disable save buttons
 

Private Member Functions

int buildDefaultPhase (const int row)
 build default phase
 
void initActuatedPhaseTable ()
 init actuated phase table
 
void initDelayBasePhaseTable ()
 init delayBase phase table
 
void initNEMAPhaseTable ()
 init NEMA phase table
 
void initStaticPhaseTable ()
 FOX needs this.
 
bool setDuration (const int col, const int row, const std::string &value)
 set duration
 
bool setEarliestEnd (const int row, const std::string &value)
 set earliestEnd
 
bool setLatestEnd (const int row, const std::string &value)
 set latestEnd
 
bool setMaxDur (const int row, const std::string &value)
 set maxDur
 
bool setMinDur (const int row, const std::string &value)
 set minDur
 
bool setName (const int row, const std::string &value)
 set name
 
bool setNext (const int row, const std::string &value)
 set next
 
bool setRed (const int row, const std::string &value)
 set red
 
bool setState (const int col, const int row, const std::string &value)
 set state
 
bool setVehExt (const int row, const std::string &value)
 set vehExt
 
bool setYellow (const int row, const std::string &value)
 set yellow
 
void updateCycleDuration (const int col)
 recomputes cycle duration and updates label
 
void updateStateSize (const int col)
 update state size
 

Private Attributes

FXVerticalFrame * myCollapsableFrame = nullptr
 vertical collapsable frame
 
FXButton * myCollapseButton = nullptr
 button for collapse elements
 
bool myCollapsed
 flag to check if this groupbox is collapsed
 
FXButton * myExtendButton = nullptr
 button for extend elements
 
GNEFramemyFrameParent = nullptr
 GNEFrame in which this GroupBox is placed.
 
FXLabel * myLabel = nullptr
 label used in non collapsable MFXGroupBoxModule
 
FXButton * myLoadButton = nullptr
 button for load elements
 
const int myOptions
 GroupBoxModule options.
 
GNETLSTablemyPhaseTable
 table for selecting and rearranging phases and for changing duration
 
FXButton * myResetWidthButton = nullptr
 button for reset frame width
 
FXButton * mySaveButton = nullptr
 button for save elements
 
GNETLSEditorFramemyTLSEditorParent
 pointer to TLSEditor Parent
 

Detailed Description

Definition at line 381 of file GNETLSEditorFrame.h.

Member Enumeration Documentation

◆ Options

GroupBoxModule options.

Enumerator
NOTHING 
COLLAPSIBLE 
EXTENSIBLE 
SAVE 
LOAD 

Definition at line 37 of file MFXGroupBoxModule.h.

Constructor & Destructor Documentation

◆ TLSPhases()

◆ ~TLSPhases()

GNETLSEditorFrame::TLSPhases::~TLSPhases ( )

destructor

Definition at line 1946 of file GNETLSEditorFrame.cpp.

Member Function Documentation

◆ addPhase()

void GNETLSEditorFrame::TLSPhases::addPhase ( const int  row,
const char  c = ' ' 
)

add phase

Definition at line 2073 of file GNETLSEditorFrame.cpp.

References toString(), and WRITE_DEBUG.

Referenced by GNETLSTable::onCmdAddPhase(), GNETLSTable::onCmdAddPhaseAllGreen(), GNETLSTable::onCmdAddPhaseAllGreenPriority(), GNETLSTable::onCmdAddPhaseAllRed(), and GNETLSTable::onCmdAddPhaseAllYellow().

Here is the caller graph for this function:

◆ buildDefaultPhase()

◆ changePhaseValue()

bool GNETLSEditorFrame::TLSPhases::changePhaseValue ( const int  col,
const int  row,
const std::string &  value 
)

change phase value (state, name, next, etc.)

Definition at line 2001 of file GNETLSEditorFrame.cpp.

References ACTUATED, DELAYBASED, NEMA, STATIC, and TL.

Referenced by GNETLSTable::onCmdEditRow().

Here is the caller graph for this function:

◆ duplicatePhase()

void GNETLSEditorFrame::TLSPhases::duplicatePhase ( const int  row)

duplicate phase

Definition at line 2105 of file GNETLSEditorFrame.cpp.

References toString(), and WRITE_DEBUG.

Referenced by GNETLSTable::onCmdDuplicatePhase().

Here is the caller graph for this function:

◆ getCollapsableFrame()

FXVerticalFrame * MFXGroupBoxModule::getCollapsableFrame ( )
inherited

get collapsable frame (used by all elements that will be collapsed if button is toggled)

Definition at line 118 of file MFXGroupBoxModule.cpp.

References MFXGroupBoxModule::myCollapsableFrame.

Referenced by GNEInspectorFrame::AdditionalDialog::AdditionalDialog(), GNEFrameAttributeModules::AttributesEditor::AttributesEditor(), GNEFrameAttributeModules::AttributesEditorExtended::AttributesEditorExtended(), GNEGenericDataFrame::AttributeSelector::AttributeSelector(), GNEOverlappedInspection::buildFXElements(), GNEMoveFrame::ChangeZInSelection::ChangeZInSelection(), GNEConnectorFrame::ConnectionModifications::ConnectionModifications(), GNEConnectorFrame::ConnectionOperations::ConnectionOperations(), GNEConnectorFrame::ConnectionSelection::ConnectionSelection(), GNECrossingFrame::CreateCrossing::CreateCrossing(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNETAZFrame::CurrentTAZ::CurrentTAZ(), DemandElementSelector::DemandElementSelector(), GNEMoveFrame::DemandModeOptions::DemandModeOptions(), GNECrossingFrame::EdgesSelector::EdgesSelector(), GNEFrameAttributeModules::GenericDataAttributes::GenericDataAttributes(), GNEInspectorFrame::GEOAttributesEditor::GEOAttributesEditor(), GNEE2DetectorLegendModule::GNEE2DetectorLegendModule(), GNEOptionsDialog::GNEOptionsDialog(), GNEPathCreator::GNEPathCreator(), GNEPathLegendModule::GNEPathLegendModule(), GNESelectorParent::GNESelectorParent(), GNEStopFrame::HelpCreation::HelpCreation(), GNEVehicleFrame::HelpCreation::HelpCreation(), GNECrossingFrame::Information::Information(), GNEMoveFrame::Information::Information(), GNESelectorFrame::Information::Information(), GNEGenericDataFrame::IntervalSelector::IntervalSelector(), GNECreateEdgeFrame::LaneTypeSelector::LaneTypeSelector(), GNEConnectorFrame::Legend::Legend(), GNECreateEdgeFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNETAZRelDataFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataEditor::MeanDataEditor(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNESelectorFrame::ModificationMode::ModificationMode(), GNEMoveFrame::NetworkModeOptions::NetworkModeOptions(), GNEMatchAttribute::onCmdHelp(), GNEMatchGenericDataAttribute::onCmdHelp(), GNENeteditAttributes::onCmdHelp(), GNEOverlappedInspection::onCmdOverlappingHelp(), GNEFrameAttributeModules::ParametersEditor::ParametersEditor(), GNEFrameAttributeModules::ParametersEditor::ParametersEditor(), GNEDeleteFrame::ProtectElements::ProtectElements(), GNEAttributesCreator::refreshRows(), GNEProhibitionFrame::Selection::Selection(), GNESelectorFrame::SelectionHierarchy::SelectionHierarchy(), GNESelectorFrame::SelectionOperation::SelectionOperation(), GNEMoveFrame::ShiftEdgeSelectedGeometry::ShiftEdgeSelectedGeometry(), GNEMoveFrame::ShiftShapeGeometry::ShiftShapeGeometry(), GNETAZFrame::TAZChildDefaultParameters::TAZChildDefaultParameters(), GNETAZFrame::TAZCommonStatistics::TAZCommonStatistics(), GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic(), GNETAZFrame::TAZParameters::TAZParameters(), GNETAZFrame::TAZSaveChanges::TAZSaveChanges(), GNETAZFrame::TAZSelectionStatistics::TAZSelectionStatistics(), GNEInspectorFrame::TemplateEditor::TemplateEditor(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSDefinition::TLSDefinition(), GNETLSEditorFrame::TLSFile::TLSFile(), GNETLSEditorFrame::TLSJunction::TLSJunction(), TLSPhases(), GNETypeDistributionFrame::TypeAttributesEditor::TypeAttributesEditor(), GNETypeDistributionFrame::TypeDistributionSelector::TypeDistributionSelector(), GNETypeFrame::TypeEditor::TypeEditor(), and GNESelectorFrame::VisualScaling::VisualScaling().

◆ getPhaseTable()

GNETLSTable * GNETLSEditorFrame::TLSPhases::getPhaseTable ( ) const

get phase table

Definition at line 1969 of file GNETLSEditorFrame.cpp.

Referenced by GNETLSEditorFrame::frameWidthUpdated(), and GNETLSEditorFrame::handleChange().

Here is the caller graph for this function:

◆ getTLSEditorParent()

GNETLSEditorFrame * GNETLSEditorFrame::TLSPhases::getTLSEditorParent ( ) const

get TLSEditor Parent

Definition at line 1963 of file GNETLSEditorFrame.cpp.

Referenced by GNETLSTable::Cell::Cell(), GNETLSTable::Column::Column(), GNETLSTable::onCmdEditRow(), MFXGroupBoxModule::onCmdExtendButton(), GNETLSTable::recalcTableWidth(), and GNETLSTable::Row::Row().

Here is the caller graph for this function:

◆ hideTLSPhases()

void GNETLSEditorFrame::TLSPhases::hideTLSPhases ( )

hide TLSPhases

Definition at line 1957 of file GNETLSEditorFrame.cpp.

References GNEFrame::hide().

◆ initActuatedPhaseTable()

void GNETLSEditorFrame::TLSPhases::initActuatedPhaseTable ( )
private

init actuated phase table

Definition at line 2374 of file GNETLSEditorFrame.cpp.

References GNETLSEditorFrame::getSteps2Time(), toString(), and GNETLSEditorFrame::varDurString().

◆ initDelayBasePhaseTable()

void GNETLSEditorFrame::TLSPhases::initDelayBasePhaseTable ( )
private

init delayBase phase table

Definition at line 2417 of file GNETLSEditorFrame.cpp.

References GNETLSEditorFrame::getSteps2Time(), toString(), and GNETLSEditorFrame::varDurString().

◆ initNEMAPhaseTable()

void GNETLSEditorFrame::TLSPhases::initNEMAPhaseTable ( )
private

init NEMA phase table

Definition at line 2454 of file GNETLSEditorFrame.cpp.

References GNETLSEditorFrame::getSteps2Time(), toString(), and GNETLSEditorFrame::varDurString().

◆ initPhaseTable()

void GNETLSEditorFrame::TLSPhases::initPhaseTable ( )

initializes the phase table

Parameters
[in]indexThe index to select

Definition at line 1975 of file GNETLSEditorFrame.cpp.

References ACTUATED, GNETLSTable::clearTable(), DELAYBASED, NEMA, and STATIC.

Referenced by GNETLSEditorFrame::cleanup(), and GNETLSEditorFrame::handleChange().

Here is the caller graph for this function:

◆ initStaticPhaseTable()

void GNETLSEditorFrame::TLSPhases::initStaticPhaseTable ( )
private

FOX needs this.

init static phase table

Definition at line 2343 of file GNETLSEditorFrame.cpp.

References GNETLSEditorFrame::getSteps2Time(), and toString().

◆ loadContents()

bool MFXGroupBoxModule::loadContents ( ) const
protectedvirtualinherited

load contents (can be reimplemented in children)

Definition at line 226 of file MFXGroupBoxModule.cpp.

Referenced by MFXGroupBoxModule::onCmdLoadButton().

Here is the caller graph for this function:

◆ movePhaseDown()

void GNETLSEditorFrame::TLSPhases::movePhaseDown ( const int  row)

move phase down

Definition at line 2168 of file GNETLSEditorFrame.cpp.

References toString(), and WRITE_DEBUG.

Referenced by GNETLSTable::onCmdMoveDownPhase().

Here is the caller graph for this function:

◆ movePhaseUp()

void GNETLSEditorFrame::TLSPhases::movePhaseUp ( const int  row)

move phase up

Definition at line 2143 of file GNETLSEditorFrame.cpp.

References toString(), and WRITE_DEBUG.

Referenced by GNETLSTable::onCmdMoveUpPhase().

Here is the caller graph for this function:

◆ onCmdAddUnusedStates()

long GNETLSEditorFrame::TLSPhases::onCmdAddUnusedStates ( FXObject *  ,
FXSelector  ,
void *   
)

Called when the user cleans up states.

Definition at line 2271 of file GNETLSEditorFrame.cpp.

References WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCleanStates()

long GNETLSEditorFrame::TLSPhases::onCmdCleanStates ( FXObject *  ,
FXSelector  ,
void *   
)

Definition at line 2257 of file GNETLSEditorFrame.cpp.

References WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCollapseButton()

long MFXGroupBoxModule::onCmdCollapseButton ( FXObject *  ,
FXSelector  ,
void *   
)
inherited

collapse GroupBoxModule

Definition at line 137 of file MFXGroupBoxModule.cpp.

References COLLAPSE, GUIIconSubSys::getIcon(), MFXGroupBoxModule::myCollapsableFrame, MFXGroupBoxModule::myCollapseButton, MFXGroupBoxModule::myCollapsed, and UNCOLLAPSE.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdExtendButton()

long MFXGroupBoxModule::onCmdExtendButton ( FXObject *  ,
FXSelector  ,
void *   
)
inherited

extends GroupBoxModule

Definition at line 153 of file MFXGroupBoxModule.cpp.

References GNEFrame::getScrollBarWidth(), getTLSEditorParent(), GNETLSTable::getTLSPhasesParent(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), MFXGroupBoxModule::myCollapsableFrame, MFXGroupBoxModule::myFrameParent, and GNEViewParent::setFrameAreaWidth().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdGroupStates()

long GNETLSEditorFrame::TLSPhases::onCmdGroupStates ( FXObject *  ,
FXSelector  ,
void *   
)

Called when the user groups states.

Definition at line 2282 of file GNETLSEditorFrame.cpp.

References WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLoadButton()

long MFXGroupBoxModule::onCmdLoadButton ( FXObject *  ,
FXSelector  ,
void *   
)
inherited

load contents

Definition at line 207 of file MFXGroupBoxModule.cpp.

References MFXGroupBoxModule::loadContents().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetButton()

long MFXGroupBoxModule::onCmdResetButton ( FXObject *  ,
FXSelector  ,
void *   
)
inherited

reset GroupBoxModule

Definition at line 179 of file MFXGroupBoxModule.cpp.

References GNEFrame::getViewNet(), GNEViewNet::getViewParent(), MFXGroupBoxModule::myFrameParent, and GNEViewParent::setFrameAreaWidth().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveButton()

long MFXGroupBoxModule::onCmdSaveButton ( FXObject *  ,
FXSelector  ,
void *   
)
inherited

save contents

Definition at line 201 of file MFXGroupBoxModule.cpp.

References MFXGroupBoxModule::saveContents().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdUngroupStates()

long GNETLSEditorFrame::TLSPhases::onCmdUngroupStates ( FXObject *  ,
FXSelector  ,
void *   
)

Called when the user ungroups states.

Definition at line 2294 of file GNETLSEditorFrame.cpp.

References WRITE_DEBUG.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onPaint()

long MFXGroupBoxModule::onPaint ( FXObject *  ,
FXSelector  ,
void *  ptr 
)
inherited

draw MFXGroupBoxModule

Definition at line 124 of file MFXGroupBoxModule.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdNeedsDef()

long GNETLSEditorFrame::TLSPhases::onUpdNeedsDef ( FXObject *  sender,
FXSelector  ,
void *   
)

enable buttons, only when a tlLogic is being edited

Definition at line 2214 of file GNETLSEditorFrame.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdNeedsDefAndPhase()

long GNETLSEditorFrame::TLSPhases::onUpdNeedsDefAndPhase ( FXObject *  sender,
FXSelector  ,
void *   
)

Called when occurs an update of needs definition and phase.

Definition at line 2239 of file GNETLSEditorFrame.cpp.

◆ onUpdNeedsSingleDef()

long GNETLSEditorFrame::TLSPhases::onUpdNeedsSingleDef ( FXObject *  sender,
FXSelector  ,
void *   
)

Called to buttons that modify link indices.

Definition at line 2307 of file GNETLSEditorFrame.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdResetButton()

long MFXGroupBoxModule::onUpdResetButton ( FXObject *  sender,
FXSelector  ,
void *   
)
inherited

update reset GroupBoxModule

Definition at line 188 of file MFXGroupBoxModule.cpp.

References GNEViewParent::getFrameAreaWidth(), GNEFrame::getViewNet(), GNEViewNet::getViewParent(), and MFXGroupBoxModule::myFrameParent.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onUpdUngroupStates()

long GNETLSEditorFrame::TLSPhases::onUpdUngroupStates ( FXObject *  sender,
FXSelector  ,
void *   
)

Called to update the ungroups states button.

Definition at line 2323 of file GNETLSEditorFrame.cpp.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ removePhase()

void GNETLSEditorFrame::TLSPhases::removePhase ( const int  row)

delete phase

Definition at line 2124 of file GNETLSEditorFrame.cpp.

References MAX2(), toString(), and WRITE_DEBUG.

Referenced by GNETLSTable::onCmdRemovePhase().

Here is the caller graph for this function:

◆ saveContents()

bool MFXGroupBoxModule::saveContents ( ) const
protectedvirtualinherited

save contents (can be reimplemented in children)

Reimplemented in GNEFixDemandElements::FixOptions, and GNEFixNetworkElements::FixOptions.

Definition at line 219 of file MFXGroupBoxModule.cpp.

Referenced by MFXGroupBoxModule::onCmdSaveButton().

Here is the caller graph for this function:

◆ setDuration()

bool GNETLSEditorFrame::TLSPhases::setDuration ( const int  col,
const int  row,
const std::string &  value 
)
private

set duration

Definition at line 2585 of file GNETLSEditorFrame.cpp.

References GNETLSEditorFrame::getSteps2Time(), and GNETLSEditorFrame::getSUMOTime().

◆ setEarliestEnd()

bool GNETLSEditorFrame::TLSPhases::setEarliestEnd ( const int  row,
const std::string &  value 
)
private

◆ setLatestEnd()

bool GNETLSEditorFrame::TLSPhases::setLatestEnd ( const int  row,
const std::string &  value 
)
private

◆ setMaxDur()

bool GNETLSEditorFrame::TLSPhases::setMaxDur ( const int  row,
const std::string &  value 
)
private

◆ setMinDur()

bool GNETLSEditorFrame::TLSPhases::setMinDur ( const int  row,
const std::string &  value 
)
private

◆ setName()

bool GNETLSEditorFrame::TLSPhases::setName ( const int  row,
const std::string &  value 
)
private

set name

Definition at line 2665 of file GNETLSEditorFrame.cpp.

◆ setNext()

bool GNETLSEditorFrame::TLSPhases::setNext ( const int  row,
const std::string &  value 
)
private

set next

Definition at line 2645 of file GNETLSEditorFrame.cpp.

References GNEAttributeCarrier::canParse().

◆ setRed()

bool GNETLSEditorFrame::TLSPhases::setRed ( const int  row,
const std::string &  value 
)
private

◆ setState()

bool GNETLSEditorFrame::TLSPhases::setState ( const int  col,
const int  row,
const std::string &  value 
)
private

set state

Definition at line 2610 of file GNETLSEditorFrame.cpp.

References TL, toString(), and WRITE_ERROR.

◆ setText()

void MFXGroupBoxModule::setText ( const std::string &  text)
inherited

set text

Definition at line 112 of file MFXGroupBoxModule.cpp.

References MFXGroupBoxModule::myLabel.

Referenced by GNETagSelector::setCurrentTagType(), and GNESelectorFrame::SelectionInformation::updateInformationLabel().

Here is the caller graph for this function:

◆ setVehExt()

bool GNETLSEditorFrame::TLSPhases::setVehExt ( const int  row,
const std::string &  value 
)
private

◆ setYellow()

bool GNETLSEditorFrame::TLSPhases::setYellow ( const int  row,
const std::string &  value 
)
private

◆ showTLSPhases()

void GNETLSEditorFrame::TLSPhases::showTLSPhases ( )

show TLSPhases

Definition at line 1951 of file GNETLSEditorFrame.cpp.

References GNETLSEditorFrame::show().

◆ toggleSaveButton()

void MFXGroupBoxModule::toggleSaveButton ( const bool  value)
protectedinherited

enable or disable save buttons

Definition at line 233 of file MFXGroupBoxModule.cpp.

References MFXGroupBoxModule::mySaveButton.

◆ updateCycleDuration()

void GNETLSEditorFrame::TLSPhases::updateCycleDuration ( const int  col)
private

recomputes cycle duration and updates label

Definition at line 2870 of file GNETLSEditorFrame.cpp.

References GNETLSEditorFrame::getSteps2Time().

◆ updateStateSize()

void GNETLSEditorFrame::TLSPhases::updateStateSize ( const int  col)
private

update state size

Definition at line 2881 of file GNETLSEditorFrame.cpp.

References toString().

◆ updateTLSColoring()

void GNETLSEditorFrame::TLSPhases::updateTLSColoring ( )

update TLS coloring

Definition at line 2193 of file GNETLSEditorFrame.cpp.

References LINKSTATE_DEADEND.

Referenced by GNETLSEditorFrame::editJunction(), and GNETLSTable::updateIndexLabel().

Here is the caller graph for this function:

Field Documentation

◆ myCollapsableFrame

FXVerticalFrame* MFXGroupBoxModule::myCollapsableFrame = nullptr
privateinherited

◆ myCollapseButton

FXButton* MFXGroupBoxModule::myCollapseButton = nullptr
privateinherited

button for collapse elements

Definition at line 108 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule::MFXGroupBoxModule(), and MFXGroupBoxModule::onCmdCollapseButton().

◆ myCollapsed

bool MFXGroupBoxModule::myCollapsed
privateinherited

flag to check if this groupbox is collapsed

Definition at line 123 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule::onCmdCollapseButton().

◆ myExtendButton

FXButton* MFXGroupBoxModule::myExtendButton = nullptr
privateinherited

button for extend elements

Definition at line 111 of file MFXGroupBoxModule.h.

◆ myFrameParent

GNEFrame* MFXGroupBoxModule::myFrameParent = nullptr
privateinherited

◆ myLabel

FXLabel* MFXGroupBoxModule::myLabel = nullptr
privateinherited

label used in non collapsable MFXGroupBoxModule

Definition at line 105 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule::MFXGroupBoxModule(), and MFXGroupBoxModule::setText().

◆ myLoadButton

FXButton* MFXGroupBoxModule::myLoadButton = nullptr
privateinherited

button for load elements

Definition at line 120 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule::MFXGroupBoxModule().

◆ myOptions

const int MFXGroupBoxModule::myOptions
privateinherited

GroupBoxModule options.

Definition at line 96 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule::MFXGroupBoxModule().

◆ myPhaseTable

GNETLSTable* GNETLSEditorFrame::TLSPhases::myPhaseTable
private

table for selecting and rearranging phases and for changing duration

Definition at line 521 of file GNETLSEditorFrame.h.

Referenced by TLSPhases().

◆ myResetWidthButton

FXButton* MFXGroupBoxModule::myResetWidthButton = nullptr
privateinherited

button for reset frame width

Definition at line 114 of file MFXGroupBoxModule.h.

◆ mySaveButton

FXButton* MFXGroupBoxModule::mySaveButton = nullptr
privateinherited

button for save elements

Definition at line 117 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule::MFXGroupBoxModule(), and MFXGroupBoxModule::toggleSaveButton().

◆ myTLSEditorParent

GNETLSEditorFrame* GNETLSEditorFrame::TLSPhases::myTLSEditorParent
private

pointer to TLSEditor Parent

Definition at line 518 of file GNETLSEditorFrame.h.


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