1 // vertical_speed_indicator.hxx - a regular VSI tied to the static port.
2 // Written by David Megginson, started 2002.
4 // This file is in the Public Domain and comes with no warranty.
7 #ifndef __INSTRUMENTS_VERTICAL_SPEED_INDICATOR_HXX
8 #define __INSTRUMENTS_VERTICAL_SPEED_INDICATOR_HXX 1
11 # error This library requires C++
14 #include <simgear/props/props.hxx>
15 #include <simgear/structure/subsystem_mgr.hxx>
19 * Model a non-instantaneous VSI tied to the static port.
23 * /instrumentation/"name"/serviceable
24 * "static_port"/pressure-inhg
28 * /instrumentation/"name"/indicated-speed-fpm
30 class VerticalSpeedIndicator : public SGSubsystem
35 VerticalSpeedIndicator ( SGPropertyNode *node );
36 virtual ~VerticalSpeedIndicator ();
39 virtual void update (double dt);
43 double _internal_pressure_inhg;
47 string _static_pressure;
49 SGPropertyNode_ptr _serviceable_node;
50 SGPropertyNode_ptr _pressure_node;
51 SGPropertyNode_ptr _speed_node;
55 #endif // __INSTRUMENTS_VERTICAL_SPEED_INDICATOR_HXX