]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/airspeed_indicator.hxx
Projection matrix and texture size should be coherent
[flightgear.git] / src / Instrumentation / airspeed_indicator.hxx
index 0572a0eb120b5a97c2fec2a6c5cdcb72ccadb6e6..e4827081d1706aace56016c2ac097463039fb7ff 100644 (file)
  *
  * Input properties:
  *
- * /instrumentation/airspeed-indicator/serviceable
- * /systems/pitot[0]/total-pressure-inhg
- * /systems/static[0]/pressure-inhg
+ * /instrumentation/"name"/serviceable
+ * "pitot_port"/total-pressure-inhg
+ * "static_port"/pressure-inhg
  * /environment/density-slugft3
  *
  * Output properties:
  *
- * /instrumentation/airspeed-indicator/indicated-speed-kt
+ * /instrumentation/"name"/indicated-speed-kt
  */
 class AirspeedIndicator : public SGSubsystem
 {
 
 public:
 
-    AirspeedIndicator ();
+    AirspeedIndicator ( SGPropertyNode *node );
     virtual ~AirspeedIndicator ();
 
     virtual void init ();
@@ -42,6 +42,10 @@ public:
 
 private:
 
+    string _name;
+    unsigned int _num;
+    string _total_pressure;
+    string _static_pressure;
     SGPropertyNode_ptr _serviceable_node;
     SGPropertyNode_ptr _total_pressure_node;
     SGPropertyNode_ptr _static_pressure_node;