~ubuntu-branches/debian/sid/flightgear/sid

« back to all changes in this revision

Viewing changes to src/Instrumentation/altimeter.hxx

  • Committer: Package Import Robot
  • Author(s): Markus Wanner, Markus Wanner, Rebecca Palmer
  • Date: 2014-01-21 22:31:02 UTC
  • mfrom: (1.3.1) (15.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20140121223102-cjw7g9le25acd119
Tags: 3.0.0~git20140204+c99ea4-1
[ Markus Wanner ]
* Upload to unstable.
* Adjust B-D to allow building on kfreebsd-*. Closes: #724686.
* Add a lintian-overrides on autotools; we use cmake.
* Upstream corrected the fgfs manpage. Closes: #556362.
* Drop unnecessary man page for gl-info. Closes: #698308.
* Drop README.Linux: it's outdated to the point of uselessness.
  Closes: #574173.
* Add an upper limit of libsimgear-dev versions that flightgear can be
  built with. Closes: #738436.
* Drop the libsvn-dev dependency, neither flightgear nor simgear depend
  on libsvn, anymore. Closes: #682947.
* List icons in debian/install rather than copying around from rules.
* Update menu entry for flightgear, add one for fgcom; add .xpm icons.
  Closes: #713924.
* flightgear.desktop: add German translation
* Bump Standards-Version to 3.9.5; no changes needed.

[ Rebecca Palmer ]
* New upstream release.
* Install the icons (based on code by Saikrishna Arcot).  (Not a
  complete fix for LP908153 as it only sets the menu/Dash icon, not the
  running window's icon, but better than nothing).
* Disable screensaver while running. Closes: LP#793599. Add required
  libdbus-1-dev dependency.
* Remove outdated README.Debian.
* Terrasync now works after just ticking the box. Closes: #252899.
* Always set Terrasync directory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
public:
34
34
 
35
 
    Altimeter (SGPropertyNode *node, double quantum = 0);
 
35
    Altimeter (SGPropertyNode *node, const std::string& aDefaultName, double quantum = 0);
36
36
    virtual ~Altimeter ();
37
37
 
38
38
    virtual void init ();
47
47
    void setSettingHPa( double value );
48
48
 
49
49
private:
 
50
    std::string _name;
 
51
    int _num;
50
52
    SGPropertyNode_ptr _rootNode;
51
 
    string _static_pressure;
 
53
    std::string _static_pressure;
52
54
    double _tau;
53
55
    double _quantum;
54
56
    double _kollsman;
55
57
    double _raw_PA;
56
58
    double _settingInHg;
57
 
 
 
59
    bool _encodeModeC;
 
60
    bool _encodeModeS;
 
61
    
58
62
    SGPropertyNode_ptr _serviceable_node;
59
63
    SGPropertyNode_ptr _pressure_node;
60
64
    SGPropertyNode_ptr _press_alt_node;
61
65
    SGPropertyNode_ptr _mode_c_node;
 
66
    SGPropertyNode_ptr _mode_s_node;
 
67
    SGPropertyNode_ptr _transponder_node;
62
68
    SGPropertyNode_ptr _altitude_node;
63
69
 
64
70
    FGAltimeter _altimeter;