Changeset 6497 in ntrip for trunk/BNC/src/RTCM3
- Timestamp:
- Dec 29, 2014, 1:29:53 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r6492 r6497 215 215 void RTCM3coDecoder::sendResults() { 216 216 217 QList<t_orbCorr>& orbCorrections = _orbCorrections[_lastTime];218 QList<t_clkCorr>& clkCorrections = _clkCorrections[_lastTime];219 QList<t_satCodeBias>& codeBiases = _codeBiases[_lastTime];220 QList<t_satPhaseBias>& phaseBiases = _phaseBiases[_lastTime];221 t_vTec& vTec = _vTecMap[_lastTime];222 223 217 // Orbit and clock corrections of all satellites 224 218 // --------------------------------------------- … … 255 249 orbCorr._dotXr[2] = _clkOrb.Sat[ii].Orbit.DotDeltaCrossTrack; 256 250 257 orbCorrections.push_back(orbCorr);251 _orbCorrections[_lastTime].push_back(orbCorr); 258 252 259 253 _IODs[orbCorr._prn] = _clkOrb.Sat[ii].IOD; … … 279 273 if (_IODs.contains(clkCorr._prn)) { 280 274 clkCorr._iod = _IODs[clkCorr._prn]; 281 clkCorrections.push_back(clkCorr);275 _clkCorrections[_lastTime].push_back(clkCorr); 282 276 } 283 277 } … … 296 290 if (_IODs.contains(clkCorr._prn)) { 297 291 clkCorr._iod = _IODs[clkCorr._prn]; 298 clkCorrections.push_back(clkCorr);292 _clkCorrections[_lastTime].push_back(clkCorr); 299 293 } 300 294 } … … 328 322 } 329 323 } 330 codeBiases.push_back(satCodeBias);324 _codeBiases[_lastTime].push_back(satCodeBias); 331 325 } 332 326 … … 362 356 } 363 357 } 364 phaseBiases.push_back(satPhaseBias);358 _phaseBiases[_lastTime].push_back(satPhaseBias); 365 359 } 366 360 … … 368 362 // ----------------- 369 363 if (_vTEC.NumLayers > 0) { 370 vTec._time = _lastTime;371 vTec._staID = _staID.toAscii().data();364 _vTecMap[_lastTime]._time = _lastTime; 365 _vTecMap[_lastTime]._staID = _staID.toAscii().data(); 372 366 for (unsigned ii = 0; ii < _vTEC.NumLayers; ii++) { 373 367 const VTEC::IonoLayers& ionoLayer = _vTEC.Layers[ii]; … … 382 376 } 383 377 } 384 vTec._layers.push_back(layer); 385 } 386 } 387 388 // Remove Empty Lists 389 // ------------------ 390 if (orbCorrections.size() == 0) { 391 _orbCorrections.remove(_lastTime); 392 } 393 if (clkCorrections.size() == 0) { 394 _clkCorrections.remove(_lastTime); 395 } 396 if (codeBiases.size() == 0) { 397 _codeBiases.remove(_lastTime); 398 } 399 if (phaseBiases.size() == 0) { 400 _phaseBiases.remove(_lastTime); 401 } 402 if (vTec._layers.size() == 0) { 403 _vTecMap.remove(_lastTime); 378 _vTecMap[_lastTime]._layers.push_back(layer); 379 } 404 380 } 405 381
Note:
See TracChangeset
for help on using the changeset viewer.