libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::RoutingProfile Class Referenceabstract

Abstract interface for a routing profile. More...

#include <RoutingProfile.h>

+ Inheritance diagram for osmscout::RoutingProfile:

Public Member Functions

virtual bool CanUse (const RouteNode &currentNode, const std::vector< ObjectVariantData > &objectVariantData, size_t pathIndex) const =0
 
virtual bool CanUse (const Area &area) const =0
 
virtual bool CanUse (const Way &way) const =0
 
virtual bool CanUseBackward (const Way &way) const =0
 
virtual bool CanUseForward (const Way &way) const =0
 
virtual double GetCostLimitDistance () const =0
 
virtual double GetCostLimitFactor () const =0
 
virtual double GetCosts (const RouteNode &currentNode, const std::vector< ObjectVariantData > &objectVariantData, size_t pathIndex) const =0
 
virtual double GetCosts (const Area &area, double distance) const =0
 
virtual double GetCosts (const Way &way, double distance) const =0
 
virtual double GetCosts (double distance) const =0
 
virtual double GetTime (const Area &area, double distance) const =0
 
virtual double GetTime (const Way &way, double distance) const =0
 
virtual Vehicle GetVehicle () const =0
 
virtual ~RoutingProfile ()
 

Detailed Description

Abstract interface for a routing profile.

A routing profile decides about the costs of taking a certain way. It thus may hold information about how fast ways can be used, maximum speed of the traveling device etc...

Constructor & Destructor Documentation

osmscout::RoutingProfile::~RoutingProfile ( )
virtual

Member Function Documentation

virtual bool osmscout::RoutingProfile::CanUse ( const RouteNode currentNode,
const std::vector< ObjectVariantData > &  objectVariantData,
size_t  pathIndex 
) const
pure virtual
virtual bool osmscout::RoutingProfile::CanUse ( const Area &  area) const
pure virtual
virtual bool osmscout::RoutingProfile::CanUse ( const Way &  way) const
pure virtual
virtual bool osmscout::RoutingProfile::CanUseBackward ( const Way &  way) const
pure virtual
virtual bool osmscout::RoutingProfile::CanUseForward ( const Way &  way) const
pure virtual
virtual double osmscout::RoutingProfile::GetCostLimitDistance ( ) const
pure virtual
virtual double osmscout::RoutingProfile::GetCostLimitFactor ( ) const
pure virtual
virtual double osmscout::RoutingProfile::GetCosts ( const RouteNode currentNode,
const std::vector< ObjectVariantData > &  objectVariantData,
size_t  pathIndex 
) const
pure virtual
virtual double osmscout::RoutingProfile::GetCosts ( const Area &  area,
double  distance 
) const
pure virtual
virtual double osmscout::RoutingProfile::GetCosts ( const Way &  way,
double  distance 
) const
pure virtual
virtual double osmscout::RoutingProfile::GetCosts ( double  distance) const
pure virtual
virtual double osmscout::RoutingProfile::GetTime ( const Area &  area,
double  distance 
) const
pure virtual
virtual double osmscout::RoutingProfile::GetTime ( const Way &  way,
double  distance 
) const
pure virtual
virtual Vehicle osmscout::RoutingProfile::GetVehicle ( ) const
pure virtual

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