Changeset 5973 in ntrip for trunk/BNC/src/PPP/pppRun.cpp
- Timestamp:
- Aug 17, 2014, 1:35:50 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppRun.cpp
r5954 r5973 61 61 //////////////////////////////////////////////////////////////////////////// 62 62 t_pppRun::t_pppRun(const t_pppOptions* opt) { 63 64 cout << "t_pppRun" << endl; 63 65 64 66 _opt = opt; … … 108 110 connect(BNC_CORE, SIGNAL(mapSpeedSliderChanged(int)), 109 111 this, SLOT(slotSetSpeed(int))); 110 } 112 connect(BNC_CORE, SIGNAL(stopRinexPPP()), this, SLOT(slotSetStopFlag())); 113 } 114 115 _stopFlag = false; 111 116 } 112 117 … … 114 119 //////////////////////////////////////////////////////////////////////////// 115 120 t_pppRun::~t_pppRun() { 121 cout << "~t_pppRun" << endl; 116 122 } 117 123 … … 380 386 int nEpo = 0; 381 387 const t_rnxObsFile::t_rnxEpo* epo = 0; 382 while ( (epo = _rnxObsFile->nextEpoch()) != 0 ) {388 while ( !_stopFlag && (epo = _rnxObsFile->nextEpoch()) != 0 ) { 383 389 ++nEpo; 384 390 … … 439 445 _speed = speed; 440 446 } 447 448 // 449 //////////////////////////////////////////////////////////////////////////// 450 void t_pppRun::slotSetStopFlag() { 451 QMutexLocker locker(&_mutex); 452 cout << "t_pppRun::slotSetStopFlag" << endl; 453 _stopFlag = true; 454 }
Note:
See TracChangeset
for help on using the changeset viewer.