]> git.mxchange.org Git - flightgear.git/blobdiff - src/Systems/vacuum.hxx
Merge branch 'next' of gitorious.org:fg/flightgear into next
[flightgear.git] / src / Systems / vacuum.hxx
index d3034e16fb6b9037d24daf8c9cee0983571b992e..fd69135963801ccba8c4f69035e78a5abb780c83 100644 (file)
@@ -11,6 +11,7 @@
 # error This library requires C++
 #endif
 
+#include <simgear/math/sg_types.hxx>
 #include <simgear/props/props.hxx>
 #include <simgear/structure/subsystem_mgr.hxx>
 
 /**
  * Model a vacuum-pump system.
  *
- * This first, simple draft is hard-wired to engine #1.
+ * Multiple pumps (i.e. for a multiengine aircraft) can be specified.
  *
  * Input properties:
  *
- * "rpm"
+ * "rpm1"
+ * "rpm2"
+ * "..."
  * /environment/pressure-inhg
  * /systems/"name"/serviceable
  *
@@ -46,12 +49,12 @@ public:
 
 private:
 
-    string name;
-    int num;
-    string rpm;
-    double scale;
+    string _name;
+    int _num;
+    string_list _rpms;
+    double _scale;
     SGPropertyNode_ptr _serviceable_node;
-    SGPropertyNode_ptr _rpm_node;
+    vector<SGPropertyNode_ptr> _rpm_nodes;
     SGPropertyNode_ptr _pressure_node;
     SGPropertyNode_ptr _suction_node;