Changeset 6812 in ntrip for trunk/BNC/src/ephemeris.h
- Timestamp:
- May 5, 2015, 3:44:39 PM (9 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src
- Property svn:ignore
-
old new 5 5 debug 6 6 release 7 html
-
- Property svn:ignore
-
trunk/BNC/src/ephemeris.h
r6809 r6812 9 9 #include "bncconst.h" 10 10 #include "t_prn.h" 11 12 extern "C" { 13 # include "rtcm3torinex.h" 14 } 11 #include "gnss.h" 15 12 16 13 class t_orbCorr; … … 55 52 class t_ephGPS : public t_eph { 56 53 friend class t_ephEncoder; 54 friend class RTCM3Decoder; 57 55 public: 58 56 t_ephGPS() { } … … 63 61 virtual QString toString(double version) const; 64 62 virtual int IOD() const { return static_cast<int>(_IODC); } 65 void set(const gpsephemeris* ee);66 63 double TGD() const {return _TGD;} // Timing Group Delay (P1-P2 DCB) 67 64 … … 109 106 class t_ephGlo : public t_eph { 110 107 friend class t_ephEncoder; 108 friend class RTCM3Decoder; 111 109 public: 112 110 t_ephGlo() { _xv.ReSize(6); } … … 118 116 virtual int IOD() const; 119 117 virtual int slotNum() const {return int(_frequency_number);} 120 void set(const glonassephemeris* ee);121 118 122 119 private: … … 150 147 class t_ephGal : public t_eph { 151 148 friend class t_ephEncoder; 152 public: 153 t_ephGal() : _flags(0) { }; 149 friend class RTCM3Decoder; 150 public: 151 t_ephGal() { }; 154 152 t_ephGal(float rnxVersion, const QStringList& lines); 155 153 virtual ~t_ephGal() {} … … 158 156 virtual e_type type() const {return t_eph::Galileo;} 159 157 virtual int IOD() const { return static_cast<int>(_IODnav); } 160 void set(const galileoephemeris* ee);161 158 162 159 private: … … 167 164 double _clock_driftrate; // [s/s^2] 168 165 169 double _IODnav; 166 double _IODnav; 170 167 double _Crs; // [m] 171 168 double _Delta_n; // [rad/s] … … 199 196 200 197 double _TOT; // [s] 201 202 int _flags; // GALEPHF_E5ADINVALID E5aDVS set invalid 203 // GALEPHF_E5BDINVALID E5bDVS set invalid 204 // GALEPHF_INAV INAV data 205 // GALEPHF_FNAV FNAV data 206 // GALEPHF_E1DINVALID E1DVS set invalid 198 /** Data comes from I/NAV when <code>true</code> */ 199 bool _inav; 200 /** Data comes from F/NAV when <code>true</code> */ 201 bool _fnav; 202 /** EE Data is not valid */ 203 bool _e1DataInValid; 204 /** E5A Data is not valid */ 205 bool _e5aDataInValid; 206 /** E5B Data is not valid */ 207 bool _e5bDataInValid; 207 208 }; 208 209 209 210 class t_ephSBAS : public t_eph { 210 211 friend class t_ephEncoder; 212 friend class RTCM3Decoder; 211 213 public: 212 214 t_ephSBAS() {} … … 214 216 virtual ~t_ephSBAS() {} 215 217 216 void set(const sbasephemeris* ee);217 218 virtual e_type type() const {return t_eph::SBAS;} 218 219 virtual int IOD() const {return _IODN;} … … 245 246 class t_ephBDS : public t_eph { 246 247 friend class t_ephEncoder; 248 friend class RTCM3Decoder; 247 249 public: 248 250 t_ephBDS() {} … … 250 252 virtual ~t_ephBDS() {} 251 253 252 void set(const bdsephemeris* ee);253 254 virtual e_type type() const {return t_eph::BDS;} 254 255 virtual int IOD() const {return _AODC;} … … 258 259 virtual t_irc position(int GPSweek, double GPSweeks, double* xc, double* vv) const; 259 260 260 bncTime_TOT;261 double _TOT; 261 262 bncTime _TOE; 262 bncTime _TOC_bdt;263 bncTime _TOE_bdt;264 263 int _AODE; 265 264 int _AODC; 265 int _URAI; // [0..15] index from RTCM stream 266 266 mutable double _URA; // user range accuracy 267 267 double _clock_bias; // [s] … … 286 286 double _TGD2; // [s] 287 287 int _SatH1; // 288 double _TOTs; // [s] of BDT week; RINEX file entry 289 double _TOEs; // [s] of BDT week; RINEX file entry 288 double _TOW; // [s] of BDT week; RINEX file entry 289 double _TOEsec; // [s] of BDT week; RINEX file entry 290 double _TOEweek; 290 291 }; 291 292
Note:
See TracChangeset
for help on using the changeset viewer.