Changeset 8187 in ntrip for trunk/BNC/src/ephemeris.h


Ignore:
Timestamp:
Nov 27, 2017, 11:49:37 AM (4 years ago)
Author:
stuerze
Message:

health status check is added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/ephemeris.h

    r8182 r8187  
    2626  virtual QString toString(double version) const = 0;
    2727  virtual unsigned int IOD() const = 0;
     28  virtual unsigned int isUnhealthy() const = 0;
    2829  virtual int     slotNum() const {return 0;}
    2930  bncTime TOC() const {return _TOC;}
     
    100101  virtual QString toString(double version) const;
    101102  virtual unsigned int  IOD() const { return static_cast<unsigned int>(_IODE); }
     103  virtual unsigned int  isUnhealthy() const { return static_cast<unsigned int>(_health); }
    102104  double TGD() const {return _TGD;} // Timing Group Delay (P1-P2 DCB)
    103105
     
    190192  virtual QString toString(double version) const;
    191193  virtual unsigned int  IOD() const;
     194  virtual unsigned int isUnhealthy() const;
    192195  virtual int slotNum() const {return int(_frequency_number);}
    193196
     
    281284  virtual e_type type() const {return t_eph::Galileo;}
    282285  virtual unsigned int  IOD() const { return static_cast<unsigned long>(_IODnav); }
     286  virtual unsigned int  isUnhealthy() const;
    283287
    284288 private:
     
    359363  virtual e_type  type() const {return t_eph::SBAS;}
    360364  virtual unsigned int IOD() const;
     365  virtual unsigned int  isUnhealthy() const { return static_cast<unsigned int>(_health); }
    361366  virtual QString toString(double version) const;
    362367
     
    425430  virtual e_type  type() const {return t_eph::BDS;}
    426431  virtual unsigned int IOD() const;
     432  virtual unsigned int  isUnhealthy() const { return static_cast<unsigned int>(_SatH1); }
    427433  virtual QString toString(double version) const;
    428434
Note: See TracChangeset for help on using the changeset viewer.