Eclipse SUMO - Simulation of Urban MObility
GNEVehicleFrame Class Reference

#include <GNEVehicleFrame.h>

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

Data Structures

class  HelpCreation
 

Public Member Functions

bool addVehicle (const GNEViewNetHelper::ViewObjectsSelector &viewObjects, const GNEViewNetHelper::MouseButtonKeyPressed &mouseButtonKeyPressed)
 add vehicle element More...
 
void focusUpperElement ()
 focus upper element of frame More...
 
virtual void frameWidthUpdated ()
 function called after setting new width in current frame (can be reimplemented in frame children) 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...
 
GNEPathCreatorgetPathCreator () const
 get GNEPathCreator module More...
 
int getScrollBarWidth () const
 get scrollBar width (zero if is hidden) More...
 
GNEDemandElementSelectorgetTypeSelector () const
 getVehicle Type selectors More...
 
GNEAttributesCreatorgetVehicleAttributes () const
 get attributes creator More...
 
GNETagSelectorgetVehicleTagSelector () const
 get vehicle tag selector (needed for transform vehicles) More...
 
GNEViewNetgetViewNet () const
 get view net More...
 
 GNEVehicleFrame (GNEViewParent *viewParent, GNEViewNet *viewNet)
 Constructor. More...
 
void hide ()
 hide Frame More...
 
void openHelpAttributesDialog (const GNEAttributeCarrier *AC) const
 Open help attributes dialog. More...
 
void setFrameWidth (const int newWidth)
 set width of GNEFrame More...
 
void show ()
 show Frame More...
 
virtual void updateFrameAfterUndoRedo ()
 function called after undo/redo in the current frame (can be reimplemented in frame children) More...
 
 ~GNEVehicleFrame ()
 Destructor. More...
 
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 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 void selectedOverlappedElement (GNEAttributeCarrier *AC)
 open GNEAttributesCreator extended dialog More...
 

Protected Member Functions

bool buildVehicleOverRoute (SumoXMLTag vehicleTag, GNEDemandElement *route)
 build vehicle over route More...
 
bool createPath (const bool useLastRoute)
 create path More...
 
void demandElementSelected ()
 selected vehicle type in DemandElementSelector More...
 
const std::vector< std::string > & getPredefinedTagsMML () const
 get predefinedTagsMML More...
 
void tagSelected ()
 Tag selected in GNETagSelector. More...
 

Static Protected Member Functions

static FXLabel * buildRainbow (FXComposite *parent)
 build rainbow in frame modul 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 Attributes

FXLabel * myFrameHeaderLabel = nullptr
 the label for the frame's header More...
 
HelpCreationmyHelpCreation
 Help creation. More...
 
GNEPathCreatormyPathCreator
 edge path creator (used for trips and flows) More...
 
GNEPathLegendModulemyPathLegend
 path legend modul More...
 
std::vector< std::string > myPredefinedTagsMML
 Map of attribute ids to their (readable) string-representation (needed for SUMOSAXAttributesImpl_Cached) More...
 
GNERouteHandler myRouteHandler
 route handler More...
 
FXScrollWindow * myScrollWindowsContents = nullptr
 scroll windows that holds the content frame More...
 
GNEDemandElementSelectormyTypeSelector
 Vehicle Type selectors. More...
 
GNEAttributesCreatormyVehicleAttributes
 internal vehicle attributes More...
 
CommonXMLStructure::SumoBaseObjectmyVehicleBaseObject
 vehicle base object More...
 
GNETagSelectormyVehicleTagSelector
 vehicle tag selector (used to select diffent kind of vehicles) 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

Definition at line 42 of file GNEVehicleFrame.h.

Constructor & Destructor Documentation

◆ GNEVehicleFrame()

GNEVehicleFrame::GNEVehicleFrame ( 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 GNEVehicleFrame.cpp.

References myHelpCreation, myPathCreator, myPathLegend, myTypeSelector, myVehicleAttributes, myVehicleTagSelector, SUMO_TAG_TRIP, and SUMO_TAG_VTYPE.

◆ ~GNEVehicleFrame()

GNEVehicleFrame::~GNEVehicleFrame ( )

Destructor.

Definition at line 147 of file GNEVehicleFrame.cpp.

References myVehicleBaseObject.

Member Function Documentation

◆ addVehicle()

bool GNEVehicleFrame::addVehicle ( const GNEViewNetHelper::ViewObjectsSelector viewObjects,
const GNEViewNetHelper::MouseButtonKeyPressed mouseButtonKeyPressed 
)

add vehicle element

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

Definition at line 177 of file GNEVehicleFrame.cpp.

References GNEPathCreator::addEdge(), GNEPathCreator::addJunction(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), GNEPathCreator::addTAZ(), GNEAttributesCreator::areValuesValid(), buildVehicleOverRoute(), CommonXMLStructure::SumoBaseObject::clear(), GNEViewNetHelper::MouseButtonKeyPressed::controlKeyPressed(), GNENetHelper::AttributeCarriers::generateDemandElementID(), GNENet::getAttributeCarriers(), GNEAttributesCreator::getAttributesAndValues(), GNEDemandElementSelector::getCurrentDemandElement(), GNETagSelector::getCurrentTemplateAC(), GNEViewNetHelper::ViewObjectsSelector::getDemandElementFront(), GNEViewNetHelper::ViewObjectsSelector::getEdgeFront(), GNEAttributeCarrier::getID(), GNEViewNetHelper::ViewObjectsSelector::getJunctionFront(), GNEViewNet::getNet(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), GNEViewNetHelper::ViewObjectsSelector::getTAZFront(), GNE_TAG_FLOW_JUNCTIONS, GNE_TAG_FLOW_TAZS, GNE_TAG_FLOW_WITHROUTE, GNE_TAG_TRIP_JUNCTIONS, GNE_TAG_TRIP_TAZS, GNE_TAG_VEHICLE_WITHROUTE, CommonXMLStructure::SumoBaseObject::hasStringAttribute(), myPathCreator, myTypeSelector, myVehicleAttributes, myVehicleBaseObject, myVehicleTagSelector, GNEFrame::myViewNet, GNEViewNet::setStatusBarText(), GNEViewNetHelper::MouseButtonKeyPressed::shiftKeyPressed(), GNEAttributesCreator::showWarningMessage(), SUMO_ATTR_ID, SUMO_ATTR_TYPE, SUMO_TAG_FLOW, SUMO_TAG_NOTHING, SUMO_TAG_TRIP, TL, and GNETagProperties::vehicleRoute().

Referenced by GNEViewNet::processLeftButtonPressDemand().

Here is the caller graph for this function:

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

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

◆ buildVehicleOverRoute()

bool GNEVehicleFrame::buildVehicleOverRoute ( SumoXMLTag  vehicleTag,
GNEDemandElement route 
)
protected

build vehicle over route

Definition at line 561 of file GNEVehicleFrame.cpp.

References CommonXMLStructure::SumoBaseObject::addStringAttribute(), Boundary::around(), GUISUMOAbstractView::centerTo(), CommonXMLStructure::SumoBaseObject::getAllAttributes(), GNENet::getAttributeCarriers(), GNEDemandElement::getAttributeDouble(), GNEDemandElementSelector::getCurrentDemandElement(), GNEAttributeCarrier::getID(), GNEViewNet::getNet(), GNEHierarchicalElement::getParentEdges(), GNEFrame::getPredefinedTagsMML(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNETagProperties::getTag(), CommonXMLStructure::SumoBaseObject::getTag(), GNEAttributeCarrier::getTagProperty(), CommonXMLStructure::SumoBaseObject::getTimeAttribute(), GUISUMOAbstractView::getVisibleBoundary(), GNE_ATTR_POISSON, CommonXMLStructure::SumoBaseObject::hasStringAttribute(), CommonXMLStructure::SumoBaseObject::hasTimeAttribute(), GNETagProperties::isRoute(), myRouteHandler, myTypeSelector, myVehicleAttributes, myVehicleBaseObject, GNEFrame::myViewNet, SUMOVehicleParserHelper::parseFlowAttributes(), RouteHandler::parseSumoBaseObject(), SUMOVehicleParserHelper::parseVehicleAttributes(), GNEAttributesCreator::refreshAttributesCreator(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMOVehicleParameter::routeid, GNEViewNet::setStatusBarText(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_ATTR_BEGIN, SUMO_ATTR_DEPART, SUMO_ATTR_DEPARTLANE, SUMO_ATTR_DEPARTSPEED, SUMO_ATTR_END, SUMO_ATTR_ID, SUMO_ATTR_MAXSPEED, SUMO_ATTR_PERIOD, SUMO_TAG_FLOW, SUMO_TAG_ROUTE, SUMO_TAG_VEHICLE, SUMOTime_MAX, time2string(), and toString().

Referenced by addVehicle(), and createPath().

Here is the caller graph for this function:

◆ createPath()

bool GNEVehicleFrame::createPath ( const bool  useLastRoute)
protectedvirtual

create path

Reimplemented from GNEFrame.

Definition at line 306 of file GNEVehicleFrame.cpp.

References GNEPathCreator::abortPathCreation(), CommonXMLStructure::SumoBaseObject::addColorAttribute(), CommonXMLStructure::SumoBaseObject::addIntAttribute(), CommonXMLStructure::SumoBaseObject::addStringAttribute(), CommonXMLStructure::SumoBaseObject::addStringListAttribute(), CommonXMLStructure::SumoBaseObject::addTimeAttribute(), GNEAttributesCreator::areValuesValid(), buildVehicleOverRoute(), CommonXMLStructure::SumoBaseObject::clear(), GNENetHelper::AttributeCarriers::generateDemandElementID(), CommonXMLStructure::SumoBaseObject::getAllAttributes(), GNENet::getAttributeCarriers(), GNEAttributesCreator::getAttributesAndValues(), GNEDemandElementSelector::getCurrentDemandElement(), GNETagSelector::getCurrentTemplateAC(), GNEAttributeCarrier::getID(), GNEViewNet::getLastCreatedRoute(), GNEViewNet::getNet(), GNEPathCreator::getPath(), GNEFrame::getPredefinedTagsMML(), GNEPathCreator::getSelectedEdges(), GNEPathCreator::getSelectedJunctions(), GNEPathCreator::getSelectedTAZs(), CommonXMLStructure::SumoBaseObject::getStringAttribute(), GNETagProperties::getTag(), GNEAttributeCarrier::getTagProperty(), CommonXMLStructure::SumoBaseObject::getTimeAttribute(), GNE_ATTR_POISSON, GNE_TAG_FLOW_JUNCTIONS, GNE_TAG_FLOW_TAZS, GNE_TAG_FLOW_WITHROUTE, GNE_TAG_TRIP_JUNCTIONS, GNE_TAG_TRIP_TAZS, GNE_TAG_VEHICLE_WITHROUTE, CommonXMLStructure::SumoBaseObject::hasStringAttribute(), CommonXMLStructure::SumoBaseObject::hasTimeAttribute(), RGBColor::INVISIBLE, myPathCreator, myRouteHandler, myTypeSelector, myVehicleAttributes, myVehicleBaseObject, myVehicleTagSelector, GNEFrame::myViewNet, SUMOVehicleParserHelper::parseFlowAttributes(), RouteHandler::parseSumoBaseObject(), SUMOVehicleParserHelper::parseVehicleAttributes(), GNEAttributesCreator::refreshAttributesCreator(), CommonXMLStructure::SumoBaseObject::setTag(), CommonXMLStructure::SumoBaseObject::setVehicleParameter(), SUMO_ATTR_BEGIN, SUMO_ATTR_COLOR, SUMO_ATTR_CYCLETIME, SUMO_ATTR_DEPART, SUMO_ATTR_EDGES, SUMO_ATTR_FROM, SUMO_ATTR_FROM_JUNCTION, SUMO_ATTR_FROM_TAZ, SUMO_ATTR_ID, SUMO_ATTR_PERIOD, SUMO_ATTR_REPEAT, SUMO_ATTR_TO, SUMO_ATTR_TO_JUNCTION, SUMO_ATTR_TO_TAZ, SUMO_ATTR_TYPE, SUMO_ATTR_VIA, SUMO_TAG_FLOW, SUMO_TAG_ROUTE, SUMO_TAG_TRIP, SUMO_TAG_VEHICLE, SUMOTime_MAX, time2string(), and toString().

◆ 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::processDataSupermodeClick(), GNEInspectorFrame::processDemandSupermodeClick(), GNEInspectorFrame::processNetworkSupermodeClick(), 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::inspectMultisection().

Here is the caller graph for this function:

◆ getPathCreator()

GNEPathCreator * GNEVehicleFrame::getPathCreator ( ) const

get GNEPathCreator module

Definition at line 243 of file GNEVehicleFrame.cpp.

References myPathCreator.

Referenced by GNEViewNet::abortOperation(), GNEJunction::checkDrawFromContour(), GNEJunction::checkDrawToContour(), GNEViewNet::doPaintGL(), GNEViewNet::hotkeyBackSpace(), and GNEViewNet::hotkeyEnter().

Here is the caller graph for this function:

◆ 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(), buildVehicleOverRoute(), and 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:

◆ getTypeSelector()

GNEDemandElementSelector * GNEVehicleFrame::getTypeSelector ( ) const

getVehicle Type selectors

Definition at line 237 of file GNEVehicleFrame.cpp.

References myTypeSelector.

◆ getVehicleAttributes()

GNEAttributesCreator * GNEVehicleFrame::getVehicleAttributes ( ) const

get attributes creator

Definition at line 249 of file GNEVehicleFrame.cpp.

References myVehicleAttributes.

Referenced by GNEApplicationWindow::onCmdToggleTimeFormat().

Here is the caller graph for this function:

◆ getVehicleTagSelector()

GNETagSelector * GNEVehicleFrame::getVehicleTagSelector ( ) const

get vehicle tag selector (needed for transform vehicles)

Definition at line 231 of file GNEVehicleFrame.cpp.

References myVehicleTagSelector.

Referenced by GNEAdditional::checkDrawOverContour(), GNEDemandElement::checkDrawOverContour(), GNERouteHandler::transformToFlow(), GNERouteHandler::transformToFlowJunctions(), GNERouteHandler::transformToFlowTAZs(), and GNERouteHandler::transformToRouteFlow().

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

◆ hide()

void GNEVehicleFrame::hide ( )
virtual

hide Frame

Reimplemented from GNEFrame.

Definition at line 162 of file GNEVehicleFrame.cpp.

References GNENet::getAttributeCarriers(), GNENetHelper::AttributeCarriers::getEdges(), GNENetHelper::AttributeCarriers::getJunctions(), GNEViewNet::getNet(), GNEFrame::hide(), and GNEFrame::myViewNet.

Referenced by GNEVehicleFrame::HelpCreation::hideHelpCreation().

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 GNETLSEditorFrame, and GNEInspectorFrame.

Definition at line 298 of file GNEFrame.cpp.

Referenced by GNEOverlappedInspection::onCmdListItemSelected(), GNEOverlappedInspection::onCmdNextElement(), and GNEOverlappedInspection::onCmdPreviousElement().

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

void GNEVehicleFrame::show ( )
virtual

show Frame

Reimplemented from GNEFrame.

Definition at line 153 of file GNEVehicleFrame.cpp.

References myVehicleTagSelector, GNETagSelector::refreshTagSelector(), and GNEFrame::show().

Referenced by GNEVehicleFrame::HelpCreation::showHelpCreation(), GNEViewNet::updateControls(), and GNEViewNet::updateDemandModeSpecificControls().

Here is the caller graph for this function:

◆ tagSelected()

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

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

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

◆ myHelpCreation

HelpCreation* GNEVehicleFrame::myHelpCreation
private

Help creation.

Definition at line 143 of file GNEVehicleFrame.h.

Referenced by demandElementSelected(), GNEVehicleFrame(), and tagSelected().

◆ myPathCreator

GNEPathCreator* GNEVehicleFrame::myPathCreator
private

edge path creator (used for trips and flows)

Definition at line 140 of file GNEVehicleFrame.h.

Referenced by addVehicle(), createPath(), demandElementSelected(), getPathCreator(), GNEVehicleFrame(), and tagSelected().

◆ myPathLegend

GNEPathLegendModule* GNEVehicleFrame::myPathLegend
private

path legend modul

Definition at line 146 of file GNEVehicleFrame.h.

Referenced by demandElementSelected(), GNEVehicleFrame(), and tagSelected().

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

◆ myRouteHandler

GNERouteHandler GNEVehicleFrame::myRouteHandler
private

route handler

Definition at line 125 of file GNEVehicleFrame.h.

Referenced by buildVehicleOverRoute(), and createPath().

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

◆ myTypeSelector

GNEDemandElementSelector* GNEVehicleFrame::myTypeSelector
private

◆ myVehicleAttributes

GNEAttributesCreator* GNEVehicleFrame::myVehicleAttributes
private

◆ myVehicleBaseObject

CommonXMLStructure::SumoBaseObject* GNEVehicleFrame::myVehicleBaseObject
private

vehicle base object

Definition at line 128 of file GNEVehicleFrame.h.

Referenced by addVehicle(), buildVehicleOverRoute(), createPath(), and ~GNEVehicleFrame().

◆ myVehicleTagSelector

GNETagSelector* GNEVehicleFrame::myVehicleTagSelector
private

vehicle tag selector (used to select diffent kind of vehicles)

Definition at line 131 of file GNEVehicleFrame.h.

Referenced by addVehicle(), createPath(), demandElementSelected(), getVehicleTagSelector(), GNEVehicleFrame(), show(), and tagSelected().

◆ 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(), addVehicle(), GNEWireFrame::addWire(), GNEAdditionalFrame::buildAdditionalOverEdge(), GNEAdditionalFrame::buildAdditionalOverLane(), GNEAdditionalFrame::buildAdditionalOverView(), GNEConnectorFrame::buildConnection(), GNEContainerFrame::buildContainer(), GNETLSEditorFrame::buildInternalLanes(), GNEPersonFrame::buildPerson(), GNEProhibitionFrame::buildProhibition(), GNETAZRelDataFrame::buildTAZRelationData(), buildVehicleOverRoute(), GNEWireFrame::buildWireOverView(), GNETLSEditorFrame::cleanup(), GNEInspectorFrame::clearInspectedAC(), GNEAdditionalFrame::createBaseAdditionalObject(), GNEWireFrame::createBaseWireObject(), GNEEdgeRelDataFrame::createPath(), GNEContainerFrame::createPath(), GNEContainerPlanFrame::createPath(), GNEPersonFrame::createPath(), GNEPersonPlanFrame::createPath(), GNERouteFrame::createPath(), 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(), hide(), GNEFrame::hide(), GNEConnectorFrame::initTargets(), GNEInspectorFrame::inspectMultisection(), GNEInspectorFrame::inspectSingleElement(), GNEProhibitionFrame::Legend::Legend(), GNEInspectorFrame::onCmdGoBack(), GNEDeleteFrame::SubordinatedElements::openWarningDialog(), GNETLSEditorFrame::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: