Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEPlanCreator::PlanPath Class Reference

FOX-declaration. More...

#include <GNEPlanCreator.h>

Public Member Functions

const std::vector< GNEEdge * > & getSubPath () const
 get sub path
 
bool isConflictDisconnected () const
 check if current path is conflict due is disconnected
 
bool isConflictVClass () const
 check if current path is conflict due vClass
 
 PlanPath (GNEPathManager *pathManager, const SUMOVehicleClass vClass, GNEEdge *fromEdge, GNEEdge *toEdge)
 constructor for from-to edges
 
 PlanPath (GNEPathManager *pathManager, const SUMOVehicleClass vClass, GNEEdge *fromEdge, GNEJunction *toJunction)
 constructor for from edge and to junction
 
 PlanPath (GNEPathManager *pathManager, const SUMOVehicleClass vClass, GNEJunction *fromJunction, GNEEdge *toEdge)
 constructor for from junction and to edge
 
 PlanPath (GNEPathManager *pathManager, const SUMOVehicleClass vClass, GNEJunction *fromJunction, GNEJunction *toJunction)
 constructor for from-to edges
 

Protected Attributes

bool myConflictDisconnected
 flag to mark this path as disconnected
 
bool myConflictVClass
 flag to mark this path as conflicted
 
std::vector< GNEEdge * > mySubPath
 sub path
 

Private Member Functions

PlanPathoperator= (PlanPath *)=delete
 Invalidated assignment operator.
 
 PlanPath ()
 default constructor
 
 PlanPath (PlanPath *)=delete
 Invalidated copy constructor.
 

Detailed Description

FOX-declaration.

class for path

Definition at line 42 of file GNEPlanCreator.h.

Constructor & Destructor Documentation

◆ PlanPath() [1/6]

GNEPlanCreator::PlanPath::PlanPath ( GNEPathManager pathManager,
const SUMOVehicleClass  vClass,
GNEEdge fromEdge,
GNEEdge toEdge 
)

constructor for from-to edges

Definition at line 54 of file GNEPlanCreator.cpp.

References SVC_PEDESTRIAN.

◆ PlanPath() [2/6]

GNEPlanCreator::PlanPath::PlanPath ( GNEPathManager pathManager,
const SUMOVehicleClass  vClass,
GNEEdge fromEdge,
GNEJunction toJunction 
)

◆ PlanPath() [3/6]

GNEPlanCreator::PlanPath::PlanPath ( GNEPathManager pathManager,
const SUMOVehicleClass  vClass,
GNEJunction fromJunction,
GNEEdge toEdge 
)

◆ PlanPath() [4/6]

GNEPlanCreator::PlanPath::PlanPath ( GNEPathManager pathManager,
const SUMOVehicleClass  vClass,
GNEJunction fromJunction,
GNEJunction toJunction 
)

◆ PlanPath() [5/6]

GNEPlanCreator::PlanPath::PlanPath ( )
private

default constructor

Definition at line 145 of file GNEPlanCreator.cpp.

◆ PlanPath() [6/6]

GNEPlanCreator::PlanPath::PlanPath ( PlanPath )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ getSubPath()

const std::vector< GNEEdge * > & GNEPlanCreator::PlanPath::getSubPath ( ) const

get sub path

Definition at line 128 of file GNEPlanCreator.cpp.

Referenced by GNEPlanCreator::drawTemporalRoute().

Here is the caller graph for this function:

◆ isConflictDisconnected()

bool GNEPlanCreator::PlanPath::isConflictDisconnected ( ) const

check if current path is conflict due is disconnected

Definition at line 140 of file GNEPlanCreator.cpp.

Referenced by GNEPlanCreator::drawTemporalRoute().

Here is the caller graph for this function:

◆ isConflictVClass()

bool GNEPlanCreator::PlanPath::isConflictVClass ( ) const

check if current path is conflict due vClass

Definition at line 134 of file GNEPlanCreator.cpp.

Referenced by GNEPlanCreator::drawTemporalRoute().

Here is the caller graph for this function:

◆ operator=()

PlanPath & GNEPlanCreator::PlanPath::operator= ( PlanPath )
privatedelete

Invalidated assignment operator.

Field Documentation

◆ myConflictDisconnected

bool GNEPlanCreator::PlanPath::myConflictDisconnected
protected

flag to mark this path as disconnected

Definition at line 74 of file GNEPlanCreator.h.

Referenced by PlanPath(), PlanPath(), and PlanPath().

◆ myConflictVClass

bool GNEPlanCreator::PlanPath::myConflictVClass
protected

flag to mark this path as conflicted

Definition at line 71 of file GNEPlanCreator.h.

Referenced by PlanPath(), PlanPath(), and PlanPath().

◆ mySubPath

std::vector<GNEEdge*> GNEPlanCreator::PlanPath::mySubPath
protected

sub path

Definition at line 68 of file GNEPlanCreator.h.

Referenced by PlanPath(), PlanPath(), and PlanPath().


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