#include <simgear/compiler.h>
-#include STL_STRING
+#include <string>
#include <vector>
-SG_USING_STD(string);
-SG_USING_STD(vector);
+using std::string;
+using std::vector;
#include <simgear/props/props.hxx>
#include <simgear/route/route.hxx>
// automatic outputs
SGPropertyNode_ptr true_hdg_deg;
+ SGPropertyNode_ptr target_altitude_ft;
+ SGPropertyNode_ptr altitude_lock;
SGPropertyNode_ptr wp0_id;
SGPropertyNode_ptr wp0_dist;
SGPropertyNode_ptr input;
Listener *listener;
SGPropertyNode_ptr mirror;
+ bool altitude_set;
+
+ int make_waypoint( SGWayPoint **wp, const string& target );
+ void update_mirror();
+ bool near_ground();
public:
return route->size();
}
- void update_mirror();
};