Eclipse SUMO - Simulation of Urban MObility
Loading...
Searching...
No Matches
RouterProvider< E, L, N, V > Class Template Reference

#include <RouterProvider.h>

Public Member Functions

RouterProviderclone ()
 
IntermodalRouter< E, L, N, V > & getIntermodalRouter () const
 
PedestrianRouter< E, L, N, V > & getPedestrianRouter () const
 
RailwayRouter< E, V > & getRailwayRouter () const
 
SUMOAbstractRouter< E, V > & getVehicleRouter (SUMOVehicleClass svc) const
 
 RouterProvider (const RouterProvider &original)
 
 RouterProvider (SUMOAbstractRouter< E, V > *vehRouter, PedestrianRouter< E, L, N, V > *pedRouter, IntermodalRouter< E, L, N, V > *interRouter, RailwayRouter< E, V > *railRouter)
 
void setBulkMode (const bool mode) const
 
virtual ~RouterProvider ()
 

Private Member Functions

RouterProvideroperator= (const RouterProvider &src)
 Invalidated assignment operator.
 

Private Attributes

IntermodalRouter< E, L, N, V > *const myInterRouter
 
PedestrianRouter< E, L, N, V > *const myPedRouter
 
RailwayRouter< E, V > *const myRailRouter
 
SUMOAbstractRouter< E, V > *const myVehRouter
 

Detailed Description

template<class E, class L, class N, class V>
class RouterProvider< E, L, N, V >

The encapsulation of the routers for vehicles and pedestrians

Definition at line 36 of file RouterProvider.h.

Constructor & Destructor Documentation

◆ RouterProvider() [1/2]

template<class E , class L , class N , class V >
RouterProvider< E, L, N, V >::RouterProvider ( SUMOAbstractRouter< E, V > *  vehRouter,
PedestrianRouter< E, L, N, V > *  pedRouter,
IntermodalRouter< E, L, N, V > *  interRouter,
RailwayRouter< E, V > *  railRouter 
)
inline

Definition at line 38 of file RouterProvider.h.

◆ RouterProvider() [2/2]

template<class E , class L , class N , class V >
RouterProvider< E, L, N, V >::RouterProvider ( const RouterProvider< E, L, N, V > &  original)
inline

Definition at line 48 of file RouterProvider.h.

◆ ~RouterProvider()

Member Function Documentation

◆ clone()

template<class E , class L , class N , class V >
RouterProvider * RouterProvider< E, L, N, V >::clone ( )
inline

Definition at line 62 of file RouterProvider.h.

Referenced by MSRoutingEngine::initRouter().

Here is the caller graph for this function:

◆ getIntermodalRouter()

template<class E , class L , class N , class V >
IntermodalRouter< E, L, N, V > & RouterProvider< E, L, N, V >::getIntermodalRouter ( ) const
inline

Definition at line 78 of file RouterProvider.h.

References RouterProvider< E, L, N, V >::myInterRouter.

Referenced by ROPerson::computeIntermodal(), computeRoutes(), and MSRoutingEngine::getIntermodalRouterTT().

Here is the caller graph for this function:

◆ getPedestrianRouter()

template<class E , class L , class N , class V >
PedestrianRouter< E, L, N, V > & RouterProvider< E, L, N, V >::getPedestrianRouter ( ) const
inline

Definition at line 74 of file RouterProvider.h.

References RouterProvider< E, L, N, V >::myPedRouter.

◆ getRailwayRouter()

template<class E , class L , class N , class V >
RailwayRouter< E, V > & RouterProvider< E, L, N, V >::getRailwayRouter ( ) const
inline

Definition at line 82 of file RouterProvider.h.

References RouterProvider< E, L, N, V >::myRailRouter.

◆ getVehicleRouter()

template<class E , class L , class N , class V >
SUMOAbstractRouter< E, V > & RouterProvider< E, L, N, V >::getVehicleRouter ( SUMOVehicleClass  svc) const
inline

Definition at line 66 of file RouterProvider.h.

References isRailway(), RouterProvider< E, L, N, V >::myRailRouter, and RouterProvider< E, L, N, V >::myVehRouter.

Referenced by ROVehicle::computeRoute(), MSRoutingEngine::getRouterTT(), and MSRoutingEngine::reroute().

Here is the caller graph for this function:

◆ operator=()

template<class E , class L , class N , class V >
RouterProvider & RouterProvider< E, L, N, V >::operator= ( const RouterProvider< E, L, N, V > &  src)
private

Invalidated assignment operator.

◆ setBulkMode()

template<class E , class L , class N , class V >
void RouterProvider< E, L, N, V >::setBulkMode ( const bool  mode) const
inline

Definition at line 86 of file RouterProvider.h.

References RouterProvider< E, L, N, V >::myInterRouter, RouterProvider< E, L, N, V >::myPedRouter, RouterProvider< E, L, N, V >::myRailRouter, and RouterProvider< E, L, N, V >::myVehRouter.

Referenced by RONet::createBulkRouteRequests().

Here is the caller graph for this function:

Field Documentation

◆ myInterRouter

◆ myPedRouter

◆ myRailRouter

◆ myVehRouter


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