libosmscout
0.1
|
#include <RoutePostprocessor.h>
Public Member Functions | |
DistanceAndTimePostprocessor ()=default | |
bool | Process (const PostprocessorContext &context, RouteDescription &description) override |
![]() | |
virtual | ~Postprocessor ()=default |
Calculates the overall running distance and time for each node
|
default |
|
overridevirtual |
Implements osmscout::RoutePostprocessor::Postprocessor.
References osmscout::PostprocessorContext::GetArea(), osmscout::GetEllipsoidalDistance(), osmscout::PostprocessorContext::GetTime(), osmscout::PostprocessorContext::GetWay(), osmscout::RouteDescription::Nodes(), osmscout::refArea, osmscout::refNode, osmscout::refNone, osmscout::refWay, and osmscout::ObjectFileRef::Valid().