X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fairspeed_indicator.hxx;h=e4827081d1706aace56016c2ac097463039fb7ff;hb=61812ef4b88f5aa74e9cc0630c84d6fc6b4a51cd;hp=e416e739577e1caef8cdeabf98a182a083de8073;hpb=4d146352d702ebfdb53a390eb4b406a30fc17cc8;p=flightgear.git diff --git a/src/Instrumentation/airspeed_indicator.hxx b/src/Instrumentation/airspeed_indicator.hxx index e416e7395..e4827081d 100644 --- a/src/Instrumentation/airspeed_indicator.hxx +++ b/src/Instrumentation/airspeed_indicator.hxx @@ -11,8 +11,8 @@ # error This library requires C++ #endif -#include -#include
+#include +#include /** @@ -20,21 +20,21 @@ * * Input properties: * - * /instrumentation/airspeed-indicator/serviceable - * /systems/pitot[0]/total-pressure-inhg - * /systems/static[0]/pressure-inhg + * /instrumentation/"name"/serviceable + * "pitot_port"/total-pressure-inhg + * "static_port"/pressure-inhg * /environment/density-slugft3 * * Output properties: * - * /instrumentation/airspeed-indicator/indicated-speed-kt + * /instrumentation/"name"/indicated-speed-kt */ -class AirspeedIndicator : public FGSubsystem +class AirspeedIndicator : public SGSubsystem { public: - AirspeedIndicator (); + AirspeedIndicator ( SGPropertyNode *node ); virtual ~AirspeedIndicator (); virtual void init (); @@ -42,6 +42,10 @@ public: private: + string _name; + unsigned int _num; + string _total_pressure; + string _static_pressure; SGPropertyNode_ptr _serviceable_node; SGPropertyNode_ptr _total_pressure_node; SGPropertyNode_ptr _static_pressure_node;