Changeset 7169 in ntrip
- Timestamp:
- Aug 5, 2015, 2:29:18 PM (9 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM/RTCM2Decoder.cpp
r7055 r7169 308 308 vector<string> hasIOD; 309 309 for (unsigned ii = 0; ii < 4; ii++) { 310 unsigned longIODcorr = 0;310 unsigned int IODcorr = 0; 311 311 double corrVal = 0; 312 312 const t_eph* eph = 0; -
trunk/BNC/src/RTCM3/RTCM3coDecoder.h
r7055 r7169 71 71 int _providerID[3]; 72 72 bncTime _lastTime; 73 QMap<t_prn, unsigned long>_IODs;73 QMap<t_prn, unsigned int> _IODs; 74 74 QMap<bncTime, QList<t_orbCorr> > _orbCorrections; 75 75 QMap<bncTime, QList<t_clkCorr> > _clkCorrections; -
trunk/BNC/src/ephemeris.cpp
r7140 r7169 651 651 // IOD of Glonass Ephemeris (virtual) 652 652 //////////////////////////////////////////////////////////////////////////// 653 unsigned longt_ephGlo::IOD() const {653 unsigned int t_ephGlo::IOD() const { 654 654 bncTime tMoscow = _TOC - _gps_utc + 3 * 3600.0; 655 655 return (unsigned long)tMoscow.daysec() / 900; … … 1142 1142 //////////////////////////////////////////////////////////////////////////// 1143 1143 1144 unsigned longt_ephSBAS::IOD() const {1144 unsigned int t_ephSBAS::IOD() const { 1145 1145 unsigned char buffer[80]; 1146 1146 int size = 0; … … 1373 1373 // IOD of BDS Ephemeris (virtual) 1374 1374 //////////////////////////////////////////////////////////////////////////// 1375 unsigned longt_ephBDS::IOD() const {1375 unsigned int t_ephBDS::IOD() const { 1376 1376 unsigned char buffer[80]; 1377 1377 int size = 0; -
trunk/BNC/src/ephemeris.h
r7054 r7169 25 25 virtual e_type type() const = 0; 26 26 virtual QString toString(double version) const = 0; 27 virtual unsigned longIOD() const = 0;27 virtual unsigned int IOD() const = 0; 28 28 virtual int slotNum() const {return 0;} 29 29 bncTime TOC() const {return _TOC;} … … 61 61 virtual e_type type() const {return (_prn.system() == 'J' ? t_eph::QZSS : t_eph::GPS); } 62 62 virtual QString toString(double version) const; 63 virtual unsigned long IOD() const { return static_cast<unsigned long>(_IODC); }63 virtual unsigned int IOD() const { return static_cast<unsigned int>(_IODC); } 64 64 double TGD() const {return _TGD;} // Timing Group Delay (P1-P2 DCB) 65 65 … … 115 115 virtual e_type type() const {return t_eph::GLONASS;} 116 116 virtual QString toString(double version) const; 117 virtual unsigned longIOD() const;117 virtual unsigned int IOD() const; 118 118 virtual int slotNum() const {return int(_frequency_number);} 119 119 … … 156 156 virtual QString toString(double version) const; 157 157 virtual e_type type() const {return t_eph::Galileo;} 158 virtual unsigned longIOD() const { return static_cast<unsigned long>(_IODnav); }158 virtual unsigned int IOD() const { return static_cast<unsigned long>(_IODnav); } 159 159 160 160 private: … … 218 218 219 219 virtual e_type type() const {return t_eph::SBAS;} 220 virtual unsigned longIOD() const;220 virtual unsigned int IOD() const; 221 221 virtual QString toString(double version) const; 222 222 … … 254 254 255 255 virtual e_type type() const {return t_eph::BDS;} 256 virtual unsigned longIOD() const;256 virtual unsigned int IOD() const; 257 257 virtual QString toString(double version) const; 258 258 -
trunk/BNC/src/pppRun.cpp
r7055 r7169 436 436 // ---------------- 437 437 t_eph* eph = 0; 438 const QMap<QString, unsigned long>* corrIODs = _corrFile ? &_corrFile->corrIODs() : 0;438 const QMap<QString, unsigned int>* corrIODs = _corrFile ? &_corrFile->corrIODs() : 0; 439 439 while ( (eph = _rnxNavFile->getNextEph(epo->tt, corrIODs)) != 0 ) { 440 440 _pppClient->putEphemeris(eph); -
trunk/BNC/src/rinex/corrfile.h
r7055 r7169 39 39 ~t_corrFile(); 40 40 void syncRead(const bncTime& tt); 41 const QMap<QString, unsigned long>& corrIODs() const {return _corrIODs;}41 const QMap<QString, unsigned int>& corrIODs() const {return _corrIODs;} 42 42 43 43 signals: … … 49 49 50 50 private: 51 std::ifstream 52 std::string 53 bncTime 54 QMap<QString, unsigned long> _corrIODs;51 std::ifstream _stream; 52 std::string _lastLine; 53 bncTime _lastEpoTime; 54 QMap<QString, unsigned int> _corrIODs; 55 55 }; 56 56 -
trunk/BNC/src/rinex/rnxnavfile.cpp
r7055 r7169 212 212 //////////////////////////////////////////////////////////////////////////// 213 213 t_eph* t_rnxNavFile::getNextEph(const bncTime& tt, 214 const QMap<QString, unsigned long>* corrIODs) {214 const QMap<QString, unsigned int>* corrIODs) { 215 215 216 216 // Get Ephemeris according to IOD 217 217 // ------------------------------ 218 218 if (corrIODs) { 219 QMapIterator<QString, unsigned long> itIOD(*corrIODs);219 QMapIterator<QString, unsigned int> itIOD(*corrIODs); 220 220 while (itIOD.hasNext()) { 221 221 itIOD.next(); 222 222 QString prn = itIOD.key(); 223 unsigned longiod = itIOD.value();223 unsigned int iod = itIOD.value(); 224 224 vector<t_eph*>::iterator it = _ephs.begin(); 225 225 while (it != _ephs.end()) { -
trunk/BNC/src/rinex/rnxnavfile.h
r7055 r7169 55 55 t_rnxNavFile(const QString& fileName, e_inpOut inpOut); 56 56 ~t_rnxNavFile(); 57 t_eph* getNextEph(const bncTime& tt, const QMap<QString, unsigned long>* corrIODs);57 t_eph* getNextEph(const bncTime& tt, const QMap<QString, unsigned int>* corrIODs); 58 58 const std::vector<t_eph*> ephs() const {return _ephs;} 59 59 double version() const {return _header._version;} -
trunk/BNC/src/satObs.h
r7055 r7169 87 87 std::string _staID; 88 88 t_prn _prn; 89 unsigned long_iod;89 unsigned int _iod; 90 90 bncTime _time; 91 91 unsigned int _updateInt; … … 102 102 std::string _staID; 103 103 t_prn _prn; 104 unsigned long_iod;104 unsigned int _iod; 105 105 bncTime _time; 106 106 unsigned int _updateInt; -
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r7058 r7169 2101 2101 } 2102 2102 2103 outLine.sprintf("%d %.1f %s % lu %10.3f %8.3f %8.3f %8.3f\n", GPSweek,2103 outLine.sprintf("%d %.1f %s %u %10.3f %8.3f %8.3f %8.3f\n", GPSweek, 2104 2104 GPSweeks, eph->prn().toString().c_str(), eph->IOD(), dClk, rsw(1), rsw(2), 2105 2105 rsw(3));
Note:
See TracChangeset
for help on using the changeset viewer.