- Timestamp:
- Jun 17, 2013, 4:47:48 PM (11 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/bncpostprocess.cpp
r5262 r5263 55 55 // Constructor 56 56 //////////////////////////////////////////////////////////////////////////// 57 t_postProcessing::t_postProcessing(QObject* parent, int maxSpeed ) : QThread(parent) {57 t_postProcessing::t_postProcessing(QObject* parent, int maxSpeed, int speed) : QThread(parent) { 58 58 59 59 _maxSpeed = maxSpeed; 60 _speed = speed; 60 61 _opt = new t_pppOpt(); 61 62 _rnxObsFile = 0; … … 204 205 205 206 for (unsigned iObs = 0; iObs < epo->rnxSat.size(); iObs++) { 207 208 if (_maxSpeed != 0) { 209 QMutexLocker locker(&_mutex); 210 } 211 206 212 if (_isToBeDeleted) { 207 213 QThread::exit(0); … … 252 258 //////////////////////////////////////////////////////////////////////////// 253 259 void t_postProcessing::slotSetSpeed(int speed) { 254 qDebug() << "speed" << speed; 255 } 260 QMutexLocker locker(&_mutex); 261 _speed = speed; 262 } -
trunk/BNC/src/rinex/bncpostprocess.h
r5262 r5263 43 43 44 44 public: 45 t_postProcessing(QObject* parent, int maxSpeed = 0);45 t_postProcessing(QObject* parent, int maxSpeed, int speed); 46 46 static void setObsFromRnx(const t_rnxObsFile* rnxObsFile, 47 47 const t_rnxObsFile::t_rnxEpo* epo, … … 74 74 bool _isToBeDeleted; 75 75 int _maxSpeed; 76 int _speed; 77 QMutex _mutex; 76 78 }; 77 79
Note:
See TracChangeset
for help on using the changeset viewer.