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

#include <GNEDemandElementPlan.h>

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

Static Public Member Functions

static std::pair< SumoXMLTag, GUIIcongetContainerStopTagIcon (const CommonXMLStructure::PlanParameters &planParameters)
 get the container stop tag and icon for the combination
 
static std::pair< SumoXMLTag, GUIIcongetPersonStopTagIcon (const CommonXMLStructure::PlanParameters &planParameters)
 get the person stop tag and icon for the combination
 
static std::pair< SumoXMLTag, GUIIcongetPersonTripTagIcon (const CommonXMLStructure::PlanParameters &planParameters)
 get the personTrip tag and icon for the combination
 
static std::pair< SumoXMLTag, GUIIcongetRideTagIcon (const CommonXMLStructure::PlanParameters &planParameters)
 get the ride tag and icon for the combination
 
static std::pair< SumoXMLTag, GUIIcongetTranshipTagIcon (const CommonXMLStructure::PlanParameters &planParameters)
 get the tranship tag and icon for the combination
 
static std::pair< SumoXMLTag, GUIIcongetTransportTagIcon (const CommonXMLStructure::PlanParameters &planParameters)
 get the transport tag and icon for the combination
 
static std::pair< SumoXMLTag, GUIIcongetWalkTagIcon (const CommonXMLStructure::PlanParameters &planParameters)
 get the walk tag and icon for the combination
 

Protected Member Functions

std::string getPersonPlanProblem () const
 get plan problem
 
GNEMoveOperationgetPlanMoveOperation ()
 get move operation
 
GUIGLObjectPopupMenugetPlanPopUpMenu (GUIMainWindow &app, GUISUMOAbstractView &parent)
 Returns an own popup-menu.
 
 GNEDemandElementPlan (GNEDemandElement *planElement, const double departPosition, const double arrivalPosition)
 constructor
 
GNEDemandElement::Problem isPlanPersonValid () const
 check if plan is valid
 
void writeLocationAttributes (OutputDevice &device) const
 write plan element common attributes
 
void writeOriginStop (OutputDevice &device) const
 write initial stop stage if plan starts at a stopping place
 
path functions
GNELanegetFirstPlanPathLane () const
 get first plan path lane
 
GNELanegetLastPlanPathLane () const
 get last plan path lane
 
void computePlanPathElement ()
 compute plan pathElement
 
geometry functions
void updatePlanGeometry ()
 update pre-computed geometry information
 
Boundary getPlanCenteringBoundary () const
 get plan centering boundary
 
void updatePlanCenteringBoundary (const bool updateGrid)
 update plan centering boundary
 
Position getPlanPositionInView () const
 Returns position of additional in view.
 
attribute functions
std::string getPlanAttribute (SumoXMLAttr key) const
 get plan attribute string
 
double getPlanAttributeDouble (SumoXMLAttr key) const
 get plan attribute double
 
Position getPlanAttributePosition (SumoXMLAttr key) const
 get plan attribute position
 
void setPlanAttribute (SumoXMLAttr key, const std::string &value, GNEUndoList *undoList)
 set plan attribute
 
bool isPlanValid (SumoXMLAttr key, const std::string &value)
 check if plan attribute is valid
 
bool isPlanAttributeEnabled (SumoXMLAttr key) const
 check if plan attribute is enabled
 
void setPlanAttribute (SumoXMLAttr key, const std::string &value)
 set plan attribute (intern)
 
std::string getPlanHierarchyName () const
 get plan Hierarchy Name (Used in AC Hierarchy)
 
drawing functions
bool checkDrawPersonPlan () const
 check if person plan can be drawn
 
bool checkDrawContainerPlan () const
 check if container plan can be drawn
 
void drawPlanGL (const bool drawPlan, const GUIVisualizationSettings &s, const RGBColor &planColor, const RGBColor &planSelectedColor) const
 draw plan
 
void drawPlanLanePartial (const bool drawPlan, const GUIVisualizationSettings &s, const GNEPathManager::Segment *segment, const double offsetFront, const double planWidth, const RGBColor &planColor, const RGBColor &planSelectedColor) const
 draw plan partial lane
 
void drawPlanJunctionPartial (const bool drawPlan, const GUIVisualizationSettings &s, const GNEPathManager::Segment *segment, const double offsetFront, const double planWidth, const RGBColor &planColor, const RGBColor &planSelectedColor) const
 draw plan partial junction
 

Protected Attributes

double myArrivalPosition
 arrival position (used in all plans over edges)
 
double myDepartPosition
 depart position (used in tranships)
 
Boundary myPlanBoundary
 plan boundary
 
GNEContour myPlanContour
 variable used for draw central contour
 
GNEContour myPlanContourEnd
 variable used for draw contour end
 

Private Member Functions

void drawEndPosition (const GUIVisualizationSettings &s, const GUIVisualizationSettings::Detail d, const double endPosRadius) const
 draw to arrow
 
void drawFromArrow (const GUIVisualizationSettings &s, const GNELane *lane, const GNEPathManager::Segment *segment) const
 draw from arrow
 
void drawToArrow (const GUIVisualizationSettings &s, const GNELane *lane, const GNEPathManager::Segment *segment) const
 draw to arrow
 
double getEndPosRadius (const GUIVisualizationSettings &s, const GNEPathManager::Segment *segment, const bool drawHalfWidth) const
 get end position radius
 
 GNEDemandElementPlan (const GNEDemandElementPlan &)=delete
 Invalidated copy constructor.
 
GNEDemandElementPlanoperator= (const GNEDemandElementPlan &)=delete
 Invalidated assignment operator.
 
bool replacePlanParent (const std::string &newParentID)
 replace plan parent
 

Private Attributes

GNEDemandElementmyPlanElement
 pointer to plan element
 

Static Private Attributes

static const double myArrivalPositionDiameter = SUMO_const_halfLaneWidth
 arrival position diameter
 

Detailed Description

Definition at line 44 of file GNEDemandElementPlan.h.

Constructor & Destructor Documentation

◆ GNEDemandElementPlan() [1/2]

GNEDemandElementPlan::GNEDemandElementPlan ( GNEDemandElement planElement,
const double  departPosition,
const double  arrivalPosition 
)
protected

constructor

Definition at line 938 of file GNEDemandElementPlan.cpp.

References updatePlanCenteringBoundary().

◆ GNEDemandElementPlan() [2/2]

GNEDemandElementPlan::GNEDemandElementPlan ( const GNEDemandElementPlan )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ checkDrawContainerPlan()

◆ checkDrawPersonPlan()

◆ computePlanPathElement()

◆ drawEndPosition()

◆ drawFromArrow()

void GNEDemandElementPlan::drawFromArrow ( const GUIVisualizationSettings s,
const GNELane lane,
const GNEPathManager::Segment segment 
) const
private

draw from arrow

Definition at line 2206 of file GNEDemandElementPlan.cpp.

References GUIGeometry::drawChildLine(), GNELane::getLaneShape(), GNEPathManager::Segment::getNextLane(), GNEAttributeCarrier::isAttributeCarrierSelected(), myPlanElement, GLHelper::popMatrix(), GLHelper::pushMatrix(), and RGBColor::RED.

Referenced by drawPlanLanePartial().

Here is the caller graph for this function:

◆ drawPlanGL()

void GNEDemandElementPlan::drawPlanGL ( const bool  drawPlan,
const GUIVisualizationSettings s,
const RGBColor planColor,
const RGBColor planSelectedColor 
) const
protected

draw plan

Definition at line 1872 of file GNEDemandElementPlan.cpp.

References GNEContour::calculateContourCircleShape(), GNEContour::calculateContourExtrudedShape(), GUIVisualizationSettings::checkDrawContainer(), GUIVisualizationSettings::checkDrawPerson(), GUIVisualizationSettings::dottedContourSettings, GUIVisualizationSettings::drawBoundaries, GLHelper::drawBoundary(), GNEContour::drawDottedContours(), GUIGeometry::drawGeometry(), GNEDemandElement::drawGL(), GLHelper::drawTriangleAtEnd(), GNEAttributeCarrier::drawUsingSelectColor(), GUIVisualizationSettings::getDetailLevel(), GNEViewNet::getInspectedAttributeCarriers(), GNEAttributeCarrier::getNet(), GNEHierarchicalElement::getParentDemandElements(), getPlanCenteringBoundary(), GNEDemandElement::getPreviousChildDemandElement(), GNEAttributeCarrier::getTagProperty(), GUIGlObject::getType(), GNENet::getViewNet(), GLO_TAZ, gViewObjectsHandler, GNEAttributeCarrier::isAttributeCarrierSelected(), GUIViewObjectsHandler::isObjectSelected(), GNEDemandElement::myDemandElementGeometry, myPlanContour, myPlanContourEnd, myPlanElement, GUIVisualizationWidthSettings::personTripWidth, GLHelper::popMatrix(), GLHelper::pushMatrix(), GUIVisualizationWidthSettings::rideWidth, GUIVisualizationDottedContourSettings::segmentWidth, GLHelper::setColor(), GUIVisualizationWidthSettings::walkWidth, and GUIVisualizationSettings::widthSettings.

Referenced by GNEPersonTrip::drawGL(), GNERide::drawGL(), GNETranship::drawGL(), GNETransport::drawGL(), and GNEWalk::drawGL().

Here is the caller graph for this function:

◆ drawPlanJunctionPartial()

void GNEDemandElementPlan::drawPlanJunctionPartial ( const bool  drawPlan,
const GUIVisualizationSettings s,
const GNEPathManager::Segment segment,
const double  offsetFront,
const double  planWidth,
const RGBColor planColor,
const RGBColor planSelectedColor 
) const
protected

draw plan partial junction

Definition at line 2044 of file GNEDemandElementPlan.cpp.

References GUIVisualizationSettings::addSize, GNEContour::calculateContourExtrudedShape(), GNEPathManager::PathDraw::checkDrawPathGeometry(), GUIVisualizationSettings::dottedContourSettings, GUIVisualizationSettings::drawBoundaries, GLHelper::drawBoundary(), GLHelper::drawBoxLines(), GNEContour::drawDottedContours(), GUIVisualizationSettings::drawForViewObjectsHandler, GUIGeometry::drawGeometry(), GNEDemandElement::drawGL(), GNEViewNetHelper::LockIcon::drawLockIcon(), GNEAttributeCarrier::drawUsingSelectColor(), GNELane2laneConnection::exist(), GNEPathManager::Segment::getContour(), GNENet::getDemandPathManager(), GUIVisualizationSettings::getDetailLevel(), GUIVisualizationSizeSettings::getExaggeration(), GNEPathManager::Segment::getLane(), GNELane::getLane2laneConnections(), GNELane2laneConnection::getLane2laneGeometry(), GNELane::getLaneShape(), GNEAttributeCarrier::getNet(), GNEPathManager::Segment::getNextLane(), GNEHierarchicalElement::getParentDemandElements(), GNEHierarchicalElement::getParentJunctions(), GNEPathManager::getPathDraw(), getPlanCenteringBoundary(), GNEDemandElement::getPositionInView(), GNEDemandElement::getPreviousChildDemandElement(), GNEPathManager::Segment::getPreviousLane(), GUIGeometry::getShape(), GNEAttributeCarrier::getTagProperty(), GUIGlObject::getType(), GNENet::getViewNet(), gViewObjectsHandler, GUIViewObjectsHandler::isObjectSelected(), myPlanElement, GLHelper::popMatrix(), GLHelper::pushMatrix(), RGBColor::RED, GUIVisualizationDottedContourSettings::segmentWidth, and GLHelper::setColor().

Referenced by GNEPersonTrip::drawJunctionPartialGL(), GNERide::drawJunctionPartialGL(), GNETranship::drawJunctionPartialGL(), GNETransport::drawJunctionPartialGL(), and GNEWalk::drawJunctionPartialGL().

Here is the caller graph for this function:

◆ drawPlanLanePartial()

void GNEDemandElementPlan::drawPlanLanePartial ( const bool  drawPlan,
const GUIVisualizationSettings s,
const GNEPathManager::Segment segment,
const double  offsetFront,
const double  planWidth,
const RGBColor planColor,
const RGBColor planSelectedColor 
) const
protected

draw plan partial lane

Definition at line 1936 of file GNEDemandElementPlan.cpp.

References GUIVisualizationSettings::addName, GUIVisualizationSettings::addSize, GNEContour::calculateContourCircleShape(), GNEContour::calculateContourExtrudedShape(), GUIVisualizationSettings::checkDrawContainer(), GNEPathManager::PathDraw::checkDrawPathGeometry(), GUIVisualizationSettings::checkDrawPerson(), GUIVisualizationSettings::dottedContourSettings, GUIVisualizationSettings::drawBoundaries, GLHelper::drawBoundary(), GNEContour::drawDottedContours(), drawFromArrow(), GUIGeometry::drawGeometry(), GNEDemandElement::drawGL(), GUIGlObject::drawName(), drawToArrow(), GNEAttributeCarrier::drawUsingSelectColor(), Boundary::getCenter(), GUIGlObject::getCenteringBoundary(), GNEPathManager::Segment::getContour(), GNENet::getDemandPathManager(), GUIVisualizationSettings::getDetailLevel(), getEndPosRadius(), GUIVisualizationSizeSettings::getExaggeration(), GNEPathManager::Segment::getLane(), GNELane::getLaneGeometry(), GNELane::getLaneShape(), GNEAttributeCarrier::getNet(), GNEHierarchicalElement::getParentDemandElements(), GNEPathManager::getPathDraw(), getPlanAttributeDouble(), getPlanAttributePosition(), getPlanCenteringBoundary(), GNEDemandElement::getPreviousChildDemandElement(), GUIGeometry::getShape(), GNEAttributeCarrier::getTagProperty(), GUIGlObject::getType(), GNENet::getViewNet(), GNE_ATTR_PLAN_GEOMETRY_ENDPOS, GNE_ATTR_PLAN_GEOMETRY_STARTPOS, gViewObjectsHandler, Position::INVALID, GNEAttributeCarrier::isAttributeCarrierSelected(), GNEPathManager::Segment::isFirstSegment(), GNEPathManager::Segment::isLastSegment(), GUIViewObjectsHandler::isObjectSelected(), myPlanContourEnd, myPlanElement, GLHelper::popMatrix(), GLHelper::pushMatrix(), GUIVisualizationSettings::scale, GUIVisualizationDottedContourSettings::segmentWidth, GLHelper::setColor(), and GUIGeometry::updateGeometry().

Referenced by GNEPersonTrip::drawLanePartialGL(), GNERide::drawLanePartialGL(), GNETranship::drawLanePartialGL(), GNETransport::drawLanePartialGL(), and GNEWalk::drawLanePartialGL().

Here is the caller graph for this function:

◆ drawToArrow()

void GNEDemandElementPlan::drawToArrow ( const GUIVisualizationSettings s,
const GNELane lane,
const GNEPathManager::Segment segment 
) const
private

draw to arrow

Definition at line 2226 of file GNEDemandElementPlan.cpp.

References GUIGeometry::drawChildLine(), GNELane::getLaneShape(), GNEPathManager::Segment::getPreviousLane(), GNEAttributeCarrier::isAttributeCarrierSelected(), myPlanElement, GLHelper::popMatrix(), GLHelper::pushMatrix(), and RGBColor::RED.

Referenced by drawPlanLanePartial().

Here is the caller graph for this function:

◆ getContainerStopTagIcon()

◆ getEndPosRadius()

double GNEDemandElementPlan::getEndPosRadius ( const GUIVisualizationSettings s,
const GNEPathManager::Segment segment,
const bool  drawHalfWidth 
) const
private

get end position radius

Definition at line 2193 of file GNEDemandElementPlan.cpp.

References GNEPathManager::Segment::isLastSegment(), GUIVisualizationSettings::laneWidthExaggeration, MIN2(), and myArrivalPositionDiameter.

Referenced by drawPlanLanePartial().

Here is the caller graph for this function:

◆ getFirstPlanPathLane()

GNELane * GNEDemandElementPlan::getFirstPlanPathLane ( ) const
protected

◆ getLastPlanPathLane()

GNELane * GNEDemandElementPlan::getLastPlanPathLane ( ) const
protected

◆ getPersonPlanProblem()

std::string GNEDemandElementPlan::getPersonPlanProblem ( ) const
protected

get plan problem

Definition at line 2160 of file GNEDemandElementPlan.cpp.

References GNEDemandElement::getLastPathLane(), GNEHierarchicalElement::getParentDemandElements(), myPlanElement, and TLF.

Referenced by GNEPersonTrip::getDemandElementProblem(), GNERide::getDemandElementProblem(), GNEStopPlan::getDemandElementProblem(), GNETranship::getDemandElementProblem(), GNETransport::getDemandElementProblem(), and GNEWalk::getDemandElementProblem().

Here is the caller graph for this function:

◆ getPersonStopTagIcon()

◆ getPersonTripTagIcon()

std::pair< SumoXMLTag, GUIIcon > GNEDemandElementPlan::getPersonTripTagIcon ( const CommonXMLStructure::PlanParameters planParameters)
static

get the personTrip tag and icon for the combination

Definition at line 217 of file GNEDemandElementPlan.cpp.

References EMPTY, CommonXMLStructure::PlanParameters::fromBusStop, CommonXMLStructure::PlanParameters::fromChargingStation, CommonXMLStructure::PlanParameters::fromContainerStop, CommonXMLStructure::PlanParameters::fromEdge, CommonXMLStructure::PlanParameters::fromJunction, CommonXMLStructure::PlanParameters::fromParkingArea, CommonXMLStructure::PlanParameters::fromTAZ, CommonXMLStructure::PlanParameters::fromTrainStop, GNE_TAG_PERSONTRIP_BUSSTOP_BUSSTOP, GNE_TAG_PERSONTRIP_BUSSTOP_CHARGINGSTATION, GNE_TAG_PERSONTRIP_BUSSTOP_CONTAINERSTOP, GNE_TAG_PERSONTRIP_BUSSTOP_EDGE, GNE_TAG_PERSONTRIP_BUSSTOP_JUNCTION, GNE_TAG_PERSONTRIP_BUSSTOP_PARKINGAREA, GNE_TAG_PERSONTRIP_BUSSTOP_TAZ, GNE_TAG_PERSONTRIP_BUSSTOP_TRAINSTOP, GNE_TAG_PERSONTRIP_CHARGINGSTATION_BUSSTOP, GNE_TAG_PERSONTRIP_CHARGINGSTATION_CHARGINGSTATION, GNE_TAG_PERSONTRIP_CHARGINGSTATION_CONTAINERSTOP, GNE_TAG_PERSONTRIP_CHARGINGSTATION_EDGE, GNE_TAG_PERSONTRIP_CHARGINGSTATION_JUNCTION, GNE_TAG_PERSONTRIP_CHARGINGSTATION_PARKINGAREA, GNE_TAG_PERSONTRIP_CHARGINGSTATION_TAZ, GNE_TAG_PERSONTRIP_CHARGINGSTATION_TRAINSTOP, GNE_TAG_PERSONTRIP_CONTAINERSTOP_BUSSTOP, GNE_TAG_PERSONTRIP_CONTAINERSTOP_CHARGINGSTATION, GNE_TAG_PERSONTRIP_CONTAINERSTOP_CONTAINERSTOP, GNE_TAG_PERSONTRIP_CONTAINERSTOP_EDGE, GNE_TAG_PERSONTRIP_CONTAINERSTOP_JUNCTION, GNE_TAG_PERSONTRIP_CONTAINERSTOP_PARKINGAREA, GNE_TAG_PERSONTRIP_CONTAINERSTOP_TAZ, GNE_TAG_PERSONTRIP_CONTAINERSTOP_TRAINSTOP, GNE_TAG_PERSONTRIP_EDGE_BUSSTOP, GNE_TAG_PERSONTRIP_EDGE_CHARGINGSTATION, GNE_TAG_PERSONTRIP_EDGE_CONTAINERSTOP, GNE_TAG_PERSONTRIP_EDGE_EDGE, GNE_TAG_PERSONTRIP_EDGE_JUNCTION, GNE_TAG_PERSONTRIP_EDGE_PARKINGAREA, GNE_TAG_PERSONTRIP_EDGE_TAZ, GNE_TAG_PERSONTRIP_EDGE_TRAINSTOP, GNE_TAG_PERSONTRIP_JUNCTION_BUSSTOP, GNE_TAG_PERSONTRIP_JUNCTION_CHARGINGSTATION, GNE_TAG_PERSONTRIP_JUNCTION_CONTAINERSTOP, GNE_TAG_PERSONTRIP_JUNCTION_EDGE, GNE_TAG_PERSONTRIP_JUNCTION_JUNCTION, GNE_TAG_PERSONTRIP_JUNCTION_PARKINGAREA, GNE_TAG_PERSONTRIP_JUNCTION_TAZ, GNE_TAG_PERSONTRIP_JUNCTION_TRAINSTOP, GNE_TAG_PERSONTRIP_PARKINGAREA_BUSSTOP, GNE_TAG_PERSONTRIP_PARKINGAREA_CHARGINGSTATION, GNE_TAG_PERSONTRIP_PARKINGAREA_CONTAINERSTOP, GNE_TAG_PERSONTRIP_PARKINGAREA_EDGE, GNE_TAG_PERSONTRIP_PARKINGAREA_JUNCTION, GNE_TAG_PERSONTRIP_PARKINGAREA_PARKINGAREA, GNE_TAG_PERSONTRIP_PARKINGAREA_TAZ, GNE_TAG_PERSONTRIP_PARKINGAREA_TRAINSTOP, GNE_TAG_PERSONTRIP_TAZ_BUSSTOP, GNE_TAG_PERSONTRIP_TAZ_CHARGINGSTATION, GNE_TAG_PERSONTRIP_TAZ_CONTAINERSTOP, GNE_TAG_PERSONTRIP_TAZ_EDGE, GNE_TAG_PERSONTRIP_TAZ_JUNCTION, GNE_TAG_PERSONTRIP_TAZ_PARKINGAREA, GNE_TAG_PERSONTRIP_TAZ_TAZ, GNE_TAG_PERSONTRIP_TAZ_TRAINSTOP, GNE_TAG_PERSONTRIP_TRAINSTOP_BUSSTOP, GNE_TAG_PERSONTRIP_TRAINSTOP_CHARGINGSTATION, GNE_TAG_PERSONTRIP_TRAINSTOP_CONTAINERSTOP, GNE_TAG_PERSONTRIP_TRAINSTOP_EDGE, GNE_TAG_PERSONTRIP_TRAINSTOP_JUNCTION, GNE_TAG_PERSONTRIP_TRAINSTOP_PARKINGAREA, GNE_TAG_PERSONTRIP_TRAINSTOP_TAZ, GNE_TAG_PERSONTRIP_TRAINSTOP_TRAINSTOP, CommonXMLStructure::PlanParameters::isSingleEdgePlan(), PERSONTRIP_BUSSTOP, PERSONTRIP_CHARGINGSTATION, PERSONTRIP_CONTAINERSTOP, PERSONTRIP_EDGE, PERSONTRIP_JUNCTION, PERSONTRIP_PARKINGAREA, PERSONTRIP_TAZ, PERSONTRIP_TRAINSTOP, SUMO_TAG_NOTHING, CommonXMLStructure::PlanParameters::toBusStop, CommonXMLStructure::PlanParameters::toChargingStation, CommonXMLStructure::PlanParameters::toContainerStop, CommonXMLStructure::PlanParameters::toEdge, CommonXMLStructure::PlanParameters::toJunction, CommonXMLStructure::PlanParameters::toParkingArea, CommonXMLStructure::PlanParameters::toTAZ, and CommonXMLStructure::PlanParameters::toTrainStop.

Referenced by GNERouteHandler::buildPersonTrip(), and GNEPlanCreator::planCanBeCreated().

Here is the caller graph for this function:

◆ getPlanAttribute()

◆ getPlanAttributeDouble()

◆ getPlanAttributePosition()

◆ getPlanCenteringBoundary()

Boundary GNEDemandElementPlan::getPlanCenteringBoundary ( ) const
protected

get plan centering boundary

Definition at line 1269 of file GNEDemandElementPlan.cpp.

References myPlanBoundary.

Referenced by drawPlanGL(), drawPlanJunctionPartial(), drawPlanLanePartial(), GNEPersonTrip::getCenteringBoundary(), GNERide::getCenteringBoundary(), GNEStopPlan::getCenteringBoundary(), GNETranship::getCenteringBoundary(), GNETransport::getCenteringBoundary(), and GNEWalk::getCenteringBoundary().

Here is the caller graph for this function:

◆ getPlanHierarchyName()

std::string GNEDemandElementPlan::getPlanHierarchyName ( ) const
protected

◆ getPlanMoveOperation()

◆ getPlanPopUpMenu()

◆ getPlanPositionInView()

◆ getRideTagIcon()

std::pair< SumoXMLTag, GUIIcon > GNEDemandElementPlan::getRideTagIcon ( const CommonXMLStructure::PlanParameters planParameters)
static

get the ride tag and icon for the combination

Definition at line 387 of file GNEDemandElementPlan.cpp.

References EMPTY, CommonXMLStructure::PlanParameters::fromBusStop, CommonXMLStructure::PlanParameters::fromChargingStation, CommonXMLStructure::PlanParameters::fromContainerStop, CommonXMLStructure::PlanParameters::fromEdge, CommonXMLStructure::PlanParameters::fromJunction, CommonXMLStructure::PlanParameters::fromParkingArea, CommonXMLStructure::PlanParameters::fromTAZ, CommonXMLStructure::PlanParameters::fromTrainStop, GNE_TAG_RIDE_BUSSTOP_BUSSTOP, GNE_TAG_RIDE_BUSSTOP_CHARGINGSTATION, GNE_TAG_RIDE_BUSSTOP_CONTAINERSTOP, GNE_TAG_RIDE_BUSSTOP_EDGE, GNE_TAG_RIDE_BUSSTOP_JUNCTION, GNE_TAG_RIDE_BUSSTOP_PARKINGAREA, GNE_TAG_RIDE_BUSSTOP_TAZ, GNE_TAG_RIDE_BUSSTOP_TRAINSTOP, GNE_TAG_RIDE_CHARGINGSTATION_BUSSTOP, GNE_TAG_RIDE_CHARGINGSTATION_CHARGINGSTATION, GNE_TAG_RIDE_CHARGINGSTATION_CONTAINERSTOP, GNE_TAG_RIDE_CHARGINGSTATION_EDGE, GNE_TAG_RIDE_CHARGINGSTATION_JUNCTION, GNE_TAG_RIDE_CHARGINGSTATION_PARKINGAREA, GNE_TAG_RIDE_CHARGINGSTATION_TAZ, GNE_TAG_RIDE_CHARGINGSTATION_TRAINSTOP, GNE_TAG_RIDE_CONTAINERSTOP_BUSSTOP, GNE_TAG_RIDE_CONTAINERSTOP_CHARGINGSTATION, GNE_TAG_RIDE_CONTAINERSTOP_CONTAINERSTOP, GNE_TAG_RIDE_CONTAINERSTOP_EDGE, GNE_TAG_RIDE_CONTAINERSTOP_JUNCTION, GNE_TAG_RIDE_CONTAINERSTOP_PARKINGAREA, GNE_TAG_RIDE_CONTAINERSTOP_TAZ, GNE_TAG_RIDE_CONTAINERSTOP_TRAINSTOP, GNE_TAG_RIDE_EDGE_BUSSTOP, GNE_TAG_RIDE_EDGE_CHARGINGSTATION, GNE_TAG_RIDE_EDGE_CONTAINERSTOP, GNE_TAG_RIDE_EDGE_EDGE, GNE_TAG_RIDE_EDGE_JUNCTION, GNE_TAG_RIDE_EDGE_PARKINGAREA, GNE_TAG_RIDE_EDGE_TAZ, GNE_TAG_RIDE_EDGE_TRAINSTOP, GNE_TAG_RIDE_JUNCTION_BUSSTOP, GNE_TAG_RIDE_JUNCTION_CHARGINGSTATION, GNE_TAG_RIDE_JUNCTION_CONTAINERSTOP, GNE_TAG_RIDE_JUNCTION_EDGE, GNE_TAG_RIDE_JUNCTION_JUNCTION, GNE_TAG_RIDE_JUNCTION_PARKINGAREA, GNE_TAG_RIDE_JUNCTION_TAZ, GNE_TAG_RIDE_JUNCTION_TRAINSTOP, GNE_TAG_RIDE_PARKINGAREA_BUSSTOP, GNE_TAG_RIDE_PARKINGAREA_CHARGINGSTATION, GNE_TAG_RIDE_PARKINGAREA_CONTAINERSTOP, GNE_TAG_RIDE_PARKINGAREA_EDGE, GNE_TAG_RIDE_PARKINGAREA_JUNCTION, GNE_TAG_RIDE_PARKINGAREA_PARKINGAREA, GNE_TAG_RIDE_PARKINGAREA_TAZ, GNE_TAG_RIDE_PARKINGAREA_TRAINSTOP, GNE_TAG_RIDE_TAZ_BUSSTOP, GNE_TAG_RIDE_TAZ_CHARGINGSTATION, GNE_TAG_RIDE_TAZ_CONTAINERSTOP, GNE_TAG_RIDE_TAZ_EDGE, GNE_TAG_RIDE_TAZ_JUNCTION, GNE_TAG_RIDE_TAZ_PARKINGAREA, GNE_TAG_RIDE_TAZ_TAZ, GNE_TAG_RIDE_TAZ_TRAINSTOP, GNE_TAG_RIDE_TRAINSTOP_BUSSTOP, GNE_TAG_RIDE_TRAINSTOP_CHARGINGSTATION, GNE_TAG_RIDE_TRAINSTOP_CONTAINERSTOP, GNE_TAG_RIDE_TRAINSTOP_EDGE, GNE_TAG_RIDE_TRAINSTOP_JUNCTION, GNE_TAG_RIDE_TRAINSTOP_PARKINGAREA, GNE_TAG_RIDE_TRAINSTOP_TAZ, GNE_TAG_RIDE_TRAINSTOP_TRAINSTOP, CommonXMLStructure::PlanParameters::isSingleEdgePlan(), RIDE_BUSSTOP, RIDE_CHARGINGSTATION, RIDE_CONTAINERSTOP, RIDE_EDGE, RIDE_JUNCTION, RIDE_PARKINGAREA, RIDE_TAZ, RIDE_TRAINSTOP, SUMO_TAG_NOTHING, CommonXMLStructure::PlanParameters::toBusStop, CommonXMLStructure::PlanParameters::toChargingStation, CommonXMLStructure::PlanParameters::toContainerStop, CommonXMLStructure::PlanParameters::toEdge, CommonXMLStructure::PlanParameters::toJunction, CommonXMLStructure::PlanParameters::toParkingArea, CommonXMLStructure::PlanParameters::toTAZ, and CommonXMLStructure::PlanParameters::toTrainStop.

Referenced by GNERouteHandler::buildRide(), and GNEPlanCreator::planCanBeCreated().

Here is the caller graph for this function:

◆ getTranshipTagIcon()

std::pair< SumoXMLTag, GUIIcon > GNEDemandElementPlan::getTranshipTagIcon ( const CommonXMLStructure::PlanParameters planParameters)
static

get the tranship tag and icon for the combination

Definition at line 727 of file GNEDemandElementPlan.cpp.

References CommonXMLStructure::PlanParameters::consecutiveEdges, EMPTY, CommonXMLStructure::PlanParameters::fromBusStop, CommonXMLStructure::PlanParameters::fromChargingStation, CommonXMLStructure::PlanParameters::fromContainerStop, CommonXMLStructure::PlanParameters::fromEdge, CommonXMLStructure::PlanParameters::fromJunction, CommonXMLStructure::PlanParameters::fromParkingArea, CommonXMLStructure::PlanParameters::fromTAZ, CommonXMLStructure::PlanParameters::fromTrainStop, GNE_TAG_TRANSHIP_BUSSTOP_BUSSTOP, GNE_TAG_TRANSHIP_BUSSTOP_CHARGINGSTATION, GNE_TAG_TRANSHIP_BUSSTOP_CONTAINERSTOP, GNE_TAG_TRANSHIP_BUSSTOP_EDGE, GNE_TAG_TRANSHIP_BUSSTOP_JUNCTION, GNE_TAG_TRANSHIP_BUSSTOP_PARKINGAREA, GNE_TAG_TRANSHIP_BUSSTOP_TAZ, GNE_TAG_TRANSHIP_BUSSTOP_TRAINSTOP, GNE_TAG_TRANSHIP_CHARGINGSTATION_BUSSTOP, GNE_TAG_TRANSHIP_CHARGINGSTATION_CHARGINGSTATION, GNE_TAG_TRANSHIP_CHARGINGSTATION_CONTAINERSTOP, GNE_TAG_TRANSHIP_CHARGINGSTATION_EDGE, GNE_TAG_TRANSHIP_CHARGINGSTATION_JUNCTION, GNE_TAG_TRANSHIP_CHARGINGSTATION_PARKINGAREA, GNE_TAG_TRANSHIP_CHARGINGSTATION_TAZ, GNE_TAG_TRANSHIP_CHARGINGSTATION_TRAINSTOP, GNE_TAG_TRANSHIP_CONTAINERSTOP_BUSSTOP, GNE_TAG_TRANSHIP_CONTAINERSTOP_CHARGINGSTATION, GNE_TAG_TRANSHIP_CONTAINERSTOP_CONTAINERSTOP, GNE_TAG_TRANSHIP_CONTAINERSTOP_EDGE, GNE_TAG_TRANSHIP_CONTAINERSTOP_JUNCTION, GNE_TAG_TRANSHIP_CONTAINERSTOP_PARKINGAREA, GNE_TAG_TRANSHIP_CONTAINERSTOP_TAZ, GNE_TAG_TRANSHIP_CONTAINERSTOP_TRAINSTOP, GNE_TAG_TRANSHIP_EDGE_BUSSTOP, GNE_TAG_TRANSHIP_EDGE_CHARGINGSTATION, GNE_TAG_TRANSHIP_EDGE_CONTAINERSTOP, GNE_TAG_TRANSHIP_EDGE_EDGE, GNE_TAG_TRANSHIP_EDGE_JUNCTION, GNE_TAG_TRANSHIP_EDGE_PARKINGAREA, GNE_TAG_TRANSHIP_EDGE_TAZ, GNE_TAG_TRANSHIP_EDGE_TRAINSTOP, GNE_TAG_TRANSHIP_EDGES, GNE_TAG_TRANSHIP_JUNCTION_BUSSTOP, GNE_TAG_TRANSHIP_JUNCTION_CHARGINGSTATION, GNE_TAG_TRANSHIP_JUNCTION_CONTAINERSTOP, GNE_TAG_TRANSHIP_JUNCTION_EDGE, GNE_TAG_TRANSHIP_JUNCTION_JUNCTION, GNE_TAG_TRANSHIP_JUNCTION_PARKINGAREA, GNE_TAG_TRANSHIP_JUNCTION_TAZ, GNE_TAG_TRANSHIP_JUNCTION_TRAINSTOP, GNE_TAG_TRANSHIP_PARKINGAREA_BUSSTOP, GNE_TAG_TRANSHIP_PARKINGAREA_CHARGINGSTATION, GNE_TAG_TRANSHIP_PARKINGAREA_CONTAINERSTOP, GNE_TAG_TRANSHIP_PARKINGAREA_EDGE, GNE_TAG_TRANSHIP_PARKINGAREA_JUNCTION, GNE_TAG_TRANSHIP_PARKINGAREA_PARKINGAREA, GNE_TAG_TRANSHIP_PARKINGAREA_TAZ, GNE_TAG_TRANSHIP_PARKINGAREA_TRAINSTOP, GNE_TAG_TRANSHIP_TAZ_BUSSTOP, GNE_TAG_TRANSHIP_TAZ_CHARGINGSTATION, GNE_TAG_TRANSHIP_TAZ_CONTAINERSTOP, GNE_TAG_TRANSHIP_TAZ_EDGE, GNE_TAG_TRANSHIP_TAZ_JUNCTION, GNE_TAG_TRANSHIP_TAZ_PARKINGAREA, GNE_TAG_TRANSHIP_TAZ_TAZ, GNE_TAG_TRANSHIP_TAZ_TRAINSTOP, GNE_TAG_TRANSHIP_TRAINSTOP_BUSSTOP, GNE_TAG_TRANSHIP_TRAINSTOP_CHARGINGSTATION, GNE_TAG_TRANSHIP_TRAINSTOP_CONTAINERSTOP, GNE_TAG_TRANSHIP_TRAINSTOP_EDGE, GNE_TAG_TRANSHIP_TRAINSTOP_JUNCTION, GNE_TAG_TRANSHIP_TRAINSTOP_PARKINGAREA, GNE_TAG_TRANSHIP_TRAINSTOP_TAZ, GNE_TAG_TRANSHIP_TRAINSTOP_TRAINSTOP, CommonXMLStructure::PlanParameters::isSingleEdgePlan(), SUMO_TAG_NOTHING, CommonXMLStructure::PlanParameters::toBusStop, CommonXMLStructure::PlanParameters::toChargingStation, CommonXMLStructure::PlanParameters::toContainerStop, CommonXMLStructure::PlanParameters::toEdge, CommonXMLStructure::PlanParameters::toJunction, CommonXMLStructure::PlanParameters::toParkingArea, CommonXMLStructure::PlanParameters::toTAZ, CommonXMLStructure::PlanParameters::toTrainStop, TRANSHIP_BUSSTOP, TRANSHIP_CHARGINGSTATION, TRANSHIP_CONTAINERSTOP, TRANSHIP_EDGE, TRANSHIP_EDGES, TRANSHIP_JUNCTION, TRANSHIP_PARKINGAREA, TRANSHIP_TAZ, and TRANSHIP_TRAINSTOP.

Referenced by GNERouteHandler::buildTranship(), and GNEPlanCreator::planCanBeCreated().

Here is the caller graph for this function:

◆ getTransportTagIcon()

std::pair< SumoXMLTag, GUIIcon > GNEDemandElementPlan::getTransportTagIcon ( const CommonXMLStructure::PlanParameters planParameters)
static

get the transport tag and icon for the combination

Definition at line 557 of file GNEDemandElementPlan.cpp.

References EMPTY, CommonXMLStructure::PlanParameters::fromBusStop, CommonXMLStructure::PlanParameters::fromChargingStation, CommonXMLStructure::PlanParameters::fromContainerStop, CommonXMLStructure::PlanParameters::fromEdge, CommonXMLStructure::PlanParameters::fromJunction, CommonXMLStructure::PlanParameters::fromParkingArea, CommonXMLStructure::PlanParameters::fromTAZ, CommonXMLStructure::PlanParameters::fromTrainStop, GNE_TAG_TRANSPORT_BUSSTOP_BUSSTOP, GNE_TAG_TRANSPORT_BUSSTOP_CHARGINGSTATION, GNE_TAG_TRANSPORT_BUSSTOP_CONTAINERSTOP, GNE_TAG_TRANSPORT_BUSSTOP_EDGE, GNE_TAG_TRANSPORT_BUSSTOP_JUNCTION, GNE_TAG_TRANSPORT_BUSSTOP_PARKINGAREA, GNE_TAG_TRANSPORT_BUSSTOP_TAZ, GNE_TAG_TRANSPORT_BUSSTOP_TRAINSTOP, GNE_TAG_TRANSPORT_CHARGINGSTATION_BUSSTOP, GNE_TAG_TRANSPORT_CHARGINGSTATION_CHARGINGSTATION, GNE_TAG_TRANSPORT_CHARGINGSTATION_CONTAINERSTOP, GNE_TAG_TRANSPORT_CHARGINGSTATION_EDGE, GNE_TAG_TRANSPORT_CHARGINGSTATION_JUNCTION, GNE_TAG_TRANSPORT_CHARGINGSTATION_PARKINGAREA, GNE_TAG_TRANSPORT_CHARGINGSTATION_TAZ, GNE_TAG_TRANSPORT_CHARGINGSTATION_TRAINSTOP, GNE_TAG_TRANSPORT_CONTAINERSTOP_BUSSTOP, GNE_TAG_TRANSPORT_CONTAINERSTOP_CHARGINGSTATION, GNE_TAG_TRANSPORT_CONTAINERSTOP_CONTAINERSTOP, GNE_TAG_TRANSPORT_CONTAINERSTOP_EDGE, GNE_TAG_TRANSPORT_CONTAINERSTOP_JUNCTION, GNE_TAG_TRANSPORT_CONTAINERSTOP_PARKINGAREA, GNE_TAG_TRANSPORT_CONTAINERSTOP_TAZ, GNE_TAG_TRANSPORT_CONTAINERSTOP_TRAINSTOP, GNE_TAG_TRANSPORT_EDGE_BUSSTOP, GNE_TAG_TRANSPORT_EDGE_CHARGINGSTATION, GNE_TAG_TRANSPORT_EDGE_CONTAINERSTOP, GNE_TAG_TRANSPORT_EDGE_EDGE, GNE_TAG_TRANSPORT_EDGE_JUNCTION, GNE_TAG_TRANSPORT_EDGE_PARKINGAREA, GNE_TAG_TRANSPORT_EDGE_TAZ, GNE_TAG_TRANSPORT_EDGE_TRAINSTOP, GNE_TAG_TRANSPORT_JUNCTION_BUSSTOP, GNE_TAG_TRANSPORT_JUNCTION_CHARGINGSTATION, GNE_TAG_TRANSPORT_JUNCTION_CONTAINERSTOP, GNE_TAG_TRANSPORT_JUNCTION_EDGE, GNE_TAG_TRANSPORT_JUNCTION_JUNCTION, GNE_TAG_TRANSPORT_JUNCTION_PARKINGAREA, GNE_TAG_TRANSPORT_JUNCTION_TAZ, GNE_TAG_TRANSPORT_JUNCTION_TRAINSTOP, GNE_TAG_TRANSPORT_PARKINGAREA_BUSSTOP, GNE_TAG_TRANSPORT_PARKINGAREA_CHARGINGSTATION, GNE_TAG_TRANSPORT_PARKINGAREA_CONTAINERSTOP, GNE_TAG_TRANSPORT_PARKINGAREA_EDGE, GNE_TAG_TRANSPORT_PARKINGAREA_JUNCTION, GNE_TAG_TRANSPORT_PARKINGAREA_PARKINGAREA, GNE_TAG_TRANSPORT_PARKINGAREA_TAZ, GNE_TAG_TRANSPORT_PARKINGAREA_TRAINSTOP, GNE_TAG_TRANSPORT_TAZ_BUSSTOP, GNE_TAG_TRANSPORT_TAZ_CHARGINGSTATION, GNE_TAG_TRANSPORT_TAZ_CONTAINERSTOP, GNE_TAG_TRANSPORT_TAZ_EDGE, GNE_TAG_TRANSPORT_TAZ_JUNCTION, GNE_TAG_TRANSPORT_TAZ_PARKINGAREA, GNE_TAG_TRANSPORT_TAZ_TAZ, GNE_TAG_TRANSPORT_TAZ_TRAINSTOP, GNE_TAG_TRANSPORT_TRAINSTOP_BUSSTOP, GNE_TAG_TRANSPORT_TRAINSTOP_CHARGINGSTATION, GNE_TAG_TRANSPORT_TRAINSTOP_CONTAINERSTOP, GNE_TAG_TRANSPORT_TRAINSTOP_EDGE, GNE_TAG_TRANSPORT_TRAINSTOP_JUNCTION, GNE_TAG_TRANSPORT_TRAINSTOP_PARKINGAREA, GNE_TAG_TRANSPORT_TRAINSTOP_TAZ, GNE_TAG_TRANSPORT_TRAINSTOP_TRAINSTOP, CommonXMLStructure::PlanParameters::isSingleEdgePlan(), SUMO_TAG_NOTHING, CommonXMLStructure::PlanParameters::toBusStop, CommonXMLStructure::PlanParameters::toChargingStation, CommonXMLStructure::PlanParameters::toContainerStop, CommonXMLStructure::PlanParameters::toEdge, CommonXMLStructure::PlanParameters::toJunction, CommonXMLStructure::PlanParameters::toParkingArea, CommonXMLStructure::PlanParameters::toTAZ, CommonXMLStructure::PlanParameters::toTrainStop, TRANSPORT_BUSSTOP, TRANSPORT_CHARGINGSTATION, TRANSPORT_CONTAINERSTOP, TRANSPORT_EDGE, TRANSPORT_JUNCTION, TRANSPORT_PARKINGAREA, TRANSPORT_TAZ, and TRANSPORT_TRAINSTOP.

Referenced by GNERouteHandler::buildTransport(), and GNEPlanCreator::planCanBeCreated().

Here is the caller graph for this function:

◆ getWalkTagIcon()

std::pair< SumoXMLTag, GUIIcon > GNEDemandElementPlan::getWalkTagIcon ( const CommonXMLStructure::PlanParameters planParameters)
static

get the walk tag and icon for the combination

Definition at line 43 of file GNEDemandElementPlan.cpp.

References CommonXMLStructure::PlanParameters::consecutiveEdges, EMPTY, CommonXMLStructure::PlanParameters::fromBusStop, CommonXMLStructure::PlanParameters::fromChargingStation, CommonXMLStructure::PlanParameters::fromContainerStop, CommonXMLStructure::PlanParameters::fromEdge, CommonXMLStructure::PlanParameters::fromJunction, CommonXMLStructure::PlanParameters::fromParkingArea, CommonXMLStructure::PlanParameters::fromTAZ, CommonXMLStructure::PlanParameters::fromTrainStop, GNE_TAG_WALK_BUSSTOP_BUSSTOP, GNE_TAG_WALK_BUSSTOP_CHARGINGSTATION, GNE_TAG_WALK_BUSSTOP_CONTAINERSTOP, GNE_TAG_WALK_BUSSTOP_EDGE, GNE_TAG_WALK_BUSSTOP_JUNCTION, GNE_TAG_WALK_BUSSTOP_PARKINGAREA, GNE_TAG_WALK_BUSSTOP_TAZ, GNE_TAG_WALK_BUSSTOP_TRAINSTOP, GNE_TAG_WALK_CHARGINGSTATION_BUSSTOP, GNE_TAG_WALK_CHARGINGSTATION_CHARGINGSTATION, GNE_TAG_WALK_CHARGINGSTATION_CONTAINERSTOP, GNE_TAG_WALK_CHARGINGSTATION_EDGE, GNE_TAG_WALK_CHARGINGSTATION_JUNCTION, GNE_TAG_WALK_CHARGINGSTATION_PARKINGAREA, GNE_TAG_WALK_CHARGINGSTATION_TAZ, GNE_TAG_WALK_CHARGINGSTATION_TRAINSTOP, GNE_TAG_WALK_CONTAINERSTOP_BUSSTOP, GNE_TAG_WALK_CONTAINERSTOP_CHARGINGSTATION, GNE_TAG_WALK_CONTAINERSTOP_CONTAINERSTOP, GNE_TAG_WALK_CONTAINERSTOP_EDGE, GNE_TAG_WALK_CONTAINERSTOP_JUNCTION, GNE_TAG_WALK_CONTAINERSTOP_PARKINGAREA, GNE_TAG_WALK_CONTAINERSTOP_TAZ, GNE_TAG_WALK_CONTAINERSTOP_TRAINSTOP, GNE_TAG_WALK_EDGE_BUSSTOP, GNE_TAG_WALK_EDGE_CHARGINGSTATION, GNE_TAG_WALK_EDGE_CONTAINERSTOP, GNE_TAG_WALK_EDGE_EDGE, GNE_TAG_WALK_EDGE_JUNCTION, GNE_TAG_WALK_EDGE_PARKINGAREA, GNE_TAG_WALK_EDGE_TAZ, GNE_TAG_WALK_EDGE_TRAINSTOP, GNE_TAG_WALK_EDGES, GNE_TAG_WALK_JUNCTION_BUSSTOP, GNE_TAG_WALK_JUNCTION_CHARGINGSTATION, GNE_TAG_WALK_JUNCTION_CONTAINERSTOP, GNE_TAG_WALK_JUNCTION_EDGE, GNE_TAG_WALK_JUNCTION_JUNCTION, GNE_TAG_WALK_JUNCTION_PARKINGAREA, GNE_TAG_WALK_JUNCTION_TAZ, GNE_TAG_WALK_JUNCTION_TRAINSTOP, GNE_TAG_WALK_PARKINGAREA_BUSSTOP, GNE_TAG_WALK_PARKINGAREA_CHARGINGSTATION, GNE_TAG_WALK_PARKINGAREA_CONTAINERSTOP, GNE_TAG_WALK_PARKINGAREA_EDGE, GNE_TAG_WALK_PARKINGAREA_JUNCTION, GNE_TAG_WALK_PARKINGAREA_PARKINGAREA, GNE_TAG_WALK_PARKINGAREA_TAZ, GNE_TAG_WALK_PARKINGAREA_TRAINSTOP, GNE_TAG_WALK_ROUTE, GNE_TAG_WALK_TAZ_BUSSTOP, GNE_TAG_WALK_TAZ_CHARGINGSTATION, GNE_TAG_WALK_TAZ_CONTAINERSTOP, GNE_TAG_WALK_TAZ_EDGE, GNE_TAG_WALK_TAZ_JUNCTION, GNE_TAG_WALK_TAZ_PARKINGAREA, GNE_TAG_WALK_TAZ_TAZ, GNE_TAG_WALK_TAZ_TRAINSTOP, GNE_TAG_WALK_TRAINSTOP_BUSSTOP, GNE_TAG_WALK_TRAINSTOP_CHARGINGSTATION, GNE_TAG_WALK_TRAINSTOP_CONTAINERSTOP, GNE_TAG_WALK_TRAINSTOP_EDGE, GNE_TAG_WALK_TRAINSTOP_JUNCTION, GNE_TAG_WALK_TRAINSTOP_PARKINGAREA, GNE_TAG_WALK_TRAINSTOP_TAZ, GNE_TAG_WALK_TRAINSTOP_TRAINSTOP, CommonXMLStructure::PlanParameters::isSingleEdgePlan(), SUMO_TAG_NOTHING, CommonXMLStructure::PlanParameters::toBusStop, CommonXMLStructure::PlanParameters::toChargingStation, CommonXMLStructure::PlanParameters::toContainerStop, CommonXMLStructure::PlanParameters::toEdge, CommonXMLStructure::PlanParameters::toJunction, CommonXMLStructure::PlanParameters::toParkingArea, CommonXMLStructure::PlanParameters::toRoute, CommonXMLStructure::PlanParameters::toTAZ, CommonXMLStructure::PlanParameters::toTrainStop, WALK_BUSSTOP, WALK_CHARGINGSTATION, WALK_CONTAINERSTOP, WALK_EDGE, WALK_EDGES, WALK_JUNCTION, WALK_PARKINGAREA, WALK_ROUTE, WALK_TAZ, and WALK_TRAINSTOP.

Referenced by GNERouteHandler::buildWalk(), and GNEPlanCreator::planCanBeCreated().

Here is the caller graph for this function:

◆ isPlanAttributeEnabled()

◆ isPlanPersonValid()

GNEDemandElement::Problem GNEDemandElementPlan::isPlanPersonValid ( ) const
protected

◆ isPlanValid()

bool GNEDemandElementPlan::isPlanValid ( SumoXMLAttr  key,
const std::string &  value 
)
protected

check if plan attribute is valid

Definition at line 1615 of file GNEDemandElementPlan.cpp.

References GNEAttributeCarrier::getTagStr(), GNE_ATTR_PARENT, GNE_ATTR_SELECTED, myPlanElement, SUMO_ATTR_ARRIVALPOS, SUMO_ATTR_DEPARTPOS, SUMO_ATTR_ENDPOS, and toString().

Referenced by GNEPersonTrip::isValid(), GNERide::isValid(), GNEStopPlan::isValid(), GNETranship::isValid(), GNETransport::isValid(), and GNEWalk::isValid().

Here is the caller graph for this function:

◆ operator=()

GNEDemandElementPlan & GNEDemandElementPlan::operator= ( const GNEDemandElementPlan )
privatedelete

Invalidated assignment operator.

◆ replacePlanParent()

bool GNEDemandElementPlan::replacePlanParent ( const std::string &  newParentID)
private

replace plan parent

Definition at line 2263 of file GNEDemandElementPlan.cpp.

References GNENet::getAttributeCarriers(), GNEAttributeCarrier::getNet(), GNETagProperties::isPlanPerson(), myPlanElement, GNEAttributeCarrier::myTagProperty, GNEDemandElement::replaceDemandElementParent(), GNENetHelper::AttributeCarriers::retrieveDemandElement(), SUMO_TAG_CONTAINER, SUMO_TAG_CONTAINERFLOW, SUMO_TAG_PERSON, and SUMO_TAG_PERSONFLOW.

Referenced by setPlanAttribute().

Here is the caller graph for this function:

◆ setPlanAttribute() [1/2]

◆ setPlanAttribute() [2/2]

void GNEDemandElementPlan::setPlanAttribute ( SumoXMLAttr  key,
const std::string &  value,
GNEUndoList undoList 
)
protected

◆ updatePlanCenteringBoundary()

◆ updatePlanGeometry()

◆ writeLocationAttributes()

◆ writeOriginStop()

void GNEDemandElementPlan::writeOriginStop ( OutputDevice device) const
protected

Field Documentation

◆ myArrivalPosition

◆ myArrivalPositionDiameter

const double GNEDemandElementPlan::myArrivalPositionDiameter = SUMO_const_halfLaneWidth
staticprivate

arrival position diameter

Definition at line 209 of file GNEDemandElementPlan.h.

Referenced by getEndPosRadius(), and getPlanMoveOperation().

◆ myDepartPosition

double GNEDemandElementPlan::myDepartPosition
protected

depart position (used in tranships)

Definition at line 184 of file GNEDemandElementPlan.h.

Referenced by getPlanAttribute(), getPlanAttributeDouble(), setPlanAttribute(), and writeLocationAttributes().

◆ myPlanBoundary

Boundary GNEDemandElementPlan::myPlanBoundary
protected

plan boundary

Definition at line 76 of file GNEDemandElementPlan.h.

Referenced by getPlanCenteringBoundary(), and updatePlanCenteringBoundary().

◆ myPlanContour

GNEContour GNEDemandElementPlan::myPlanContour
protected

variable used for draw central contour

Definition at line 70 of file GNEDemandElementPlan.h.

Referenced by drawPlanGL().

◆ myPlanContourEnd

GNEContour GNEDemandElementPlan::myPlanContourEnd
protected

variable used for draw contour end

Definition at line 73 of file GNEDemandElementPlan.h.

Referenced by drawPlanGL(), and drawPlanLanePartial().

◆ myPlanElement


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