]> git.mxchange.org Git - flightgear.git/blobdiff - src/Instrumentation/inst_vertical_speed_indicator.hxx
Fix flight-plan course and distance computations.
[flightgear.git] / src / Instrumentation / inst_vertical_speed_indicator.hxx
index 856aacda7e349dd249787a97d572996415740941..10c9f00c18e954408a9b2e82852f8559e8bbd559 100644 (file)
@@ -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;