Changeset 3108 in ntrip


Ignore:
Timestamp:
Mar 22, 2011, 10:04:25 AM (14 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r3107 r3108  
    251251}
    252252
    253 // Reset
     253// Destructor
     254////////////////////////////////////////////////////////////////////////////
     255bncModel::~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
    254268////////////////////////////////////////////////////////////////////////////
    255269void bncModel::reset() {
     
    289303      _QQ(iPar,iPar) = _sigGalileoOffset0 * _sigGalileoOffset0;
    290304    }
    291   }
    292 }
    293 
    294 // Destructor
    295 ////////////////////////////////////////////////////////////////////////////
    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];
    305305  }
    306306}
     
    468468  _time = epoData->tt; // current epoch time
    469469
    470   const double MAXSOLGAP = 10.0;
     470  const double MAXSOLGAP = 60.0;
    471471
    472472  bool firstCrd = false;
Note: See TracChangeset for help on using the changeset viewer.