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

FOX-declaration. More...

#include <GNEPathCreator.h>

Collaboration diagram for GNEPathCreator::Path:
[legend]

Public Member Functions

GNEAdditionalgetFromBusStop () const
 get from additional
 
const std::vector< GNEEdge * > & getSubPath () const
 get sub path
 
GNEAdditionalgetToBusStop () const
 to additional
 
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 (GNEViewNet *viewNet, const SUMOVehicleClass vClass, GNEEdge *edgeFrom, GNEEdge *edgeTo)
 constructor for two edges
 
 Path (GNEViewNet *viewNet, 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
 
GNEAdditionalmyFromBusStop
 from additional (usually a busStop)
 
std::vector< GNEEdge * > mySubPath
 sub path
 
GNEAdditionalmyToBusStop
 to additional (usually a busStop)
 

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 41 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 ( GNEViewNet viewNet,
const SUMOVehicleClass  vClass,
GNEEdge edgeFrom,
GNEEdge edgeTo 
)

◆ Path() [3/5]

GNEPathCreator::Path::Path ( GNEViewNet viewNet,
const SUMOVehicleClass  vClass,
GNEJunction junctionFrom,
GNEJunction junctionTo 
)

◆ Path() [4/5]

GNEPathCreator::Path::Path ( )
private

default constructor

Definition at line 136 of file GNEPathCreator.cpp.

◆ Path() [5/5]

GNEPathCreator::Path::Path ( Path )
privatedelete

Invalidated copy constructor.

Member Function Documentation

◆ getFromBusStop()

GNEAdditional * GNEPathCreator::Path::getFromBusStop ( ) const

get from additional

Definition at line 114 of file GNEPathCreator.cpp.

◆ getSubPath()

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

get sub path

Definition at line 109 of file GNEPathCreator.cpp.

Referenced by GNEPathCreator::drawTemporalRoute().

Here is the caller graph for this function:

◆ getToBusStop()

GNEAdditional * GNEPathCreator::Path::getToBusStop ( ) const

to additional

Definition at line 119 of file GNEPathCreator.cpp.

◆ isConflictDisconnected()

bool GNEPathCreator::Path::isConflictDisconnected ( ) const

check if current path is conflict due is disconnected

Definition at line 131 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 125 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 82 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 79 of file GNEPathCreator.h.

Referenced by Path(), and Path().

◆ myFromBusStop

GNEAdditional* GNEPathCreator::Path::myFromBusStop
protected

from additional (usually a busStop)

Definition at line 73 of file GNEPathCreator.h.

◆ mySubPath

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

sub path

Definition at line 70 of file GNEPathCreator.h.

Referenced by Path(), and Path().

◆ myToBusStop

GNEAdditional* GNEPathCreator::Path::myToBusStop
protected

to additional (usually a busStop)

Definition at line 76 of file GNEPathCreator.h.


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