]> git.mxchange.org Git - flightgear.git/blobdiff - src/Systems/static.hxx
Fix a couple of 64-bit warnings identified by GCC.
[flightgear.git] / src / Systems / static.hxx
index 56a0a4ed14e42095d8bb39de45082af39e8e2da4..b50d32c5adc91a03d415a5fabd0cd4c86a50c83a 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,16 +35,21 @@ class StaticSystem : public SGSubsystem
 
 public:
 
-    StaticSystem ();
+    StaticSystem ( SGPropertyNode *node );
+    StaticSystem ( int i );
     virtual ~StaticSystem ();
 
     virtual void init ();
+    virtual void reinit ();
     virtual void bind ();
     virtual void unbind ();
     virtual void update (double dt);
 
 private:
 
+    std::string _name;
+    int _num;
+    double _tau;
     SGPropertyNode_ptr _serviceable_node;
     SGPropertyNode_ptr _pressure_in_node;
     SGPropertyNode_ptr _pressure_out_node;