flightgear::Waypt* wayptAtIndex(int index) const;
+ SGPropertyNode_ptr wayptNodeAtIndex(int index) const;
+
/**
* Find a waypoint in the route, by position, and return its index, or
* -1 if no matching waypoint was found in the route.
SGPropertyNode_ptr cruise; ///< cruise information
SGPropertyNode_ptr totalDistance;
+ SGPropertyNode_ptr distanceToGo;
SGPropertyNode_ptr ete;
SGPropertyNode_ptr elapsedFlightTime;
void setETAPropertyFromDistance(SGPropertyNode_ptr aProp, double aDistance);
+ /**
+ * retrieve the cached path distance along a leg
+ */
+ double cachedLegPathDistanceM(int index) const;
+ double cachedWaypointPathTotalDistance(int index) const;
+
class InputListener : public SGPropertyChangeListener {
public:
InputListener(FGRouteMgr *m) : mgr(m) {}