]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/vertical_speed_indicator.hxx
better use unset() for unsetting ...
[flightgear.git] / src / Instrumentation / vertical_speed_indicator.hxx
index f7df642e8aefd6f1d2e8b2b8bf487167da836469..2b6a930d432a9c2dd285ac04f191e34bcd548024 100644 (file)
  *
  * Input properties:
  *
- * /instrumentation/vertical-speed-indicator/serviceable
- * /systems/static[0]/pressure-inhg
+ * /instrumentation/"name"/serviceable
+ * "static_port"/pressure-inhg
  *
  * Output properties:
  *
- * /instrumentation/vertical-speed-indicator/indicated-speed-fpm
+ * /instrumentation/"name"/indicated-speed-fpm
  */
 class VerticalSpeedIndicator : public SGSubsystem
 {
 
 public:
 
-    VerticalSpeedIndicator ();
+    VerticalSpeedIndicator ( SGPropertyNode *node );
     virtual ~VerticalSpeedIndicator ();
 
     virtual void init ();
@@ -42,6 +42,10 @@ private:
 
     double _internal_pressure_inhg;
 
+    string _name;
+    int _num;
+    string _static_pressure;
+
     SGPropertyNode_ptr _serviceable_node;
     SGPropertyNode_ptr _pressure_node;
     SGPropertyNode_ptr _speed_node;