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

#include <GNEStopFrame.h>

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

Data Structures

class  HelpCreation
 

Public Member Functions

bool addStop (const GNEViewNetHelper::ViewObjectsSelector &viewObjects, const GNEViewNetHelper::MouseButtonKeyPressed &mouseButtonKeyPressed)
 add Stop element
 
void focusUpperElement ()
 focus upper element of frame
 
virtual void frameWidthUpdated ()
 function called after setting new width in current frame (can be reimplemented in frame children)
 
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)
 
bool getStopParameter (const SumoXMLTag stopTag, const GNELane *lane, const GNEAdditional *stoppingPlace)
 get stop parameters
 
GNEDemandElementSelectorgetStopParentSelector () const
 get stop parent selector
 
GNEViewNetgetViewNet () const
 get view net
 
 GNEStopFrame (GNEViewParent *viewParent, GNEViewNet *viewNet)
 Constructor.
 
virtual void hide ()
 hide Frame
 
void openHelpAttributesDialog (const GNEAttributeCarrier *AC) const
 Open help attributes dialog.
 
void setFrameWidth (const int newWidth)
 set width of GNEFrame
 
void show ()
 show Frame
 
virtual void updateFrameAfterUndoRedo ()
 function called after undo/redo in the current frame (can be reimplemented in frame children)
 
 ~GNEStopFrame ()
 Destructor.
 
functions called by moduls that can be reimplemented in frame children (note: reimplement as protected, just for safety)
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 selectedOverlappedElement (GNEAttributeCarrier *AC)
 open GNEAttributesCreator extended dialog
 
virtual bool createPath (const bool useLastRoute)
 create path between two elements
 

Protected Member Functions

void demandElementSelected ()
 selected demand element in DemandElementSelector
 
const std::vector< std::string > & getPredefinedTagsMML () const
 get predefinedTagsMML
 
void tagSelected ()
 Tag selected in GNETagSelector.
 

Static Protected Member Functions

static FXLabel * buildRainbow (FXComposite *parent)
 build rainbow in frame modul
 

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 Attributes

FXLabel * myFrameHeaderLabel = nullptr
 the label for the frame's header
 
HelpCreationmyHelpCreation
 Help creation.
 
GNENeteditAttributesmyNeteditAttributes
 Netedit parameter.
 
CommonXMLStructure::PlanParameters myPlanParameters
 plan parameters
 
std::vector< std::string > myPredefinedTagsMML
 Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached)
 
GNERouteHandler myRouteHandler
 route handler
 
FXScrollWindow * myScrollWindowsContents = nullptr
 scroll windows that holds the content frame
 
GNEAttributesCreatormyStopAttributes
 internal Stop attributes
 
CommonXMLStructure::SumoBaseObjectmyStopParentBaseObject
 stop parent base object
 
GNEDemandElementSelectormyStopParentSelector
 Stop parent selectors.
 
GNETagSelectormyStopTagSelector
 stop tag selector selector (used to select diffent kind of Stops)
 

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

Definition at line 39 of file GNEStopFrame.h.

Constructor & Destructor Documentation

◆ GNEStopFrame()

GNEStopFrame::GNEStopFrame ( GNEViewParent viewParent,
GNEViewNet viewNet 
)

◆ ~GNEStopFrame()

GNEStopFrame::~GNEStopFrame ( )

Destructor.

Definition at line 145 of file GNEStopFrame.cpp.

References myStopParentBaseObject.

Member Function Documentation

◆ addStop()

bool GNEStopFrame::addStop ( const GNEViewNetHelper::ViewObjectsSelector viewObjects,
const GNEViewNetHelper::MouseButtonKeyPressed mouseButtonKeyPressed 
)

add Stop element

Parameters
viewObjectscollection of objects under cursor after click over view
mouseButtonKeyPressedkey pressed during click
Returns
true if Stop was successfully added

Definition at line 188 of file GNEStopFrame.cpp.

References GNERouteHandler::buildStop(), GNEViewNetHelper::ViewObjectsSelector::getAdditionalFront(), GNEDemandElementSelector::getCurrentDemandElement(), GNETagSelector::getCurrentTemplateAC(), GNEViewNetHelper::ViewObjectsSelector::getDemandElementFront(), GNEViewNet::getDemandViewOptions(), GNEAttributeCarrier::getID(), GNEViewNetHelper::ViewObjectsSelector::getLaneFront(), getStopParameter(), CommonXMLStructure::SumoBaseObject::getSumoBaseObjectChildren(), GNETagProperties::getTag(), CommonXMLStructure::SumoBaseObject::getTag(), GNEAttributeCarrier::getTagProperty(), GNEAttributeCarrier::getTagStr(), GNETagProperties::isVehicle(), GNETagProperties::isVehicleStop(), GNEViewNetHelper::DemandViewOptions::menuCheckShowAllPersonPlans, GNEViewNetHelper::DemandViewOptions::menuCheckShowAllTrips, myPlanParameters, myRouteHandler, myStopParentBaseObject, myStopParentSelector, myStopTagSelector, GNEFrame::myViewNet, MFXCheckableButton::setChecked(), GNEDemandElementSelector::setDemandElement(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), SUMO_TAG_NOTHING, SUMO_TAG_ROUTE, TL, WRITE_WARNING, and WRITE_WARNINGF.

Referenced by GNEViewNet::processLeftButtonPressDemand().

Here is the caller graph for this function:

◆ attributeUpdated()

void GNEFrame::attributeUpdated ( SumoXMLAttr  attribute)
virtualinherited

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

Reimplemented in GNEMeanDataFrame, GNERouteDistributionFrame, GNETypeDistributionFrame, and GNETypeFrame.

Definition at line 286 of file GNEFrame.cpp.

Referenced by GNEAttributesEditor::setAttribute(), and GNEAttributesEditor::toggleEnableAttribute().

Here is the caller graph for this function:

◆ buildRainbow()

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

build rainbow in frame modul

Definition at line 311 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:

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

◆ 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::inspectClickedElements(), GNEViewNet::updateDataModeSpecificControls(), GNEViewNet::updateDemandModeSpecificControls(), and GNEViewNet::updateNetworkModeSpecificControls().

Here is the caller graph for this function:

◆ frameWidthUpdated()

void GNEFrame::frameWidthUpdated ( )
virtualinherited

function called after setting new width in current frame (can be reimplemented in frame children)

Reimplemented in GNETLSEditorFrame.

Definition at line 258 of file GNEFrame.cpp.

Referenced by GNEFrame::setFrameWidth().

Here is the caller graph for this function:

◆ 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:

◆ getPredefinedTagsMML()

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

get predefinedTagsMML

Definition at line 305 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:

◆ getStopParameter()

bool GNEStopFrame::getStopParameter ( const SumoXMLTag  stopTag,
const GNELane lane,
const GNEAdditional stoppingPlace 
)

get stop parameters

Definition at line 232 of file GNEStopFrame.cpp.

References SUMOVehicleParameter::Stop::actType, CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEAttributesCreator::areValuesValid(), SUMOVehicleParameter::Stop::awaitedContainers, SUMOVehicleParameter::Stop::awaitedPersons, SUMOVehicleParameter::Stop::busstop, SUMOVehicleParameter::Stop::chargingStation, CommonXMLStructure::PlanParameters::clear(), CommonXMLStructure::SumoBaseObject::clear(), SUMOVehicleParameter::Stop::containerstop, SUMOVehicleParameter::Stop::containerTriggered, SUMOVehicleParameter::Stop::duration, SUMOVehicleParameter::Stop::edge, SUMOVehicleParameter::Stop::endPos, SUMOVehicleParameter::Stop::extension, SUMOVehicleParameter::Stop::friendlyPos, GNEDemandElement::getAttribute(), GNEAttributesCreator::getAttributesAndValues(), CommonXMLStructure::SumoBaseObject::getBoolAttribute(), GNEHierarchicalElement::getChildDemandElements(), GNEDemandElementSelector::getCurrentDemandElement(), CommonXMLStructure::SumoBaseObject::getDoubleAttribute(), GNEAttributeCarrier::getID(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNELane::getParentEdge(), GNEHierarchicalElement::getParentEdges(), GNEHierarchicalElement::getParentLanes(), GNELane::getSpeed(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), CommonXMLStructure::SumoBaseObject::getStringListAttribute(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNETagProperties::getTagStr(), CommonXMLStructure::SumoBaseObject::getTimeAttribute(), GNE_TAG_STOP_BUSSTOP, GNE_TAG_STOP_CHARGINGSTATION, GNE_TAG_STOP_CONTAINERSTOP, GNE_TAG_STOP_LANE, GNE_TAG_STOP_PARKINGAREA, GNE_TAG_STOP_TRAINSTOP, GNE_TAG_STOPCONTAINER_EDGE, GNE_TAG_STOPPERSON_BUSSTOP, GNE_TAG_STOPPERSON_EDGE, GNE_TAG_STOPPERSON_TRAINSTOP, GNE_TAG_WAYPOINT_BUSSTOP, GNE_TAG_WAYPOINT_CHARGINGSTATION, GNE_TAG_WAYPOINT_CONTAINERSTOP, GNE_TAG_WAYPOINT_LANE, GNE_TAG_WAYPOINT_PARKINGAREA, GNE_TAG_WAYPOINT_TRAINSTOP, GNETagProperties::hasAttribute(), CommonXMLStructure::SumoBaseObject::hasBoolAttribute(), CommonXMLStructure::SumoBaseObject::hasDoubleAttribute(), CommonXMLStructure::SumoBaseObject::hasStringAttribute(), CommonXMLStructure::SumoBaseObject::hasStringListAttribute(), CommonXMLStructure::SumoBaseObject::hasTimeAttribute(), SUMOVehicleParameter::Stop::index, INVALID_DOUBLE, GNEPathElement::isRoute(), SUMOVehicleParameter::Stop::join, SUMOVehicleParameter::Stop::joinTriggered, SUMOVehicleParameter::Stop::jump, SUMOVehicleParameter::Stop::lane, SUMOVehicleParameter::Stop::line, myNeteditAttributes, myPlanParameters, myStopAttributes, myStopParentBaseObject, myStopParentSelector, OFFROAD, SUMOVehicleParameter::Stop::onDemand, ONROAD, OPPORTUNISTIC, SUMOVehicleParameter::Stop::parametersSet, SUMOVehicleParameter::Stop::parking, SUMOVehicleParameter::Stop::parkingarea, SUMOVehicleParameter::Stop::permitted, SUMOVehicleParameter::Stop::posLat, GNEAttributesCreator::refreshAttributesCreator(), CommonXMLStructure::SumoBaseObject::setStopParameter(), CommonXMLStructure::SumoBaseObject::setTag(), GNEAttributesCreator::showWarningMessage(), SUMOVehicleParameter::Stop::speed, SUMOVehicleParameter::Stop::split, SUMOVehicleParameter::Stop::startPos, STOP_CONTAINER_TRIGGER_SET, STOP_DURATION_SET, STOP_END_SET, STOP_EXPECTED_CONTAINERS_SET, STOP_EXPECTED_SET, STOP_EXTENSION_SET, STOP_INDEX_END, STOP_INDEX_FIT, STOP_JOIN_SET, STOP_JUMP_SET, STOP_LINE_SET, STOP_ONDEMAND_SET, STOP_PARKING_SET, STOP_PERMITTED_SET, STOP_POSLAT_SET, STOP_SPEED_SET, STOP_SPLIT_SET, STOP_START_SET, STOP_TRIGGER_SET, STOP_TRIP_ID_SET, STOP_UNTIL_SET, SUMO_ATTR_ACTTYPE, SUMO_ATTR_DURATION, SUMO_ATTR_ENDPOS, SUMO_ATTR_EXPECTED, SUMO_ATTR_EXTENSION, SUMO_ATTR_FRIENDLY_POS, SUMO_ATTR_FROM, SUMO_ATTR_ID, SUMO_ATTR_INDEX, SUMO_ATTR_JOIN, SUMO_ATTR_JUMP, SUMO_ATTR_LINE, SUMO_ATTR_ONDEMAND, SUMO_ATTR_PARKING, SUMO_ATTR_PERMITTED, SUMO_ATTR_POSITION_LAT, SUMO_ATTR_ROUTE, SUMO_ATTR_SPEED, SUMO_ATTR_SPLIT, SUMO_ATTR_STARTPOS, SUMO_ATTR_TO, SUMO_ATTR_TRIGGERED, SUMO_ATTR_TRIP_ID, SUMO_ATTR_UNTIL, SUMO_TAG_BUS_STOP, SUMO_TAG_CHARGING_STATION, SUMO_TAG_CONTAINER_STOP, SUMO_TAG_EDGE, SUMO_TAG_LANE, SUMO_TAG_NOTHING, SUMO_TAG_PARKING_AREA, SUMO_TAG_TRAIN_STOP, TL, CommonXMLStructure::PlanParameters::toBusStop, CommonXMLStructure::PlanParameters::toChargingStation, CommonXMLStructure::PlanParameters::toContainerStop, CommonXMLStructure::PlanParameters::toEdge, CommonXMLStructure::PlanParameters::toParkingArea, toString(), CommonXMLStructure::PlanParameters::toTrainStop, SUMOVehicleParameter::Stop::triggered, SUMOVehicleParameter::Stop::tripId, SUMOVehicleParameter::Stop::until, and WRITE_WARNING.

Referenced by addStop().

Here is the caller graph for this function:

◆ getStopParentSelector()

GNEDemandElementSelector * GNEStopFrame::getStopParentSelector ( ) const

get stop parent selector

Definition at line 562 of file GNEStopFrame.cpp.

References myStopParentSelector.

Referenced by GNEStop::getColor().

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(), GNETLSTable::Cell::Cell(), GNEPathCreator::clearEdgeColors(), GNEPlanSelector::clearEdgeColors(), GNEPathCreator::clearJunctionColors(), GNEPlanSelector::clearJunctionColors(), GNEConsecutiveSelector::clearPath(), GNENetworkSelector::clearSelection(), GNETLSTable::Column::Column(), GNEElementTree::createPopUpMenu(), GNECrossingFrame::CrossingParameters::CrossingParameters(), GNEDistributionFrame::DistributionRow::DistributionRow(), GNEDistributionFrame::DistributionValuesEditor::DistributionValuesEditor(), GNENeteditAttributes::drawLaneReference(), GNEConsecutiveSelector::drawTemporalConsecutiveLanePath(), GNEPlanCreator::drawTemporalRoute(), GNEAdditionalFrame::E2MultilaneLegendModule::E2MultilaneLegendModule(), GNEAttributesEditorRow::enableElements(), GNEMatchGenericDataAttribute::enableMatchGenericDataAttribute(), GNEAttributesEditor::enableReparent(), GNEAttributesCreatorRow::generateID(), GNENeteditAttributes::getNeteditAttributesAndValues(), GNEInternalLane::getPopUpMenu(), GNEAttributesEditorRow::GNEAttributesEditorRow(), GNEPathLegendModule::GNEPathLegendModule(), GNECrossingFrame::Information::Information(), GNEAttributesEditor::inspectParent(), GNEAttributesCreatorRow::isValidID(), GNEConnectorFrame::Legend::Legend(), GNEProhibitionFrame::Legend::Legend(), GNEMeanDataFrame::MeanDataSelector::MeanDataSelector(), GNEAttributesEditor::moveLaneDown(), GNEAttributesEditor::moveLaneUp(), GNEMultipleParametersDialog::onCmdAccept(), GNEElementTree::onCmdCenterItem(), GNEElementTree::onCmdDeleteItem(), GNEFrameAttributeModules::ParametersEditor::onCmdEditParameters(), MFXGroupBoxModule::onCmdExtendButton(), GNEElementTree::onCmdInspectItem(), GNEElementTree::onCmdMoveItemDown(), GNEElementTree::onCmdMoveItemUp(), GNEAttributesCreatorRow::onCmdOpenAllowDialog(), GNEAttributesEditorRow::onCmdOpenAllowDialog(), GNEAttributesEditor::onCmdOpenExtendedAttributesDialog(), 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(), GNEAttributesEditor::setAttribute(), GNETagSelector::setCurrentTagType(), GNEDrawingShape::setDeleteLastCreatedPoint(), GNEAttributesEditor::setNewParent(), GNEPathCreator::setPossibleCandidates(), GNEPathCreator::setSpecialCandidates(), GNEElementTree::showAttributeCarrierParents(), GNEAttributesEditorRow::showAttributeRow(), GNEDemandElementSelector::showDemandElementSelector(), GNEElementTree::showHierarchicalElementChildren(), GNEAttributesEditorRow::showMoveLaneButtons(), GNEAttributesEditorRow::showValueComboBox(), GNEAttributesCreator::showWarningMessage(), GNETAZFrame::TAZParameters::TAZParameters(), GNETLSEditorFrame::TLSAttributes::TLSAttributes(), GNETLSEditorFrame::TLSJunction::TLSJunction(), GNETLSEditorFrame::TLSPhases::TLSPhases(), GNEAttributesEditor::toggleEnableAttribute(), GNENetworkSelector::toggleSelectedElement(), GNEPathCreator::updateEdgeColors(), GNEPlanSelector::updateEdgeColors(), GNEPathCreator::updateJunctionColors(), GNEPlanSelector::updateJunctionColors(), GNEConsecutiveSelector::updateLaneColors(), and GNEMatchGenericDataAttribute::updateTAZComboBox().

◆ 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:

◆ openHelpAttributesDialog()

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

◆ selectedOverlappedElement()

void GNEFrame::selectedOverlappedElement ( GNEAttributeCarrier AC)
virtualinherited

open GNEAttributesCreator extended dialog

Reimplemented in GNEInspectorFrame, and GNETLSEditorFrame.

Definition at line 292 of file GNEFrame.cpp.

Referenced by GNEOverlappedInspection::refreshOverlappedInspection().

Here is the caller graph for this function:

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

◆ 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:

Field Documentation

◆ myContentFrame

FXVerticalFrame* GNEFrame::myContentFrame = nullptr
protectedinherited

Vertical frame that holds all widgets of frame.

Definition at line 118 of file GNEFrame.h.

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

◆ 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 140 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 143 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 121 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myHeaderLeftFrame

FXHorizontalFrame* GNEFrame::myHeaderLeftFrame = nullptr
protectedinherited

fame for left header elements

Definition at line 124 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame(), GNEInspectorFrame::GNEInspectorFrame(), and GNEInspectorFrame::refreshInspection().

◆ myHeaderRightFrame

FXHorizontalFrame* GNEFrame::myHeaderRightFrame = nullptr
protectedinherited

fame for right header elements

Definition at line 127 of file GNEFrame.h.

Referenced by GNEFrame::GNEFrame().

◆ myHelpCreation

HelpCreation* GNEStopFrame::myHelpCreation
private

Help creation.

Definition at line 128 of file GNEStopFrame.h.

Referenced by demandElementSelected(), GNEStopFrame(), show(), and tagSelected().

◆ myNeteditAttributes

GNENeteditAttributes* GNEStopFrame::myNeteditAttributes
private

Netedit parameter.

Definition at line 125 of file GNEStopFrame.h.

Referenced by demandElementSelected(), getStopParameter(), GNEStopFrame(), show(), and tagSelected().

◆ myPlanParameters

CommonXMLStructure::PlanParameters GNEStopFrame::myPlanParameters
private

plan parameters

Definition at line 113 of file GNEStopFrame.h.

Referenced by addStop(), and getStopParameter().

◆ myPredefinedTagsMML

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

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

Definition at line 146 of file GNEFrame.h.

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

◆ myRouteHandler

GNERouteHandler GNEStopFrame::myRouteHandler
private

route handler

Definition at line 107 of file GNEStopFrame.h.

Referenced by addStop().

◆ myScrollWindowsContents

FXScrollWindow* GNEFrame::myScrollWindowsContents = nullptr
privateinherited

scroll windows that holds the content frame

Definition at line 137 of file GNEFrame.h.

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

◆ myStopAttributes

GNEAttributesCreator* GNEStopFrame::myStopAttributes
private

internal Stop attributes

Definition at line 122 of file GNEStopFrame.h.

Referenced by demandElementSelected(), getStopParameter(), GNEStopFrame(), show(), and tagSelected().

◆ myStopParentBaseObject

CommonXMLStructure::SumoBaseObject* GNEStopFrame::myStopParentBaseObject
private

stop parent base object

Definition at line 110 of file GNEStopFrame.h.

Referenced by addStop(), getStopParameter(), and ~GNEStopFrame().

◆ myStopParentSelector

GNEDemandElementSelector* GNEStopFrame::myStopParentSelector
private

Stop parent selectors.

Definition at line 116 of file GNEStopFrame.h.

Referenced by addStop(), demandElementSelected(), getStopParameter(), getStopParentSelector(), GNEStopFrame(), and show().

◆ myStopTagSelector

GNETagSelector* GNEStopFrame::myStopTagSelector
private

stop tag selector selector (used to select diffent kind of Stops)

Definition at line 119 of file GNEStopFrame.h.

Referenced by addStop(), demandElementSelected(), GNEStopFrame(), show(), and tagSelected().

◆ myViewNet

GNEViewNet* GNEFrame::myViewNet = nullptr
protectedinherited

FOX need this.

View Net

Definition at line 115 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(), addStop(), GNEVehicleFrame::addVehicle(), GNEWireFrame::addWire(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNEProhibitionFrame::buildProhibition(), GNETAZRelDataFrame::buildTAZRelationData(), GNEVehicleFrame::buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::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(), GNETLSEditorFrame::editJunction(), GNETLSEditorFrame::editTLS(), GNESelectorFrame::getMatches(), GNEFrame::getViewNet(), GNETypeFrame::GNETypeFrame(), GNETLSEditorFrame::handleChange(), GNESelectorFrame::handleIDs(), GNEConnectorFrame::handleLaneClick(), GNETLSEditorFrame::handleMultiChange(), GNEProhibitionFrame::handleProhibitionClick(), GNEInspectorFrame::hide(), GNEGenericDataFrame::hide(), GNEContainerFrame::hide(), GNEContainerPlanFrame::hide(), GNEPersonFrame::hide(), GNEPersonPlanFrame::hide(), GNERouteFrame::hide(), GNEVehicleFrame::hide(), GNEFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectClickedElements(), GNEInspectorFrame::inspectElement(), GNEInspectorFrame::inspectElements(), GNEProhibitionFrame::Legend::Legend(), GNEDeleteFrame::SubordinatedElements::openWarningDialog(), GNETLSEditorFrame::parseTLSPrograms(), GNEShapeFrame::processClick(), GNECreateEdgeFrame::processClick(), GNEShapeFrame::processClickPOI(), GNEShapeFrame::processClickPOIGeo(), GNEShapeFrame::processClickPOILanes(), 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(), show(), GNEFrame::show(), GNEAdditionalFrame::show(), tagSelected(), and GNEAdditionalFrame::tagSelected().


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