]> git.mxchange.org Git - flightgear.git/blobdiff - src/Systems/static.hxx
Clean-up: move autosave.xml loading code to proper method
[flightgear.git] / src / Systems / static.hxx
index 56a0a4ed14e42095d8bb39de45082af39e8e2da4..b4853d1ea26f405151027606e750605a74738ce0 100644 (file)
  * Input properties:
  *
  * /environment/pressure-inhg
- * /systems/static[0]/serviceable
+ * /systems/"name"/serviceable
  *
  * Output properties:
  *
- * /systems/static[0]/pressure-inhg
+ * /systems/"name"/pressure-inhg
  *
- * TODO: support multiple static ports and specific locations
+ * TODO: support specific locations
  * TODO: support alternate air with errors
  */
 class StaticSystem : public SGSubsystem
@@ -35,7 +35,8 @@ class StaticSystem : public SGSubsystem
 
 public:
 
-    StaticSystem ();
+    StaticSystem ( SGPropertyNode *node );
+    StaticSystem ( int i );
     virtual ~StaticSystem ();
 
     virtual void init ();
@@ -45,6 +46,9 @@ public:
 
 private:
 
+    std::string _name;
+    int _num;
+    double _tau;
     SGPropertyNode_ptr _serviceable_node;
     SGPropertyNode_ptr _pressure_in_node;
     SGPropertyNode_ptr _pressure_out_node;