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


Ignore:
Timestamp:
Dec 30, 2014, 2:36:15 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r6400 r6518  
    2020 public:
    2121  enum e_type {unknown, GPS, QZSS, GLONASS, Galileo, SBAS, Compass};
     22  enum e_checkState {unchecked, ok, suspicious, bad};
    2223
    2324  t_eph();
     
    2829  virtual int     IOD() const = 0;
    2930  virtual int     slotNum() const {return 0;}
    30   bool    ok() const {return _ok;}
    3131  bncTime TOC() const {return _TOC;}
    3232  bool    isNewerThan(const t_eph* eph) const {return earlierTime(eph, this);}
     33  e_checkState checkState() const {return _checkState;}
    3334  t_prn   prn() const {return _prn;}
    3435  t_irc   getCrd(const bncTime& tt, ColumnVector& xc, ColumnVector& vv, bool useCorr) const;
     
    4243 protected: 
    4344  virtual t_irc position(int GPSweek, double GPSweeks, double* xc, double* vv) const = 0;
    44   t_prn      _prn;
    45   bncTime    _TOC;
    46   QDateTime  _receptDateTime;
    47   bool       _ok;
    48   t_orbCorr* _orbCorr;
    49   t_clkCorr* _clkCorr;
     45  t_prn        _prn;
     46  bncTime      _TOC;
     47  QDateTime    _receptDateTime;
     48  e_checkState _checkState;
     49  t_orbCorr*   _orbCorr;
     50  t_clkCorr*   _clkCorr;
    5051};
    5152
Note: See TracChangeset for help on using the changeset viewer.