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

#include <GNETLSEditorFrame.h>

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

Data Structures

class  TLSAttributes
 
class  TLSDefinition
 
class  TLSFile
 
class  TLSJunction
 
class  TLSPhases
 

Public Member Functions

bool controlsEdge (GNEEdge *edge) const
 whether the given edge is controlled by the currently edited tlDef
 
void editJunction (GNEJunction *junction)
 edits the traffic light for the given junction
 
void editTLS (const Position &clickedPosition, const GNEViewNetHelper::ViewObjectsSelector &viewObjects)
 edits the traffic light for the given clicked junction
 
void focusUpperElement ()
 focus upper element of frame
 
void frameWidthUpdated ()
 function called after setting new width in current frame
 
FXVerticalFrame * getContentFrame () const
 get vertical frame that holds all widgets of frame
 
FXFont * getFrameHeaderFont () const
 get font of the header's frame
 
FXLabel * getFrameHeaderLabel () const
 get the label for the frame's header
 
int getScrollBarWidth () const
 get scrollBar width (zero if is hidden)
 
GNETLSEditorFrame::TLSAttributesgetTLSAttributes () const
 get module for TLS attributes
 
GNETLSEditorFrame::TLSDefinitiongetTLSDefinition () const
 get module for TLS Definition
 
GNETLSEditorFrame::TLSJunctiongetTLSJunction () const
 get module for TLS Junction
 
GNEViewNetgetViewNet () const
 get view net
 
 GNETLSEditorFrame (GNEViewParent *viewParent, GNEViewNet *viewNet)
 Constructor.
 
void handleChange (GNEInternalLane *lane)
 update phase definition for the current traffic light and phase
 
void handleMultiChange (GNELane *lane, FXObject *obj, FXSelector sel, void *data)
 update phase definition for the current traffic light and phase
 
virtual void hide ()
 hide Frame
 
bool isTLSSaved ()
 check if modifications in TLS was saved
 
void openHelpAttributesDialog (const GNEAttributeCarrier *AC) const
 Open help attributes dialog.
 
bool parseTLSPrograms (const std::string &file)
 parse TLS Programs from a file
 
void selectedOverlappedElement (GNEAttributeCarrier *AC)
 open GNEAttributesCreator extended dialog (can be reimplemented in frame children)
 
void setFrameWidth (const int newWidth)
 set width of GNEFrame
 
void show ()
 show inspector frame
 
virtual void updateFrameAfterUndoRedo ()
 function called after undo/redo in the current frame (can be reimplemented in frame children)
 
 ~GNETLSEditorFrame ()
 Destructor.
 
functions called by moduls that can be reimplemented in frame children (note: reimplement as protected, just for safety)
virtual void tagSelected ()
 Tag selected in GNETagSelector.
 
virtual void demandElementSelected ()
 selected demand element in DemandElementSelector
 
virtual bool shapeDrawed ()
 build a shaped element using the drawed shape
 
virtual void attributeUpdated (SumoXMLAttr attribute)
 function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/...
 
virtual void attributesEditorExtendedDialogOpened ()
 open GNEAttributesCreator extended dialog
 
virtual bool createPath (const bool useLastRoute)
 create path between two elements
 

Protected Member Functions

const std::vector< std::string > & getPredefinedTagsMML () const
 get predefinedTagsMML
 

Static Protected Member Functions

static FXLabel * buildRainbow (FXComposite *parent)
 build rainbow in frame modul
 
static const std::string getSteps2Time (const SUMOTime value)
 converts to SUMOTime
 
static SUMOTime getSUMOTime (const std::string &value)
 converts to SUMOTime
 

Protected Attributes

FXVerticalFrame * myContentFrame = nullptr
 Vertical frame that holds all widgets of frame.
 
FXHorizontalFrame * myHeaderFrame = nullptr
 fame for header elements
 
FXHorizontalFrame * myHeaderLeftFrame = nullptr
 fame for left header elements
 
FXHorizontalFrame * myHeaderRightFrame = nullptr
 fame for right header elements
 
GNEViewNetmyViewNet = nullptr
 FOX need this.
 

Private Member Functions

void buildInternalLanes (const NBTrafficLightDefinition *tlDef)
 builds internal lanes for the given tlDef
 
void cleanup ()
 cleans up previous lanes
 
const NBTrafficLightLogic::PhaseDefinitiongetPhase (const int index)
 get certain phase of the current traffic light
 

Static Private Member Functions

static std::string varDurString (SUMOTime dur)
 convert duration (potentially undefined) to string
 

Private Attributes

NBLoadedSUMOTLDefmyEditedDef = nullptr
 the traffic light definition being edited
 
FXLabel * myFrameHeaderLabel = nullptr
 the label for the frame's header
 
std::map< int, std::vector< GNEInternalLane * > > myInternalLanes
 the internal lanes belonging to the current junction indexed by their tl-index
 
GNEOverlappedInspectionmyOverlappedInspection = nullptr
 Overlapped Inspection.
 
std::vector< std::string > myPredefinedTagsMML
 Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached)
 
FXScrollWindow * myScrollWindowsContents = nullptr
 scroll windows that holds the content frame
 
GNETLSEditorFrame::TLSAttributesmyTLSAttributes = nullptr
 module for TLS attributes
 
GNETLSEditorFrame::TLSDefinitionmyTLSDefinition = nullptr
 module for TLS Definition
 
GNETLSEditorFrame::TLSFilemyTLSFile = nullptr
 module for load/Save TLS Programs
 
GNETLSEditorFrame::TLSJunctionmyTLSJunction = nullptr
 module for TLS Junction
 
GNETLSEditorFrame::TLSPhasesmyTLSPhases = nullptr
 module for TLS Phases
 

Static Private Attributes

static FXFont * myFrameHeaderFont = nullptr
 static Font for the Header (it's common for all headers, then create only one time)
 

Detailed Description

The Widget for modifying Traffic Lights (TLS)

Definition at line 44 of file GNETLSEditorFrame.h.

Constructor & Destructor Documentation

◆ GNETLSEditorFrame()

GNETLSEditorFrame::GNETLSEditorFrame ( GNEViewParent viewParent,
GNEViewNet viewNet 
)

Constructor.

viewParent GNEViewParent in which this GNEFrame is placed

viewNet viewNet that uses this GNEFrame

Definition at line 122 of file GNETLSEditorFrame.cpp.

References SUMO_TAG_JUNCTION.

◆ ~GNETLSEditorFrame()

GNETLSEditorFrame::~GNETLSEditorFrame ( )

Destructor.

Definition at line 146 of file GNETLSEditorFrame.cpp.

References GNETLSEditorFrame::TLSPhases::clearPhaseTable(), and myTLSPhases.

Member Function Documentation

◆ attributesEditorExtendedDialogOpened()

void GNEFrame::attributesEditorExtendedDialogOpened ( )
virtualinherited

open GNEAttributesCreator extended dialog

Reimplemented in GNETypeFrame.

Definition at line 292 of file GNEFrame.cpp.

◆ attributeUpdated()

void GNEFrame::attributeUpdated ( SumoXMLAttr  attribute)
virtualinherited

function called after set a valid attribute in AttributeCreator/AttributeEditor/ParametersEditor/...

Reimplemented in GNEInspectorFrame, GNEMeanDataFrame, GNERouteDistributionFrame, GNETypeDistributionFrame, and GNETypeFrame.

Definition at line 286 of file GNEFrame.cpp.

◆ buildInternalLanes()

◆ buildRainbow()

FXLabel * GNEFrame::buildRainbow ( FXComposite *  parent)
staticprotectedinherited

build rainbow in frame modul

Definition at line 317 of file GNEFrame.cpp.

References MFXUtils::getFXColor(), GNEViewNetHelper::getRainbowScaledColors(), GUIDesignAuxiliarHorizontalFrame, GUIDesignLabel, GUIDesignLabelThick, and TL.

Referenced by GNEGenericDataFrame::AttributeSelector::AttributeSelector(), and GNETAZFrame::TAZEdgesGraphic::TAZEdgesGraphic().

Here is the caller graph for this function:

◆ cleanup()

◆ controlsEdge()

bool GNETLSEditorFrame::controlsEdge ( GNEEdge edge) const

whether the given edge is controlled by the currently edited tlDef

Definition at line 491 of file GNETLSEditorFrame.cpp.

References NBTrafficLightDefinition::getControlledLinks(), GUIGlObject::getMicrosimID(), and myEditedDef.

Referenced by GNELane::getPopUpMenu().

Here is the caller graph for this function:

◆ createPath()

bool GNEFrame::createPath ( const bool  useLastRoute)
virtualinherited

create path between two elements

Reimplemented in GNEEdgeRelDataFrame, GNEGenericDataFrame, GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNERouteFrame, GNEVehicleFrame, GNEAdditionalFrame, and GNEWireFrame.

Definition at line 304 of file GNEFrame.cpp.

Referenced by GNEPlanCreator::addRoute(), GNEPlanCreator::addSingleEdge(), GNEPlanCreator::addSingleStoppingPlace(), GNEPathCreator::createPath(), GNEConsecutiveSelector::onCmdCreatePath(), GNEPlanCreator::onCmdCreatePath(), and GNEPlanCreator::onCmdUseLastRoute().

Here is the caller graph for this function:

◆ demandElementSelected()

void GNEFrame::demandElementSelected ( )
virtualinherited

selected demand element in DemandElementSelector

Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, and GNEVehicleFrame.

Definition at line 273 of file GNEFrame.cpp.

Referenced by GNEDemandElementSelector::onCmdSelectDemandElement(), and GNEDemandElementSelector::setDemandElement().

Here is the caller graph for this function:

◆ editJunction()

◆ editTLS()

◆ focusUpperElement()

void GNEFrame::focusUpperElement ( )
inherited

focus upper element of frame

Definition at line 109 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderLabel.

Referenced by GNEViewNet::hotkeyFocusFrame(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().

Here is the caller graph for this function:

◆ frameWidthUpdated()

void GNETLSEditorFrame::frameWidthUpdated ( )
virtual

function called after setting new width in current frame

Reimplemented from GNEFrame.

Definition at line 161 of file GNETLSEditorFrame.cpp.

References GNETLSEditorFrame::TLSPhases::getPhaseTable(), myTLSPhases, and GNETLSTable::recalcTableWidth().

◆ getContentFrame()

FXVerticalFrame * GNEFrame::getContentFrame ( ) const
inherited

get vertical frame that holds all widgets of frame

Definition at line 156 of file GNEFrame.cpp.

References GNEFrame::myContentFrame.

◆ getFrameHeaderFont()

FXFont * GNEFrame::getFrameHeaderFont ( ) const
inherited

get font of the header's frame

Definition at line 168 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderFont.

◆ getFrameHeaderLabel()

FXLabel * GNEFrame::getFrameHeaderLabel ( ) const
inherited

get the label for the frame's header

Definition at line 162 of file GNEFrame.cpp.

References GNEFrame::myFrameHeaderLabel.

Referenced by GNEInspectorFrame::refreshInspection().

Here is the caller graph for this function:

◆ getPhase()

const NBTrafficLightLogic::PhaseDefinition & GNETLSEditorFrame::getPhase ( const int  index)
private

get certain phase of the current traffic light

Definition at line 416 of file GNETLSEditorFrame.cpp.

References NBLoadedSUMOTLDef::getLogic(), NBTrafficLightLogic::getPhases(), myEditedDef, and TL.

◆ getPredefinedTagsMML()

const std::vector< std::string > & GNEFrame::getPredefinedTagsMML ( ) const
protectedinherited

get predefinedTagsMML

Definition at line 311 of file GNEFrame.cpp.

References GNEFrame::myPredefinedTagsMML.

Referenced by GNEContainerFrame::buildContainer(), GNEPersonFrame::buildPerson(), GNEVehicleFrame::buildVehicleOverRoute(), and GNEVehicleFrame::createPath().

Here is the caller graph for this function:

◆ getScrollBarWidth()

int GNEFrame::getScrollBarWidth ( ) const
inherited

get scrollBar width (zero if is hidden)

Definition at line 174 of file GNEFrame.cpp.

References GNEFrame::myScrollWindowsContents.

Referenced by MFXGroupBoxModule::onCmdExtendButton(), and GNETLSTable::recalcTableWidth().

Here is the caller graph for this function:

◆ getSteps2Time()

const std::string GNETLSEditorFrame::getSteps2Time ( const SUMOTime  value)
staticprotected

◆ getSUMOTime()

SUMOTime GNETLSEditorFrame::getSUMOTime ( const std::string &  value)
staticprotected

◆ getTLSAttributes()

GNETLSEditorFrame::TLSAttributes * GNETLSEditorFrame::getTLSAttributes ( ) const

get module for TLS attributes

Definition at line 329 of file GNETLSEditorFrame.cpp.

References myTLSAttributes.

Referenced by GNEViewNet::abortOperation(), GNEInductionLoopDetector::checkDrawRelatedContour(), GNEViewNet::drawTemporalE1TLSLines(), GNEViewNet::hotkeyEnter(), and GNEViewNet::selectingDetectorsTLSMode().

Here is the caller graph for this function:

◆ getTLSDefinition()

GNETLSEditorFrame::TLSDefinition * GNETLSEditorFrame::getTLSDefinition ( ) const

get module for TLS Definition

Definition at line 323 of file GNETLSEditorFrame.cpp.

References myTLSDefinition.

Referenced by GNEViewNet::abortOperation(), and GNEViewNet::hotkeyEnter().

Here is the caller graph for this function:

◆ getTLSJunction()

GNETLSEditorFrame::TLSJunction * GNETLSEditorFrame::getTLSJunction ( ) const

get module for TLS Junction

Definition at line 317 of file GNETLSEditorFrame.cpp.

References myTLSJunction.

Referenced by GNEViewNet::abortOperation(), GNEViewNet::drawTemporalE1TLSLines(), GNEViewNet::drawTemporalJunctionTLSLines(), GNEViewNet::hotkeyEnter(), and GNEViewNet::selectingJunctionsTLSMode().

Here is the caller graph for this function:

◆ getViewNet()

GNEViewNet * GNEFrame::getViewNet ( ) const
inherited

get view net

Definition at line 150 of file GNEFrame.cpp.

References GNEFrame::myViewNet.

Referenced by GNEConsecutiveSelector::abortPathCreation(), GNEPathCreator::abortPathCreation(), GNEPlanCreator::abortPathCreation(), GNEPathCreator::addEdge(), GNEPlanCreator::addFromToStoppingPlace(), GNEPathCreator::addJunction(), GNEConsecutiveSelector::addLane(), GNEPlanCreator::addSingleEdge(), GNEPathCreator::addTAZ(), GNEFrameAttributeModules::AttributesEditor::AttributesEditor(), GNETypeFrame::attributesEditorExtendedDialogOpened(), GNETLSTable::Cell::Cell(), GNEPathCreator::clearEdgeColors(), GNEPathCreator::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNENetworkSelector::clearSelection(), GNETLSTable::Column::Column(), GNEElementTree::createPopUpMenu(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNEDistributionFrame::DistributionRow::DistributionRow(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNEInternalLane::drawGL(), GNENeteditAttributes::drawLaneReference(), GNEPlanCreator::drawTemporalRoute(), GNEAdditionalFrame::E2MultilaneLegendModule::E2MultilaneLegendModule(), GNEMatchGenericDataAttribute::enableMatchGenericDataAttribute(), GNEAttributesCreatorRow::generateID(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNEInternalLane::getPopUpMenu(), GNEPathLegendModule::GNEPathLegendModule(), GNECrossingFrame::Information::Information(), GNEAttributesCreatorRow::isValidID(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEMultipleParametersDialog::onCmdAccept(), GNEElementTree::onCmdCenterItem(), GNEElementTree::onCmdDeleteItem(), GNEFrameAttributeModules::ParametersEditor::onCmdEditParameters(), MFXGroupBoxModule::onCmdExtendButton(), GNEElementTree::onCmdInspectItem(), GNEElementTree::onCmdMoveItemDown(), GNEElementTree::onCmdMoveItemUp(), GNEAttributesCreatorRow::onCmdOpenAllowDialog(), GNEMatchGenericDataAttribute::onCmdProcessString(), GNEMultipleParametersDialog::onCmdReset(), MFXGroupBoxModule::onCmdResetButton(), GNEMatchGenericDataAttribute::onCmdSelectAttribute(), GNEDemandElementSelector::onCmdSelectDemandElement(), GNEElementSet::onCmdSelectElementSet(), GNEMatchGenericDataAttribute::onCmdSelectTag(), GNEMatchGenericDataAttribute::onCmdSetFromTAZ(), GNEMatchGenericDataAttribute::onCmdSetToTAZ(), GNENetworkSelector::onCmdUseSelectedElements(), MFXGroupBoxModule::onUpdResetButton(), GNEPathCreator::onUpdUseLastRoute(), GNEPlanCreator::onUpdUseLastRoute(), GNETLSTable::recalcTableWidth(), GNEPlanCreator::recalculatePath(), GNEDemandElementSelector::refreshDemandElementSelector(), GNEAttributesCreator::refreshRows(), GNESelectorParent::refreshSelectorParentModule(), GNEConsecutiveSelector::removeLastElement(), GNEPathCreator::removeLastElement(), GNETLSTable::Row::Row(), GNEProhibitionFrame::Selection::Selection(), GNETagSelector::setCurrentTagType(), GNEDrawingShape::setDeleteLastCreatedPoint(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNETypeFrame::show(), GNEElementTree::showAttributeCarrierParents(), GNEDemandElementSelector::showDemandElementSelector(), GNEElementTree::showHierarchicalElementChildren(), GNEOverlappedInspection::showOverlappedInspection(), GNEAttributesCreator::showWarningMessage(), GNETAZFrame::TAZParameters::TAZParameters(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNENetworkSelector::toggleSelectedElement(), GNEPathCreator::updateEdgeColors(), GNEPathCreator::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), and GNEMatchGenericDataAttribute::updateTAZComboBox().

◆ handleChange()

void GNETLSEditorFrame::handleChange ( GNEInternalLane lane)

◆ handleMultiChange()

void GNETLSEditorFrame::handleMultiChange ( GNELane lane,
FXObject *  obj,
FXSelector  sel,
void *  data 
)

◆ hide()

void GNEFrame::hide ( )
virtualinherited

hide Frame

Note
some GNEFrames needs a re-implementation

Reimplemented in GNEDeleteFrame, GNEInspectorFrame, GNEMoveFrame, GNESelectorFrame, GNEGenericDataFrame, GNEMeanDataFrame, GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNERouteFrame, GNEVehicleFrame, GNECreateEdgeFrame, GNECrossingFrame, GNEProhibitionFrame, and GNETAZFrame.

Definition at line 124 of file GNEFrame.cpp.

References GNEViewNet::getViewParent(), GNEViewParent::hideFramesArea(), and GNEFrame::myViewNet.

Referenced by GNEDeleteFrame::hide(), GNEInspectorFrame::hide(), GNEMoveFrame::hide(), GNESelectorFrame::hide(), GNEGenericDataFrame::hide(), GNEMeanDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNECreateEdgeFrame::hide(), GNECrossingFrame::hide(), GNEProhibitionFrame::hide(), GNETAZFrame::hide(), GNEAdditionalFrame::E2MultilaneLegendModule::hideE2MultilaneLegend(), GNEShapeFrame::GEOPOICreator::hideGEOPOICreatorModule(), GNEStopFrame::HelpCreation::hideHelpCreation(), GNEAdditionalFrame::HelpCreationModule::hideHelpCreationModule(), GNETLSEditorFrame::TLSAttributes::hideTLSAttributes(), GNETLSEditorFrame::TLSDefinition::hideTLSDefinition(), GNETLSEditorFrame::TLSFile::hideTLSFile(), GNETLSEditorFrame::TLSPhases::hideTLSPhases(), GNETypeFrame::TypeEditor::hideTypeEditorModule(), and GNEAdditionalFrame::HelpCreationModule::showHelpCreationModule().

Here is the caller graph for this function:

◆ isTLSSaved()

bool GNETLSEditorFrame::isTLSSaved ( )

◆ openHelpAttributesDialog()

◆ parseTLSPrograms()

◆ selectedOverlappedElement()

void GNETLSEditorFrame::selectedOverlappedElement ( GNEAttributeCarrier AC)
virtual

open GNEAttributesCreator extended dialog (can be reimplemented in frame children)

Reimplemented from GNEFrame.

Definition at line 283 of file GNETLSEditorFrame.cpp.

References editJunction().

◆ setFrameWidth()

void GNEFrame::setFrameWidth ( const int  newWidth)
inherited

set width of GNEFrame

Definition at line 133 of file GNEFrame.cpp.

References GNEFrame::frameWidthUpdated(), GUIDesignFrameAreaMargin, GNEFrame::myContentFrame, and GNEFrame::myScrollWindowsContents.

Referenced by GNEInspectorFrame::refreshInspection().

Here is the caller graph for this function:

◆ shapeDrawed()

bool GNEFrame::shapeDrawed ( )
virtualinherited

build a shaped element using the drawed shape

Reimplemented in GNEShapeFrame, and GNETAZFrame.

Definition at line 279 of file GNEFrame.cpp.

Referenced by GNEDrawingShape::stopDrawing().

Here is the caller graph for this function:

◆ show()

◆ tagSelected()

void GNEFrame::tagSelected ( )
virtualinherited

Tag selected in GNETagSelector.

Reimplemented in GNEContainerFrame, GNEContainerPlanFrame, GNEPersonFrame, GNEPersonPlanFrame, GNEStopFrame, GNEVehicleFrame, GNEAdditionalFrame, GNEShapeFrame, and GNEWireFrame.

Definition at line 267 of file GNEFrame.cpp.

Referenced by GNEPlanSelector::onCmdSelectPlan(), GNETagSelector::onCmdSelectTag(), GNEPlanSelector::refreshPlanSelector(), GNETagSelector::refreshTagSelector(), GNETagSelector::setCurrentTag(), and GNETagSelector::setCurrentTagType().

Here is the caller graph for this function:

◆ updateFrameAfterUndoRedo()

void GNEFrame::updateFrameAfterUndoRedo ( )
virtualinherited

function called after undo/redo in the current frame (can be reimplemented in frame children)

Reimplemented in GNEInspectorFrame, GNESelectorFrame, GNEGenericDataFrame, and GNEMeanDataFrame.

Definition at line 252 of file GNEFrame.cpp.

Referenced by GNEApplicationWindow::onCmdRedo(), and GNEApplicationWindow::onCmdUndo().

Here is the caller graph for this function:

◆ varDurString()

std::string GNETLSEditorFrame::varDurString ( SUMOTime  dur)
staticprivate

convert duration (potentially undefined) to string

Definition at line 410 of file GNETLSEditorFrame.cpp.

References getSteps2Time(), and NBTrafficLightDefinition::UNSPECIFIED_DURATION.

Referenced by GNETLSEditorFrame::TLSPhases::initActuatedPhaseTable(), GNETLSEditorFrame::TLSPhases::initDelayBasePhaseTable(), and GNETLSEditorFrame::TLSPhases::initNEMAPhaseTable().

Here is the caller graph for this function:

Field Documentation

◆ myContentFrame

FXVerticalFrame* GNEFrame::myContentFrame = nullptr
protectedinherited

Vertical frame that holds all widgets of frame.

Definition at line 120 of file GNEFrame.h.

Referenced by GNESelectorFrame::getContentFrame(), GNEFrame::getContentFrame(), GNEFrame::GNEFrame(), and GNEFrame::setFrameWidth().

◆ myEditedDef

NBLoadedSUMOTLDef* GNETLSEditorFrame::myEditedDef = nullptr
private

the traffic light definition being edited

Definition at line 655 of file GNETLSEditorFrame.h.

Referenced by cleanup(), controlsEdge(), getPhase(), handleChange(), and handleMultiChange().

◆ myFrameHeaderFont

FXFont * GNEFrame::myFrameHeaderFont = nullptr
staticprivateinherited

static Font for the Header (it's common for all headers, then create only one time)

Definition at line 142 of file GNEFrame.h.

Referenced by GNEFrame::getFrameHeaderFont(), GNEFrame::GNEFrame(), and GNEFrame::~GNEFrame().

◆ myFrameHeaderLabel

FXLabel* GNEFrame::myFrameHeaderLabel = nullptr
privateinherited

the label for the frame's header

Definition at line 145 of file GNEFrame.h.

Referenced by GNEFrame::focusUpperElement(), GNEFrame::getFrameHeaderLabel(), and GNEFrame::GNEFrame().

◆ myHeaderFrame

FXHorizontalFrame* GNEFrame::myHeaderFrame = nullptr
protectedinherited

fame for header elements

Definition at line 123 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myHeaderLeftFrame

FXHorizontalFrame* GNEFrame::myHeaderLeftFrame = nullptr
protectedinherited

◆ myHeaderRightFrame

FXHorizontalFrame* GNEFrame::myHeaderRightFrame = nullptr
protectedinherited

fame for right header elements

Definition at line 129 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myInternalLanes

std::map<int, std::vector<GNEInternalLane*> > GNETLSEditorFrame::myInternalLanes
private

the internal lanes belonging to the current junction indexed by their tl-index

Definition at line 652 of file GNETLSEditorFrame.h.

Referenced by buildInternalLanes(), and handleMultiChange().

◆ myOverlappedInspection

GNEOverlappedInspection* GNETLSEditorFrame::myOverlappedInspection = nullptr
private

Overlapped Inspection.

Definition at line 634 of file GNETLSEditorFrame.h.

Referenced by editTLS(), and show().

◆ myPredefinedTagsMML

std::vector<std::string> GNEFrame::myPredefinedTagsMML
privateinherited

Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached)

Definition at line 148 of file GNEFrame.h.

Referenced by GNEFrame::getPredefinedTagsMML(), and GNEFrame::GNEFrame().

◆ myScrollWindowsContents

FXScrollWindow* GNEFrame::myScrollWindowsContents = nullptr
privateinherited

scroll windows that holds the content frame

Definition at line 139 of file GNEFrame.h.

Referenced by GNEFrame::getScrollBarWidth(), GNEFrame::GNEFrame(), GNEFrame::openHelpAttributesDialog(), and GNEFrame::setFrameWidth().

◆ myTLSAttributes

GNETLSEditorFrame::TLSAttributes* GNETLSEditorFrame::myTLSAttributes = nullptr
private

module for TLS attributes

Definition at line 643 of file GNETLSEditorFrame.h.

Referenced by cleanup(), editJunction(), editTLS(), and getTLSAttributes().

◆ myTLSDefinition

GNETLSEditorFrame::TLSDefinition* GNETLSEditorFrame::myTLSDefinition = nullptr
private

module for TLS Definition

Definition at line 640 of file GNETLSEditorFrame.h.

Referenced by cleanup(), editJunction(), getTLSDefinition(), handleChange(), handleMultiChange(), and isTLSSaved().

◆ myTLSFile

GNETLSEditorFrame::TLSFile* GNETLSEditorFrame::myTLSFile = nullptr
private

module for load/Save TLS Programs

Definition at line 649 of file GNETLSEditorFrame.h.

◆ myTLSJunction

GNETLSEditorFrame::TLSJunction* GNETLSEditorFrame::myTLSJunction = nullptr
private

module for TLS Junction

Definition at line 637 of file GNETLSEditorFrame.h.

Referenced by buildInternalLanes(), cleanup(), editJunction(), editTLS(), and getTLSJunction().

◆ myTLSPhases

GNETLSEditorFrame::TLSPhases* GNETLSEditorFrame::myTLSPhases = nullptr
private

module for TLS Phases

Definition at line 646 of file GNETLSEditorFrame.h.

Referenced by cleanup(), editJunction(), frameWidthUpdated(), handleChange(), and ~GNETLSEditorFrame().

◆ myViewNet

GNEViewNet* GNEFrame::myViewNet = nullptr
protectedinherited

FOX need this.

View Net

Definition at line 117 of file GNEFrame.h.

Referenced by GNEAdditionalFrame::addAdditional(), GNECreateEdgeFrame::addBikelane(), GNEContainerFrame::addContainer(), GNEContainerPlanFrame::addContainerPlanElement(), GNECrossingFrame::addCrossing(), GNEEdgeDataFrame::addEdgeData(), GNERouteFrame::addEdgeRoute(), GNETAZFrame::addOrRemoveTAZMember(), GNEPersonFrame::addPerson(), GNEPersonPlanFrame::addPersonPlanElement(), GNEShapeFrame::addShape(), GNECreateEdgeFrame::addSidewalk(), GNEStopFrame::addStop(), GNEVehicleFrame::addVehicle(), GNEWireFrame::addWire(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), buildInternalLanes(), GNEPersonFrame::buildPerson(), GNEProhibitionFrame::buildProhibition(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), cleanup(), GNEAdditionalFrame::createBaseAdditionalObject(), GNEWireFrame::createBaseWireObject(), GNEEdgeRelDataFrame::createPath(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNERouteFrame::createPath(), GNEVehicleFrame::createPath(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), GNECreateEdgeFrame::disablePedestrians(), GNETAZFrame::dropTAZMembers(), editJunction(), editTLS(), GNESelectorFrame::getMatches(), GNEFrame::getViewNet(), GNETypeFrame::GNETypeFrame(), handleChange(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), handleMultiChange(), GNEProhibitionFrame::handleProhibitionClick(), GNEInspectorFrame::hide(), GNEGenericDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNEFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectMultisection(), GNEInspectorFrame::inspectSingleElement(), GNEProhibitionFrame::Legend::Legend(), GNEInspectorFrame::onCmdGoBack(), GNEDeleteFrame::SubordinatedElements::openWarningDialog(), parseTLSPrograms(), GNEShapeFrame::processClick(), GNECreateEdgeFrame::processClick(), GNEShapeFrame::processClickPOI(), GNEShapeFrame::processClickPOIGeo(), GNEShapeFrame::processClickPOILanes(), GNEInspectorFrame::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), GNEInspectorFrame::refreshInspection(), GNEDeleteFrame::removeAttributeCarrier(), GNEDeleteFrame::removeGeometryPoint(), GNEDeleteFrame::removeSelectedAttributeCarriers(), GNESelectorFrame::selectAttributeCarrier(), GNEDeleteFrame::selectedACsToDelete(), GNEInspectorFrame::selectedOverlappedElement(), GNEShapeFrame::shapeDrawed(), GNETAZFrame::shapeDrawed(), GNEMoveFrame::show(), GNESelectorFrame::show(), GNEContainerPlanFrame::show(), GNEPersonPlanFrame::show(), GNEStopFrame::show(), GNEFrame::show(), GNEAdditionalFrame::show(), GNEStopFrame::tagSelected(), and GNEAdditionalFrame::tagSelected().


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