Changeset 3756 in ntrip
- Timestamp:
- Apr 1, 2012, 4:04:20 PM (13 years ago)
- Location:
- trunk/BNC/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/rinex/corrfile.cpp
r3752 r3756 42 42 #include "corrfile.h" 43 43 #include "bncutils.h" 44 #include "bncephuser.h" 44 45 45 46 using namespace std; … … 85 86 if (stopRead(tt)) { 86 87 if (corrs.size()) { 88 89 QListIterator<QString> it(corrs); 90 while (it.hasNext()) { 91 const QString& cLine = it.next(); 92 t_corr* corr = new t_corr(); 93 corr->readLine(cLine); 94 if (corr->tRao.valid()) { 95 _corrIODs[corr->prn] = corr->iod; 96 } 97 } 98 87 99 emit newCorrections(corrs); 88 100 } -
trunk/BNC/rinex/corrfile.h
r3721 r3756 37 37 ~t_corrFile(); 38 38 void syncRead(const bncTime& tt); 39 const QMap<QString, int>& corrIODs() const {return _corrIODs;} 39 40 40 41 signals: … … 43 44 private: 44 45 bool stopRead(const bncTime& tt); 45 QFile* _file; 46 QTextStream* _stream; 47 QString _lastLine; 46 QFile* _file; 47 QTextStream* _stream; 48 QString _lastLine; 49 QMap<QString, int> _corrIODs; 48 50 }; 49 51
Note:
See TracChangeset
for help on using the changeset viewer.