X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Finst_vertical_speed_indicator.hxx;h=10c9f00c18e954408a9b2e82852f8559e8bbd559;hb=01622dd1f4e990fc588a0eed5cde1c42a1b378e8;hp=856aacda7e349dd249787a97d572996415740941;hpb=486b59a431e76de1aff4b57b51a36d035e6b5cce;p=flightgear.git diff --git a/src/Instrumentation/inst_vertical_speed_indicator.hxx b/src/Instrumentation/inst_vertical_speed_indicator.hxx index 856aacda7..10c9f00c1 100644 --- a/src/Instrumentation/inst_vertical_speed_indicator.hxx +++ b/src/Instrumentation/inst_vertical_speed_indicator.hxx @@ -16,7 +16,7 @@ // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software -// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // #ifndef __INST_VERTICAL_SPEED_INDICATOR_HXX @@ -58,18 +58,19 @@ public: virtual ~InstVerticalSpeedIndicator (); virtual void init (); + virtual void reinit (); virtual void update (double dt); private: + std::string _name; + int _num; + double _internal_pressure_inhg; double _internal_sea_inhg; double _speed_ft_per_s; - string name; - int num; - SGPropertyNode_ptr _serviceable_node; SGPropertyNode_ptr _freeze_node; SGPropertyNode_ptr _pressure_node;