Changeset 4694 in ntrip
- Timestamp:
- Sep 9, 2012, 5:25:03 PM (12 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r4693 r4694 247 247 .arg(obs.satNum, 2, 10, QChar('0')); 248 248 249 _allObsMap[prn].addObs(obs); 250 251 _obsStat._prnStat[prn]._numObs += 1; 249 t_irc irc = _allObsMap[prn].addObs(obs); 250 251 if (irc == success) { 252 const t_oneObs* newObs = _allObsMap[prn]._oneObsVec.last(); 253 if (newObs->_hasL1 && newObs->_hasL2) { 254 _obsStat._prnStat[prn]._numObs += 1; 255 } 256 } 252 257 } 253 258 … … 298 303 // 299 304 //////////////////////////////////////////////////////////////////////////// 300 voidt_reqcAnalyze::t_allObs::addObs(const t_obs& obs) {305 t_irc t_reqcAnalyze::t_allObs::addObs(const t_obs& obs) { 301 306 302 307 t_oneObs* newObs = new t_oneObs(obs.GPSWeek, obs.GPSWeeks); … … 382 387 if (okFlag) { 383 388 _oneObsVec << newObs; 389 return success; 384 390 } 385 391 else { 386 392 delete newObs; 393 return failure; 387 394 } 388 395 } -
trunk/BNC/src/rinex/reqcanalyze.h
r4689 r4694 146 146 } 147 147 } 148 voidaddObs(const t_obs& obs);148 t_irc addObs(const t_obs& obs); 149 149 QVector<t_oneObs*> _oneObsVec; 150 150 };
Note:
See TracChangeset
for help on using the changeset viewer.