libosmscout 1.1.1
Loading...
Searching...
No Matches
osmscout::RoutePostprocessor Class Reference

#include <libosmscout/include/osmscout/routing/RoutePostprocessor.h>

Classes

class  CrossingWaysPostprocessor
class  DestinationPostprocessor
class  DirectionPostprocessor
class  DistanceAndTimePostprocessor
class  InstructionPostprocessor
class  LanesPostprocessor
class  MaxSpeedPostprocessor
class  MotorwayJunctionPostprocessor
class  POIsPostprocessor
class  Postprocessor
class  SectionsPostprocessor
class  StartPostprocessor
class  SuggestedLanesPostprocessor
class  TargetPostprocessor
class  WayNamePostprocessor
class  WayTypePostprocessor

Public Types

using PostprocessorRef = std::shared_ptr<Postprocessor>
using InstructionPostprocessorRef = std::shared_ptr<InstructionPostprocessor>
using POIsPostprocessorRef = std::shared_ptr<POIsPostprocessor>
using LanesPostprocessorRef = std::shared_ptr<LanesPostprocessor>
using SuggestedLanesPostprocessorRef = std::shared_ptr<SuggestedLanesPostprocessor>

Public Member Functions

bool PostprocessRouteDescription (RouteDescription &description, const std::vector< RoutingProfileRef > &profiles, const std::vector< DatabaseRef > &databases, const std::list< PostprocessorRef > &processors, const std::set< std::string, std::less<> > &motorwayTypeNames=std::set< std::string, std::less<> >(), const std::set< std::string, std::less<> > &motorwayLinkTypeNames=std::set< std::string, std::less<> >(), const std::set< std::string, std::less<> > &junctionTypeNames=std::set< std::string, std::less<> >(), const std::string &miniRoundaboutTypeName="highway_mini_roundabout")

Public Attributes

friend Postprocessor

Detailed Description

RouteProcessor allows to enhance the raw routing information from the routing algorithm with additional information like way names, turns and similar by traversing the route and its objects.

The processor is plugable in the sense that it can get enhanced by classes deriving from the Processor base class allowing to write traversial code for a specific aim. The complete routing description is the result of the sum of all information collected by the individual processors.

Member Typedef Documentation

◆ InstructionPostprocessorRef

◆ LanesPostprocessorRef

◆ POIsPostprocessorRef

◆ PostprocessorRef

◆ SuggestedLanesPostprocessorRef

Member Function Documentation

◆ PostprocessRouteDescription()

bool osmscout::RoutePostprocessor::PostprocessRouteDescription ( RouteDescription & description,
const std::vector< RoutingProfileRef > & profiles,
const std::vector< DatabaseRef > & databases,
const std::list< PostprocessorRef > & processors,
const std::set< std::string, std::less<> > & motorwayTypeNames = std::set< std::string, std::less<> >(),
const std::set< std::string, std::less<> > & motorwayLinkTypeNames = std::set< std::string, std::less<> >(),
const std::set< std::string, std::less<> > & junctionTypeNames = std::set< std::string, std::less<> >(),
const std::string & miniRoundaboutTypeName = "highway_mini_roundabout" )

Member Data Documentation

◆ Postprocessor

friend osmscout::RoutePostprocessor::Postprocessor

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