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 42 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 56 of file GNEPathCreator.cpp.

◆ Path() [2/5]

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

◆ Path() [3/5]

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

◆ Path() [4/5]

GNEPathCreator::Path::Path ( )
private

default constructor

Definition at line 120 of file GNEPathCreator.cpp.

◆ Path() [5/5]

GNEPathCreator::Path::Path ( Path )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ getSubPath()

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

get sub path

Definition at line 103 of file GNEPathCreator.cpp.

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 115 of file GNEPathCreator.cpp.

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 109 of file GNEPathCreator.cpp.

Referenced by GNEPathCreator::drawTemporalRoute().

Here is the caller graph for this function:

◆ operator=()

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

Invalidated assignment operator.

Field Documentation

◆ myConflictDisconnected

bool GNEPathCreator::Path::myConflictDisconnected
protected

flag to mark this path as disconnected

Definition at line 71 of file GNEPathCreator.h.

Referenced by Path(), and Path().

◆ myConflictVClass

bool GNEPathCreator::Path::myConflictVClass
protected

flag to mark this path as conflicted

Definition at line 68 of file GNEPathCreator.h.

Referenced by Path(), and Path().

◆ mySubPath

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

sub path

Definition at line 65 of file GNEPathCreator.h.

Referenced by Path(), and Path().


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