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

Optional callback object for monitoring routing progress. More...

#include <RoutingService.h>

Public Member Functions

virtual void Progress (double currentMaxDistance, double overallDistance)=0
 Repeately called by the router while visiting routing nodes. More...
 
virtual void Reset ()=0
 Call, if you want to reset the progress. More...
 
virtual ~RoutingProgress ()
 

Detailed Description

Optional callback object for monitoring routing progress.

Constructor & Destructor Documentation

osmscout::RoutingProgress::~RoutingProgress ( )
virtual

Member Function Documentation

virtual void osmscout::RoutingProgress::Progress ( double  currentMaxDistance,
double  overallDistance 
)
pure virtual

Repeately called by the router while visiting routing nodes.

Parameters
currentMaxDistancecurrent maximum distance from start
overallDistancedistance between start and target
virtual void osmscout::RoutingProgress::Reset ( )
pure virtual

Call, if you want to reset the progress.


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