libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::Navigation< NodeDescriptionTmpl > Class Template Reference

#include <Navigation.h>

Public Member Functions

void Clear ()
 
const RouteDescription::NodeGetCurrentNode ()
 
double GetDistance ()
 
double GetDistanceFromStart ()
 
double GetDuration ()
 
double GetDurationFromStart ()
 
bool HasRoute ()
 
 Navigation (OutputDescription< NodeDescriptionTmpl > *outputDescr)
 outputDescr pointer is not owned, it should not be destroyed before Navigation, caller is responsible for deleting it. More...
 
NodeDescriptionTmpl nextWaypointDescription ()
 
void SetRoute (RouteDescription *newRoute)
 
void SetSnapDistance (double distance)
 
bool UpdateCurrentLocation (const GeoCoord &location, double &minDistance)
 

Static Public Member Functions

static double distanceInDegrees (double d, double latitude)
 

Constructor & Destructor Documentation

template<class NodeDescriptionTmpl>
osmscout::Navigation< NodeDescriptionTmpl >::Navigation ( OutputDescription< NodeDescriptionTmpl > *  outputDescr)
inline

outputDescr pointer is not owned, it should not be destroyed before Navigation, caller is responsible for deleting it.

Member Function Documentation

template<class NodeDescriptionTmpl>
void osmscout::Navigation< NodeDescriptionTmpl >::Clear ( )
inline
template<class NodeDescriptionTmpl>
static double osmscout::Navigation< NodeDescriptionTmpl >::distanceInDegrees ( double  d,
double  latitude 
)
inlinestatic
template<class NodeDescriptionTmpl>
const RouteDescription::Node& osmscout::Navigation< NodeDescriptionTmpl >::GetCurrentNode ( )
inline
template<class NodeDescriptionTmpl>
double osmscout::Navigation< NodeDescriptionTmpl >::GetDistance ( )
inline
template<class NodeDescriptionTmpl>
double osmscout::Navigation< NodeDescriptionTmpl >::GetDistanceFromStart ( )
inline
template<class NodeDescriptionTmpl>
double osmscout::Navigation< NodeDescriptionTmpl >::GetDuration ( )
inline
template<class NodeDescriptionTmpl>
double osmscout::Navigation< NodeDescriptionTmpl >::GetDurationFromStart ( )
inline
template<class NodeDescriptionTmpl>
bool osmscout::Navigation< NodeDescriptionTmpl >::HasRoute ( )
inline
template<class NodeDescriptionTmpl>
NodeDescriptionTmpl osmscout::Navigation< NodeDescriptionTmpl >::nextWaypointDescription ( )
inline
template<class NodeDescriptionTmpl>
void osmscout::Navigation< NodeDescriptionTmpl >::SetRoute ( RouteDescription newRoute)
inline
template<class NodeDescriptionTmpl>
void osmscout::Navigation< NodeDescriptionTmpl >::SetSnapDistance ( double  distance)
inline
template<class NodeDescriptionTmpl>
bool osmscout::Navigation< NodeDescriptionTmpl >::UpdateCurrentLocation ( const GeoCoord location,
double &  minDistance 
)
inline

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