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

#include <RoutePostprocessor.h>

Classes

class  CrossingWaysPostprocessor
 Places a crossing ways description as a description of the name of all ways crossing the given node. More...
 
class  DestinationPostprocessor
 Evaluates destination tags, hinting at the destination of a way. More...
 
class  DirectionPostprocessor
 Places a turn description for every node. More...
 
class  DistanceAndTimePostprocessor
 Calculates the overall running distance and time for each node. More...
 
class  InstructionPostprocessor
 Generates drive instructions. More...
 
class  MaxSpeedPostprocessor
 
class  MotorwayJunctionPostprocessor
 Adds driving hint based on motorway_junction tags. More...
 
class  Postprocessor
 
class  StartPostprocessor
 Places the given description at the start node. More...
 
class  TargetPostprocessor
 Places the given description at the target node. More...
 
class  WayNamePostprocessor
 Places a name description as way description. More...
 
class  WayTypePostprocessor
 Places a name description as way description. More...
 

Public Types

typedef std::shared_ptr
< InstructionPostprocessor
InstructionPostprocessorRef
 
typedef std::shared_ptr
< Postprocessor
PostprocessorRef
 

Public Member Functions

bool CanUseBackward (const RoutingProfile &profile, Id fromNodeId, const ObjectFileRef &object) const
 
bool CanUseForward (const RoutingProfile &profile, Id fromNodeId, const ObjectFileRef &object) const
 
AreaRef GetArea (FileOffset offset) const
 
GeoCoord GetCoordinates (const ObjectFileRef &object, size_t nodeIndex) const
 
RouteDescription::NameDescriptionRef GetNameDescription (const ObjectFileRef &object) const
 
RouteDescription::NameDescriptionRef GetNameDescription (const Area &area) const
 
RouteDescription::NameDescriptionRef GetNameDescription (const Way &way) const
 
Id GetNodeId (const ObjectFileRef &object, size_t nodeIndex) const
 
size_t GetNodeIndex (const ObjectFileRef &object, Id nodeId) const
 
WayRef GetWay (FileOffset offset) const
 
bool IsBackwardPath (const ObjectFileRef &object, size_t fromNodeIndex, size_t toNodeIndex) const
 
bool IsBridge (const Way &way) const
 
bool IsForwardPath (const ObjectFileRef &object, size_t fromNodeIndex, size_t toNodeIndex) const
 
bool IsNodeStartOrEndOfObject (const ObjectFileRef &nodeObject, size_t nodeIndex, const ObjectFileRef &object) const
 
bool IsOfType (const ObjectFileRef &object, const TypeInfoSet &types) const
 
bool IsRoundabout (const ObjectFileRef &object) const
 
bool PostprocessRouteDescription (RouteDescription &description, const RoutingProfile &profile, Database &database, std::list< PostprocessorRef > processors)
 
 RoutePostprocessor ()
 

Member Typedef Documentation

Constructor & Destructor Documentation

osmscout::RoutePostprocessor::RoutePostprocessor ( )

Member Function Documentation

bool osmscout::RoutePostprocessor::CanUseBackward ( const RoutingProfile profile,
Id  fromNodeId,
const ObjectFileRef &  object 
) const
bool osmscout::RoutePostprocessor::CanUseForward ( const RoutingProfile profile,
Id  fromNodeId,
const ObjectFileRef &  object 
) const
GeoCoord osmscout::RoutePostprocessor::GetCoordinates ( const ObjectFileRef &  object,
size_t  nodeIndex 
) const
RouteDescription::NameDescriptionRef osmscout::RoutePostprocessor::GetNameDescription ( const Area &  area) const
Id osmscout::RoutePostprocessor::GetNodeId ( const ObjectFileRef &  object,
size_t  nodeIndex 
) const
size_t osmscout::RoutePostprocessor::GetNodeIndex ( const ObjectFileRef &  object,
Id  nodeId 
) const
bool osmscout::RoutePostprocessor::IsBackwardPath ( const ObjectFileRef &  object,
size_t  fromNodeIndex,
size_t  toNodeIndex 
) const
bool osmscout::RoutePostprocessor::IsBridge ( const Way &  way) const
bool osmscout::RoutePostprocessor::IsForwardPath ( const ObjectFileRef &  object,
size_t  fromNodeIndex,
size_t  toNodeIndex 
) const
bool osmscout::RoutePostprocessor::IsNodeStartOrEndOfObject ( const ObjectFileRef &  nodeObject,
size_t  nodeIndex,
const ObjectFileRef &  object 
) const
bool osmscout::RoutePostprocessor::IsOfType ( const ObjectFileRef &  object,
const TypeInfoSet &  types 
) const
bool osmscout::RoutePostprocessor::PostprocessRouteDescription ( RouteDescription description,
const RoutingProfile profile,
Database &  database,
std::list< PostprocessorRef processors 
)

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