]> git.mxchange.org Git - flightgear.git/blobdiff - src/Systems/pitot.hxx
Merge branch 'timoore/ptrfix'
[flightgear.git] / src / Systems / pitot.hxx
index 80be710f09f3ca4be89623f3dae99e334bee01d6..9d97dee40a307f561b3938d39a000e82cd20ce21 100644 (file)
 # error This library requires C++
 #endif
 
+#include <simgear/compiler.h>
+
+#include <string>
+using std::string;
+
 #include <simgear/props/props.hxx>
 #include <simgear/structure/subsystem_mgr.hxx>
 
  *
  * Input properties:
  *
- * /systems/pitot[0]/serviceable
+ * /systems/"name"/serviceable
  * /environment/pressure-slugft3
  * /environment/density-slugft3
  * /velocities/airspeed-kt
  *
  * Output properties:
  *
- * /systems/pitot[0]/total-pressure-inhg
+ * /systems/"name"/total-pressure-inhg
  */
 class PitotSystem : public SGSubsystem
 {
 
 public:
 
-    PitotSystem ();
+    PitotSystem ( SGPropertyNode *node );
     virtual ~PitotSystem ();
 
     virtual void init ();
@@ -47,12 +52,14 @@ public:
 
 private:
 
+    string _name;
+    int _num;
     SGPropertyNode_ptr _serviceable_node;
     SGPropertyNode_ptr _pressure_node;
     SGPropertyNode_ptr _density_node;
     SGPropertyNode_ptr _velocity_node;
+    SGPropertyNode_ptr _slip_angle;
     SGPropertyNode_ptr _total_pressure_node;
-    
 };
 
 #endif // __SYSTEMS_PITOT_HXX