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

Protected Member Functions

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

Static Protected Member Functions

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

Protected Attributes

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

Private Member Functions

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

Static Private Member Functions

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

Private Attributes

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

Static Private Attributes

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

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 GNETypeFrame, GNETypeDistributionFrame, GNERouteDistributionFrame, GNEMeanDataFrame, and GNEInspectorFrame.

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 GNEWireFrame, GNEAdditionalFrame, GNEVehicleFrame, GNERouteFrame, GNEPersonPlanFrame, GNEPersonFrame, GNEContainerPlanFrame, GNEContainerFrame, GNEGenericDataFrame, and GNEEdgeRelDataFrame.

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 GNEVehicleFrame, GNEStopFrame, GNEPersonPlanFrame, GNEPersonFrame, GNEContainerPlanFrame, and GNEContainerFrame.

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::inspectMultisection().

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(), GNEInspectorFrame::clearInspectedAC(), GNEPathCreator::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNENetworkSelector::clearSelection(), GNETLSTable::Column::Column(), GNEAdditionalFrame::createPath(), GNEWireFrame::createPath(), GNEElementTree::createPopUpMenu(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNEDistributionFrame::DistributionRow::DistributionRow(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNEInternalLane::drawGL(), GNENeteditAttributes::drawLaneReference(), 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(), 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(), GNEPathCreator::recalculatePath(), GNEPlanCreator::recalculatePath(), GNEDemandElementSelector::refreshDemandElementSelector(), GNEAttributesCreator::refreshRows(), GNESelectorParent::refreshSelectorParentModule(), GNEConsecutiveSelector::removeLastElement(), GNEPathCreator::removeLastElement(), GNETLSTable::Row::Row(), GNEProhibitionFrame::Selection::Selection(), GNETagSelector::setCurrentTagType(), 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 GNETAZFrame, GNEProhibitionFrame, GNECrossingFrame, GNECreateEdgeFrame, GNEVehicleFrame, GNERouteFrame, GNEPersonPlanFrame, GNEPersonFrame, GNEContainerPlanFrame, GNEContainerFrame, GNEMeanDataFrame, GNEGenericDataFrame, GNESelectorFrame, GNEMoveFrame, GNEInspectorFrame, and GNEDeleteFrame.

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()

void GNEFrame::openHelpAttributesDialog ( const GNEAttributeCarrier AC) const
inherited

◆ 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::inspectMultisection().

Here is the caller graph for this function:

◆ shapeDrawed()

bool GNEFrame::shapeDrawed ( )
virtualinherited

build a shaped element using the drawed shape

Reimplemented in GNETAZFrame, and GNEShapeFrame.

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 GNEWireFrame, GNEShapeFrame, GNEAdditionalFrame, GNEVehicleFrame, GNEStopFrame, GNEPersonPlanFrame, GNEPersonFrame, GNEContainerPlanFrame, and GNEContainerFrame.

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 GNEMeanDataFrame, GNEGenericDataFrame, GNESelectorFrame, and GNEInspectorFrame.

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 the 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(), GNEInspectorFrame::clearInspectedAC(), 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(), 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: