X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FSystems%2Fvacuum.hxx;h=fd69135963801ccba8c4f69035e78a5abb780c83;hb=ed30b0c9a3818d5b8a306827184ac3525a1d8bdf;hp=d3034e16fb6b9037d24daf8c9cee0983571b992e;hpb=f614545fc5a6f0fb12a05344d9ee41b2a49cc04a;p=flightgear.git diff --git a/src/Systems/vacuum.hxx b/src/Systems/vacuum.hxx index d3034e16f..fd6913596 100644 --- a/src/Systems/vacuum.hxx +++ b/src/Systems/vacuum.hxx @@ -11,6 +11,7 @@ # error This library requires C++ #endif +#include #include #include @@ -18,11 +19,13 @@ /** * 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 _rpm_nodes; SGPropertyNode_ptr _pressure_node; SGPropertyNode_ptr _suction_node;