X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fvertical_speed_indicator.hxx;h=2b6a930d432a9c2dd285ac04f191e34bcd548024;hb=61812ef4b88f5aa74e9cc0630c84d6fc6b4a51cd;hp=876fc5ef4e819d5235b84cf2b94ac299b06b275a;hpb=f72891e113b79c96e23f46a8ae2a0ecdacc9155f;p=flightgear.git diff --git a/src/Instrumentation/vertical_speed_indicator.hxx b/src/Instrumentation/vertical_speed_indicator.hxx index 876fc5ef4..2b6a930d4 100644 --- a/src/Instrumentation/vertical_speed_indicator.hxx +++ b/src/Instrumentation/vertical_speed_indicator.hxx @@ -11,8 +11,8 @@ # error This library requires C++ #endif -#include -#include
+#include +#include /** @@ -20,19 +20,19 @@ * * Input properties: * - * /instrumentation/vertical-speed-indicator/serviceable - * /systems/static[0]/pressure-inhg + * /instrumentation/"name"/serviceable + * "static_port"/pressure-inhg * * Output properties: * - * /instrumentation/vertical-speed-indicator/indicated-speed-fpm + * /instrumentation/"name"/indicated-speed-fpm */ -class VerticalSpeedIndicator : public FGSubsystem +class VerticalSpeedIndicator : public SGSubsystem { public: - VerticalSpeedIndicator (); + VerticalSpeedIndicator ( SGPropertyNode *node ); virtual ~VerticalSpeedIndicator (); virtual void init (); @@ -42,6 +42,10 @@ private: double _internal_pressure_inhg; + string _name; + int _num; + string _static_pressure; + SGPropertyNode_ptr _serviceable_node; SGPropertyNode_ptr _pressure_node; SGPropertyNode_ptr _speed_node;