]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/vertical_speed_indicator.hxx
A couple more straggling instrumentation clean ups.
[flightgear.git] / src / Instrumentation / vertical_speed_indicator.hxx
index 876fc5ef4e819d5235b84cf2b94ac299b06b275a..0c2a5a3a92209ba889a413a60443f50667191893 100644 (file)
@@ -11,8 +11,8 @@
 # error This library requires C++
 #endif
 
-#include <simgear/misc/props.hxx>
-#include <Main/fgfs.hxx>
+#include <simgear/props/props.hxx>
+#include <simgear/structure/subsystem_mgr.hxx>
 
 
 /**
  *
  * 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 FGSubsystem
+class VerticalSpeedIndicator : public SGSubsystem
 {
 
 public:
 
+    VerticalSpeedIndicator ( SGPropertyNode *node );
     VerticalSpeedIndicator ();
     virtual ~VerticalSpeedIndicator ();
 
@@ -42,6 +43,10 @@ private:
 
     double _internal_pressure_inhg;
 
+    string name;
+    int num;
+    string static_port;
+
     SGPropertyNode_ptr _serviceable_node;
     SGPropertyNode_ptr _pressure_node;
     SGPropertyNode_ptr _speed_node;