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

#include <GNETLSEditorFrame.h>

Inheritance diagram for GNETLSEditorFrame::TLSPrograms:
[legend]
Collaboration diagram for GNETLSEditorFrame::TLSPrograms:
[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

bool checkHaveModifications () const
 check if current TLS was modified
void clearTLSProgramss ()
 clear TLS Definitions
void discardChanges (const bool editJunctionAgain)
 discard changes
FXVerticalFrame * getCollapsableFrame ()
 get collapsable frame (used by all elements that will be collapsed if button is toggled)
const std::string getCurrentTLSProgramID () const
 get current program ID
NBTrafficLightDefinitiongetCurrentTLSPrograms () const
 get current definition
int getNumberOfPrograms () const
 get number of programs
void hideTLSPrograms ()
 hide TLSPrograms
bool initTLSPrograms ()
 init TLS Definitions
void markAsModified ()
 mark Program as modified
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 setText (const std::string &text)
 set text
void showTLSPrograms ()
 show TLSPrograms
 TLSPrograms (GNETLSEditorFrame *TLSEditorParent)
 FOX-declaration.
void updateTLSPrograms ()
 update TLSPrograms module
 ~TLSPrograms ()
 destructor
FOX-callbacks

Called when the user press button create/duplicate TLS Program

long onCmdCreate (FXObject *, FXSelector, void *)
long onCmdDelete (FXObject *, FXSelector, void *)
 Called when the user press button delete TLS Program.
long onCmdResetCurrentProgram (FXObject *, FXSelector, void *)
 Called when the user press button reset current TLS Program.
long onCmdResetAll (FXObject *, FXSelector, void *)
 Called when the user press button reset all TLS Programs.
long onCmdDefSwitchTLSProgram (FXObject *, FXSelector, void *)
 Called when the user switches a TLS.
long onCmdSaveChanges (FXObject *, FXSelector, void *)
 Called when the user presses the save-Button.
long onCmdDiscardChanges (FXObject *, FXSelector, void *)
 Called when the user presses the Cancel-button.

Protected Member Functions

void createTLS (GNEJunction *junction)
 FOX needs this.
virtual bool loadContents () const
 load contents (can be reimplemented in children)
virtual bool saveContents () const
 save contents (can be reimplemented in children)
bool switchProgram ()
 switch program
void toggleSaveButton (const bool value)
 enable or disable save buttons

Private Member Functions

TLSProgramsoperator= (const TLSPrograms &)=delete
 Invalidated assignment operator.
 TLSPrograms (const TLSPrograms &)=delete
 Invalidated copy constructor.

Private Attributes

FXButton * myCancelButon = nullptr
 button for cancel TLS program
FXVerticalFrame * myCollapsableFrame = nullptr
 vertical collapsable frame
FXButton * myCollapseButton = nullptr
 button for collapse elements
bool myCollapsed
 flag to check if this groupbox is collapsed
FXButton * myCreateButton = nullptr
 button for create new TLS program
FXButton * myDeleteButton = nullptr
 button for delete existent TLS program
MFXButtonTooltipmyExtendButton = nullptr
 button for extend elements
GNEFramemyFrameParent = nullptr
 GNEFrame in which this GroupBox is placed.
bool myHaveModifications = false
 whether the current tls was modified
FXLabel * myLabel = nullptr
 label used in non collapsable MFXGroupBoxModule
FXButton * myLoadButton = nullptr
 button for load elements
const int myOptions
 GroupBoxModule options.
MFXComboBoxIconmyProgramComboBox
 the comboBox for selecting the tl-definition to edit
FXButton * myResetAllButton = nullptr
 button for reset all TLS program
FXButton * myResetSingleButton = nullptr
 button for reset TLS program
FXButton * myResetWidthButton = nullptr
 button for reset frame width
FXButton * mySaveButon = nullptr
 button for save TLS program
FXButton * mySaveButton = nullptr
 button for save elements
GNETLSEditorFramemyTLSEditorParent = nullptr
 pointer to GNETLSEditorFrame parent
std::vector< NBTrafficLightDefinition * > myTLSPrograms
 the list of Definitions for the current junction

Detailed Description

Definition at line 157 of file GNETLSEditorFrame.h.

Member Enumeration Documentation

◆ Options

GroupBoxModule options.

Enumerator
NOTHING 
COLLAPSIBLE 
EXTENSIBLE 
SAVE 
LOAD 

Definition at line 38 of file MFXGroupBoxModule.h.

Constructor & Destructor Documentation

◆ TLSPrograms() [1/2]

◆ ~TLSPrograms()

GNETLSEditorFrame::TLSPrograms::~TLSPrograms ( )

destructor

Definition at line 1383 of file GNETLSEditorFrame.cpp.

◆ TLSPrograms() [2/2]

GNETLSEditorFrame::TLSPrograms::TLSPrograms ( const TLSPrograms & )
privatedelete

Invalidated copy constructor.

References TLSPrograms().

Member Function Documentation

◆ checkHaveModifications()

bool GNETLSEditorFrame::TLSPrograms::checkHaveModifications ( ) const

check if current TLS was modified

Definition at line 1516 of file GNETLSEditorFrame.cpp.

References myHaveModifications.

◆ clearTLSProgramss()

void GNETLSEditorFrame::TLSPrograms::clearTLSProgramss ( )

clear TLS Definitions

Definition at line 1500 of file GNETLSEditorFrame.cpp.

References myProgramComboBox, and myTLSPrograms.

◆ createTLS()

void GNETLSEditorFrame::TLSPrograms::createTLS ( GNEJunction * junction)
protected

◆ discardChanges()

void GNETLSEditorFrame::TLSPrograms::discardChanges ( const bool editJunctionAgain)

discard changes

Definition at line 1551 of file GNETLSEditorFrame.cpp.

References myTLSEditorParent.

Referenced by onCmdCreate(), onCmdDelete(), onCmdDiscardChanges(), onCmdResetAll(), onCmdResetCurrentProgram(), onCmdSaveChanges(), and switchProgram().

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 126 of file MFXGroupBoxModule.cpp.

References myCollapsableFrame.

Referenced by GNEGenericDataFrame::AttributeSelector::AttributeSelector(), GNEMoveFrame::ChangeZInSelection::ChangeZInSelection(), GNEMoveFrame::CommonMoveOptions::CommonMoveOptions(), GNETAZRelDataFrame::ConfirmTAZRelation::ConfirmTAZRelation(), GNEConnectorFrame::ConnectionModifications::ConnectionModifications(), GNEConnectorFrame::ConnectionOperations::ConnectionOperations(), GNEConnectorFrame::ConnectionSelection::ConnectionSelection(), GNECrossingFrame::CreateCrossing::CreateCrossing(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNEConnectorFrame::CurrentLane::CurrentLane(), GNETAZFrame::CurrentTAZ::CurrentTAZ(), GNEGenericDataFrame::DataSetSelector::DataSetSelector(), GNEDeleteFrame::DeleteOptions::DeleteOptions(), GNEMoveFrame::DemandMoveOptions::DemandMoveOptions(), GNEDistributionFrame::DistributionEditor::DistributionEditor(), GNEDistributionFrame::DistributionSelector::DistributionSelector(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNEAdditionalFrame::E2MultilaneLegendModule::E2MultilaneLegendModule(), GNECrossingFrame::EdgesSelector::EdgesSelector(), GNECreateEdgeFrame::EdgeTypeSelector::EdgeTypeSelector(), GNEFixElementsDialog< T >::FixOptions::FixOptions(), GNEShapeFrame::GEOPOICreator::GEOPOICreator(), GNEAttributesEditorType::GNEAttributesEditorType(), GNEConsecutiveSelector::GNEConsecutiveSelector(), GNEDemandElementSelector::GNEDemandElementSelector(), GNEDrawingShape::GNEDrawingShape(), GNEElementTree::GNEElementTree(), GNEMatchAttribute::GNEMatchAttribute(), GNEOptionsEditor::GNEOptionsEditor(), GNEOverlappedInspection::GNEOverlappedInspection(), GNEPathCreator::GNEPathCreator(), GNEPathLegendModule::GNEPathLegendModule(), GNEPlanCreator::GNEPlanCreator(), GNEPlanCreatorLegend::GNEPlanCreatorLegend(), GNEPlanSelector::GNEPlanSelector(), GNESelectorParent::GNESelectorParent(), GNETagSelector::GNETagSelector(), GNEViewObjectSelector::GNEViewObjectSelector(), GNEStopFrame::HelpCreation::HelpCreation(), GNEVehicleFrame::HelpCreation::HelpCreation(), GNEAdditionalFrame::HelpCreationModule::HelpCreationModule(), GNECrossingFrame::Information::Information(), GNEMoveFrame::Information::Information(), GNESelectorFrame::Information::Information(), GNEGenericDataFrame::IntervalSelector::IntervalSelector(), GNECrossingFrame::JunctionInformation::JunctionInformation(), GNECreateEdgeFrame::LaneTypeSelector::LaneTypeSelector(), GNEConnectorFrame::Legend::Legend(), GNECreateEdgeFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNETAZRelDataFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataEditor::MeanDataEditor(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEMeanDataFrame::MeanDataTypeSelector::MeanDataTypeSelector(), GNESelectorFrame::ModificationMode::ModificationMode(), GNEMoveFrame::NetworkMoveOptions::NetworkMoveOptions(), GNESelectorFrame::SelectionOperation::onCmdLoad(), GNETLSEditorFrame::TLSFile::onCmdLoadTLSProgram(), GNETLSEditorFrame::TLSJunction::onCmdToggleJoinTLS(), GNEDeleteFrame::ProtectElements::ProtectElements(), GNEDistributionFrame::DistributionValuesEditor::refreshRows(), GNEProhibitionFrame::RelativeToConnection::RelativeToConnection(), GNERouteFrame::RouteModeSelector::RouteModeSelector(), GNEProhibitionFrame::Selection::Selection(), GNESelectorFrame::SelectionHierarchy::SelectionHierarchy(), GNESelectorFrame::SelectionInformation::SelectionInformation(), GNESelectorFrame::SelectionOperation::SelectionOperation(), GNEMoveFrame::ShiftEdgeSelectedGeometry::ShiftEdgeSelectedGeometry(), GNEMoveFrame::ShiftShapeGeometry::ShiftShapeGeometry(), GNETAZFrame::TAZChildDefaultParameters::TAZChildDefaultParameters(), GNETAZFrame::TAZCommonStatistics::TAZCommonStatistics(), GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic(), GNETAZFrame::TAZSaveChanges::TAZSaveChanges(), GNETAZFrame::TAZSelectionStatistics::TAZSelectionStatistics(), GNEInspectorFrame::TemplateEditor::TemplateEditor(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSFile::TLSFile(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNETLSEditorFrame::TLSPrograms::TLSPrograms(), GNETypeFrame::TypeEditor::TypeEditor(), GNETypeFrame::TypeSelector::TypeSelector(), and GNESelectorFrame::VisualScaling::VisualScaling().

◆ getCurrentTLSProgramID()

const std::string GNETLSEditorFrame::TLSPrograms::getCurrentTLSProgramID ( ) const

get current program ID

Definition at line 1541 of file GNETLSEditorFrame.cpp.

References myProgramComboBox.

Referenced by createTLS().

Here is the caller graph for this function:

◆ getCurrentTLSPrograms()

NBTrafficLightDefinition * GNETLSEditorFrame::TLSPrograms::getCurrentTLSPrograms ( ) const

get current definition

Definition at line 1529 of file GNETLSEditorFrame.cpp.

References myProgramComboBox, myTLSPrograms, TL, and TLSPrograms().

Referenced by onCmdSaveChanges(), and switchProgram().

Here is the caller graph for this function:

◆ getNumberOfPrograms()

int GNETLSEditorFrame::TLSPrograms::getNumberOfPrograms ( ) const

get number of programs

Definition at line 1510 of file GNETLSEditorFrame.cpp.

References myProgramComboBox.

Referenced by updateTLSPrograms().

Here is the caller graph for this function:

◆ hideTLSPrograms()

void GNETLSEditorFrame::TLSPrograms::hideTLSPrograms ( )

hide TLSPrograms

Definition at line 1464 of file GNETLSEditorFrame.cpp.

References GNEFrame::hide().

◆ initTLSPrograms()

bool GNETLSEditorFrame::TLSPrograms::initTLSPrograms ( )

init TLS Definitions

Definition at line 1470 of file GNETLSEditorFrame.cpp.

References myProgramComboBox, myTLSEditorParent, myTLSPrograms, switchProgram(), and TLS.

◆ loadContents()

bool MFXGroupBoxModule::loadContents ( ) const
protectedvirtualinherited

load contents (can be reimplemented in children)

Definition at line 234 of file MFXGroupBoxModule.cpp.

Referenced by onCmdLoadButton().

Here is the caller graph for this function:

◆ markAsModified()

void GNETLSEditorFrame::TLSPrograms::markAsModified ( )

mark Program as modified

Definition at line 1522 of file GNETLSEditorFrame.cpp.

References myHaveModifications, and myTLSEditorParent.

◆ onCmdCollapseButton()

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

collapse GroupBoxModule

Definition at line 145 of file MFXGroupBoxModule.cpp.

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

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdCreate()

long GNETLSEditorFrame::TLSPrograms::onCmdCreate ( FXObject * ,
FXSelector ,
void *  )

Definition at line 1568 of file GNETLSEditorFrame.cpp.

References createTLS(), discardChanges(), GNEJunction::getGNEConnections(), GNEJunction::getGNEIncomingEdges(), GNEJunction::getGNEOutgoingEdges(), myProgramComboBox, myTLSEditorParent, and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdDefSwitchTLSProgram()

long GNETLSEditorFrame::TLSPrograms::onCmdDefSwitchTLSProgram ( FXObject * ,
FXSelector ,
void *  )

Called when the user switches a TLS.

Definition at line 1716 of file GNETLSEditorFrame.cpp.

References myProgramComboBox, myTLSPrograms, switchProgram(), and TLSPrograms().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdDelete()

long GNETLSEditorFrame::TLSPrograms::onCmdDelete ( FXObject * ,
FXSelector ,
void *  )

Called when the user press button delete TLS Program.

Definition at line 1621 of file GNETLSEditorFrame.cpp.

References discardChanges(), myTLSEditorParent, PRIORITY, GNEJunction::setAttribute(), SUMO_ATTR_TYPE, and toString().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdDiscardChanges()

long GNETLSEditorFrame::TLSPrograms::onCmdDiscardChanges ( FXObject * ,
FXSelector ,
void *  )

Called when the user presses the Cancel-button.

Definition at line 1782 of file GNETLSEditorFrame.cpp.

References discardChanges().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdExtendButton()

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

extends GroupBoxModule

Definition at line 161 of file MFXGroupBoxModule.cpp.

References myCollapsableFrame, and myFrameParent.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdLoadButton()

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

load contents

Definition at line 215 of file MFXGroupBoxModule.cpp.

References loadContents().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetAll()

long GNETLSEditorFrame::TLSPrograms::onCmdResetAll ( FXObject * ,
FXSelector ,
void *  )

Called when the user press button reset all TLS Programs.

Definition at line 1681 of file GNETLSEditorFrame.cpp.

References createTLS(), discardChanges(), NBTrafficLightDefinition::getNodes(), MODETLS, myTLSEditorParent, PRIORITY, SUMO_ATTR_TLID, SUMO_ATTR_TYPE, TL, and toString().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetButton()

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

reset GroupBoxModule

Definition at line 187 of file MFXGroupBoxModule.cpp.

References myFrameParent.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdResetCurrentProgram()

long GNETLSEditorFrame::TLSPrograms::onCmdResetCurrentProgram ( FXObject * ,
FXSelector ,
void *  )

Called when the user press button reset current TLS Program.

Definition at line 1645 of file GNETLSEditorFrame.cpp.

References discardChanges(), Named::getID(), NBTrafficLightDefinition::getNodes(), NBTrafficLightDefinition::getOffset(), NBTrafficLightDefinition::getProgramID(), NBTrafficLightDefinition::getType(), MODETLS, myProgramComboBox, myTLSEditorParent, NBTrafficLightDefinition::setProgramID(), and TL.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveButton()

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

save contents

Definition at line 209 of file MFXGroupBoxModule.cpp.

References saveContents().

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ onCmdSaveChanges()

long GNETLSEditorFrame::TLSPrograms::onCmdSaveChanges ( FXObject * ,
FXSelector ,
void *  )

Called when the user presses the save-Button.

Definition at line 1735 of file GNETLSEditorFrame.cpp.

References GNEUndoList::add(), discardChanges(), getCurrentTLSPrograms(), GNEJunction::getGNECrossings(), myHaveModifications, myProgramComboBox, myTLSEditorParent, SUMO_ATTR_TLLINKINDEX, SUMO_ATTR_TLLINKINDEX2, NBNode::Crossing::tlLinkIndex, NBNode::Crossing::tlLinkIndex2, and toString().

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 132 of file MFXGroupBoxModule.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 196 of file MFXGroupBoxModule.cpp.

References myFrameParent.

Referenced by FXDEFMAP().

Here is the caller graph for this function:

◆ operator=()

TLSPrograms & GNETLSEditorFrame::TLSPrograms::operator= ( const TLSPrograms & )
privatedelete

Invalidated assignment operator.

References TLSPrograms().

◆ saveContents()

bool MFXGroupBoxModule::saveContents ( ) const
protectedvirtualinherited

save contents (can be reimplemented in children)

Reimplemented in GNEFixElementsDialog< T >::FixOptions.

Definition at line 227 of file MFXGroupBoxModule.cpp.

Referenced by onCmdSaveButton().

Here is the caller graph for this function:

◆ setText()

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

set text

Definition at line 120 of file MFXGroupBoxModule.cpp.

References myLabel.

Referenced by GNEViewObjectSelector::showNetworkElementsSelector(), and GNETagSelector::updateTagTypes().

Here is the caller graph for this function:

◆ showTLSPrograms()

void GNETLSEditorFrame::TLSPrograms::showTLSPrograms ( )

show TLSPrograms

Definition at line 1458 of file GNETLSEditorFrame.cpp.

References GNETLSEditorFrame::show().

◆ switchProgram()

bool GNETLSEditorFrame::TLSPrograms::switchProgram ( )
protected

switch program

Definition at line 1835 of file GNETLSEditorFrame.cpp.

References discardChanges(), getCurrentTLSPrograms(), Named::getID(), NBTrafficLightLogicCont::getLogic(), NBTrafficLightDefinition::getProgramID(), myHaveModifications, myTLSEditorParent, and TL.

Referenced by initTLSPrograms(), and onCmdDefSwitchTLSProgram().

Here is the caller graph for this function:

◆ toggleSaveButton()

void MFXGroupBoxModule::toggleSaveButton ( const bool value)
protectedinherited

enable or disable save buttons

Definition at line 241 of file MFXGroupBoxModule.cpp.

References invalid_return< std::string >::value, and mySaveButton.

◆ updateTLSPrograms()

void GNETLSEditorFrame::TLSPrograms::updateTLSPrograms ( )

Field Documentation

◆ myCancelButon

FXButton* GNETLSEditorFrame::TLSPrograms::myCancelButon = nullptr
private

button for cancel TLS program

Definition at line 265 of file GNETLSEditorFrame.h.

Referenced by TLSPrograms(), and updateTLSPrograms().

◆ myCollapsableFrame

FXVerticalFrame* MFXGroupBoxModule::myCollapsableFrame = nullptr
privateinherited

vertical collapsable frame

Definition at line 103 of file MFXGroupBoxModule.h.

Referenced by getCollapsableFrame(), MFXGroupBoxModule(), MFXGroupBoxModule(), onCmdCollapseButton(), and onCmdExtendButton().

◆ myCollapseButton

FXButton* MFXGroupBoxModule::myCollapseButton = nullptr
privateinherited

button for collapse elements

Definition at line 109 of file MFXGroupBoxModule.h.

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

◆ myCollapsed

bool MFXGroupBoxModule::myCollapsed
privateinherited

flag to check if this groupbox is collapsed

Definition at line 124 of file MFXGroupBoxModule.h.

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

◆ myCreateButton

FXButton* GNETLSEditorFrame::TLSPrograms::myCreateButton = nullptr
private

button for create new TLS program

Definition at line 250 of file GNETLSEditorFrame.h.

Referenced by TLSPrograms(), and updateTLSPrograms().

◆ myDeleteButton

FXButton* GNETLSEditorFrame::TLSPrograms::myDeleteButton = nullptr
private

button for delete existent TLS program

Definition at line 253 of file GNETLSEditorFrame.h.

Referenced by TLSPrograms(), and updateTLSPrograms().

◆ myExtendButton

MFXButtonTooltip* MFXGroupBoxModule::myExtendButton = nullptr
privateinherited

button for extend elements

Definition at line 112 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule().

◆ myFrameParent

GNEFrame* MFXGroupBoxModule::myFrameParent = nullptr
privateinherited

GNEFrame in which this GroupBox is placed.

Definition at line 100 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule(), onCmdExtendButton(), onCmdResetButton(), and onUpdResetButton().

◆ myHaveModifications

bool GNETLSEditorFrame::TLSPrograms::myHaveModifications = false
private

whether the current tls was modified

Definition at line 247 of file GNETLSEditorFrame.h.

Referenced by checkHaveModifications(), markAsModified(), onCmdSaveChanges(), switchProgram(), and updateTLSPrograms().

◆ myLabel

FXLabel* MFXGroupBoxModule::myLabel = nullptr
privateinherited

label used in non collapsable MFXGroupBoxModule

Definition at line 106 of file MFXGroupBoxModule.h.

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

◆ myLoadButton

FXButton* MFXGroupBoxModule::myLoadButton = nullptr
privateinherited

button for load elements

Definition at line 121 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule(), and MFXGroupBoxModule().

◆ myOptions

const int MFXGroupBoxModule::myOptions
privateinherited

GroupBoxModule options.

Definition at line 97 of file MFXGroupBoxModule.h.

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

◆ myProgramComboBox

MFXComboBoxIcon* GNETLSEditorFrame::TLSPrograms::myProgramComboBox
private

◆ myResetAllButton

FXButton* GNETLSEditorFrame::TLSPrograms::myResetAllButton = nullptr
private

button for reset all TLS program

Definition at line 259 of file GNETLSEditorFrame.h.

Referenced by TLSPrograms(), and updateTLSPrograms().

◆ myResetSingleButton

FXButton* GNETLSEditorFrame::TLSPrograms::myResetSingleButton = nullptr
private

button for reset TLS program

Definition at line 256 of file GNETLSEditorFrame.h.

Referenced by TLSPrograms(), and updateTLSPrograms().

◆ myResetWidthButton

FXButton* MFXGroupBoxModule::myResetWidthButton = nullptr
privateinherited

button for reset frame width

Definition at line 115 of file MFXGroupBoxModule.h.

Referenced by MFXGroupBoxModule().

◆ mySaveButon

FXButton* GNETLSEditorFrame::TLSPrograms::mySaveButon = nullptr
private

button for save TLS program

Definition at line 262 of file GNETLSEditorFrame.h.

Referenced by TLSPrograms(), and updateTLSPrograms().

◆ mySaveButton

FXButton* MFXGroupBoxModule::mySaveButton = nullptr
privateinherited

button for save elements

Definition at line 118 of file MFXGroupBoxModule.h.

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

◆ myTLSEditorParent

◆ myTLSPrograms

std::vector<NBTrafficLightDefinition*> GNETLSEditorFrame::TLSPrograms::myTLSPrograms
private

the list of Definitions for the current junction

Definition at line 241 of file GNETLSEditorFrame.h.

Referenced by clearTLSProgramss(), getCurrentTLSPrograms(), initTLSPrograms(), and onCmdDefSwitchTLSProgram().


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