Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
GNEPathCreator::Path Class Reference

FOX-declaration. More...

#include <GNEPathCreator.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
 Path (const SUMOVehicleClass vClass, GNEEdge *edge)
 constructor for single edge
 Path (GNEPathManager *pathManager, const SUMOVehicleClass vClass, GNEEdge *edgeFrom, GNEEdge *edgeTo)
 constructor for two edges
 Path (GNEPathManager *pathManager, const SUMOVehicleClass vClass, GNEJunction *junctionFrom, GNEJunction *junctionTo)
 constructor for two junctions

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

Pathoperator= (Path *)=delete
 Invalidated assignment operator.
 Path ()
 default constructor
 Path (Path *)=delete
 Invalidated copy constructor.

Detailed Description

FOX-declaration.

class for path

Definition at line 49 of file GNEPathCreator.h.

Constructor & Destructor Documentation

◆ Path() [1/5]

GNEPathCreator::Path::Path ( const SUMOVehicleClass vClass,
GNEEdge * edge )

constructor for single edge

Definition at line 55 of file GNEPathCreator.cpp.

References GNEPathCreator::GNEPathCreator(), mySubPath, and Path().

Referenced by operator=(), Path(), and Path().

Here is the caller graph for this function:

◆ Path() [2/5]

GNEPathCreator::Path::Path ( GNEPathManager * pathManager,
const SUMOVehicleClass vClass,
GNEEdge * edgeFrom,
GNEEdge * edgeTo )

constructor for two edges

Definition at line 66 of file GNEPathCreator.cpp.

References GNEPathManager::getPathCalculator(), myConflictDisconnected, myConflictVClass, and mySubPath.

◆ Path() [3/5]

GNEPathCreator::Path::Path ( GNEPathManager * pathManager,
const SUMOVehicleClass vClass,
GNEJunction * junctionFrom,
GNEJunction * junctionTo )

constructor for two junctions

Definition at line 84 of file GNEPathCreator.cpp.

References GNEPathManager::getPathCalculator(), myConflictDisconnected, myConflictVClass, and mySubPath.

◆ Path() [4/5]

GNEPathCreator::Path::Path ( )
private

default constructor

Definition at line 119 of file GNEPathCreator.cpp.

References myConflictDisconnected, and myConflictVClass.

◆ Path() [5/5]

GNEPathCreator::Path::Path ( Path * )
privatedelete

Invalidated copy constructor.

References Path().

Member Function Documentation

◆ getSubPath()

const std::vector< GNEEdge * > & GNEPathCreator::Path::getSubPath ( ) const

get sub path

Definition at line 102 of file GNEPathCreator.cpp.

References mySubPath.

Referenced by GNEPathCreator::drawTemporalRoute().

Here is the caller graph for this function:

◆ isConflictDisconnected()

bool GNEPathCreator::Path::isConflictDisconnected ( ) const

check if current path is conflict due is disconnected

Definition at line 114 of file GNEPathCreator.cpp.

References myConflictDisconnected.

Referenced by GNEPathCreator::drawTemporalRoute().

Here is the caller graph for this function:

◆ isConflictVClass()

bool GNEPathCreator::Path::isConflictVClass ( ) const

check if current path is conflict due vClass

Definition at line 108 of file GNEPathCreator.cpp.

References myConflictVClass.

Referenced by GNEPathCreator::drawTemporalRoute().

Here is the caller graph for this function:

◆ operator=()

Path & GNEPathCreator::Path::operator= ( Path * )
privatedelete

Invalidated assignment operator.

References Path().

Field Documentation

◆ myConflictDisconnected

bool GNEPathCreator::Path::myConflictDisconnected
protected

flag to mark this path as disconnected

Definition at line 78 of file GNEPathCreator.h.

Referenced by isConflictDisconnected(), Path(), Path(), and Path().

◆ myConflictVClass

bool GNEPathCreator::Path::myConflictVClass
protected

flag to mark this path as conflicted

Definition at line 75 of file GNEPathCreator.h.

Referenced by isConflictVClass(), Path(), Path(), and Path().

◆ mySubPath

std::vector<GNEEdge*> GNEPathCreator::Path::mySubPath
protected

sub path

Definition at line 72 of file GNEPathCreator.h.

Referenced by getSubPath(), Path(), Path(), and Path().


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