X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FSystems%2Fpitot.hxx;h=9d97dee40a307f561b3938d39a000e82cd20ce21;hb=91976472206ba8319cc41cd3ff468fec04a52a78;hp=80be710f09f3ca4be89623f3dae99e334bee01d6;hpb=980012e1682fdb27c9b9ec27edea0b549d603f9d;p=flightgear.git diff --git a/src/Systems/pitot.hxx b/src/Systems/pitot.hxx index 80be710f0..9d97dee40 100644 --- a/src/Systems/pitot.hxx +++ b/src/Systems/pitot.hxx @@ -11,6 +11,11 @@ # error This library requires C++ #endif +#include + +#include +using std::string; + #include #include @@ -23,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 SGSubsystem { public: - PitotSystem (); + PitotSystem ( SGPropertyNode *node ); virtual ~PitotSystem (); virtual void init (); @@ -47,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