X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FSystems%2Fpitot.hxx;h=9d97dee40a307f561b3938d39a000e82cd20ce21;hb=91976472206ba8319cc41cd3ff468fec04a52a78;hp=0024f28827eb97a17972a93b864e7ff21cbb8c5e;hpb=198b88ca9b4a4b123b2e9ccdc85ea17eeaea70c6;p=flightgear.git diff --git a/src/Systems/pitot.hxx b/src/Systems/pitot.hxx index 0024f2882..9d97dee40 100644 --- a/src/Systems/pitot.hxx +++ b/src/Systems/pitot.hxx @@ -11,9 +11,13 @@ # error This library requires C++ #endif -#include +#include + +#include +using std::string; -#include
+#include +#include /** @@ -24,21 +28,21 @@ * * Input properties: * - * /systems/pitot[0]/serviceable + * /systems/"name"/serviceable * /environment/pressure-slugft3 * /environment/density-slugft3 * /velocities/airspeed-kt * * Output properties: * - * /systems/pitot[0]/total-pressure-inhg + * /systems/"name"/total-pressure-inhg */ -class PitotSystem : public FGSubsystem +class PitotSystem : public SGSubsystem { public: - PitotSystem (); + PitotSystem ( SGPropertyNode *node ); virtual ~PitotSystem (); virtual void init (); @@ -48,12 +52,14 @@ public: private: + string _name; + int _num; SGPropertyNode_ptr _serviceable_node; SGPropertyNode_ptr _pressure_node; SGPropertyNode_ptr _density_node; SGPropertyNode_ptr _velocity_node; + SGPropertyNode_ptr _slip_angle; SGPropertyNode_ptr _total_pressure_node; - }; #endif // __SYSTEMS_PITOT_HXX