Changeset 8188 in ntrip for branches/BNC_2.12/src/ephemeris.h


Ignore:
Timestamp:
Nov 27, 2017, 11:50:29 AM (3 years ago)
Author:
stuerze
Message:

health status check is added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/ephemeris.h

    r8184 r8188  
    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
     
    191193  virtual QString toString(double version) const;
    192194  virtual unsigned int  IOD() const;
     195  virtual unsigned int isUnhealthy() const;
    193196  virtual int slotNum() const {return int(_frequency_number);}
    194197
     
    282285  virtual e_type type() const {return t_eph::Galileo;}
    283286  virtual unsigned int  IOD() const { return static_cast<unsigned long>(_IODnav); }
     287  virtual unsigned int  isUnhealthy() const;
    284288
    285289 private:
     
    360364  virtual e_type  type() const {return t_eph::SBAS;}
    361365  virtual unsigned int IOD() const;
     366  virtual unsigned int  isUnhealthy() const { return static_cast<unsigned int>(_health); } 
    362367  virtual QString toString(double version) const;
    363368
     
    426431  virtual e_type  type() const {return t_eph::BDS;}
    427432  virtual unsigned int IOD() const;
     433  virtual unsigned int  isUnhealthy() const { return static_cast<unsigned int>(_SatH1); }
    428434  virtual QString toString(double version) const;
    429435
Note: See TracChangeset for help on using the changeset viewer.