Changeset 3108 in ntrip
- Timestamp:
- Mar 22, 2011, 10:04:25 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r3107 r3108 251 251 } 252 252 253 // Reset 253 // Destructor 254 //////////////////////////////////////////////////////////////////////////// 255 bncModel::~bncModel() { 256 delete _nmeaStream; 257 delete _nmeaFile; 258 for (int ii = 0; ii < _posAverage.size(); ++ii) { 259 delete _posAverage[ii]; 260 } 261 delete _antex; 262 for (int iPar = 1; iPar <= _params.size(); iPar++) { 263 delete _params[iPar-1]; 264 } 265 } 266 267 // Reset Parameters and Variance-Covariance Matrix 254 268 //////////////////////////////////////////////////////////////////////////// 255 269 void bncModel::reset() { … … 289 303 _QQ(iPar,iPar) = _sigGalileoOffset0 * _sigGalileoOffset0; 290 304 } 291 }292 }293 294 // Destructor295 ////////////////////////////////////////////////////////////////////////////296 bncModel::~bncModel() {297 delete _nmeaStream;298 delete _nmeaFile;299 for (int ii = 0; ii < _posAverage.size(); ++ii) {300 delete _posAverage[ii];301 }302 delete _antex;303 for (int iPar = 1; iPar <= _params.size(); iPar++) {304 delete _params[iPar-1];305 305 } 306 306 } … … 468 468 _time = epoData->tt; // current epoch time 469 469 470 const double MAXSOLGAP = 10.0;470 const double MAXSOLGAP = 60.0; 471 471 472 472 bool firstCrd = false;
Note:
See TracChangeset
for help on using the changeset viewer.