Changeset 5973 in ntrip for trunk/BNC/src/PPP/pppRun.cpp


Ignore:
Timestamp:
Aug 17, 2014, 1:35:50 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppRun.cpp

    r5954 r5973  
    6161////////////////////////////////////////////////////////////////////////////
    6262t_pppRun::t_pppRun(const t_pppOptions* opt) {
     63
     64  cout << "t_pppRun" << endl;
    6365
    6466  _opt = opt;
     
    108110    connect(BNC_CORE, SIGNAL(mapSpeedSliderChanged(int)),   
    109111            this, SLOT(slotSetSpeed(int)));
    110   }
     112    connect(BNC_CORE, SIGNAL(stopRinexPPP()), this, SLOT(slotSetStopFlag()));
     113  }
     114 
     115  _stopFlag = false;
    111116}
    112117
     
    114119////////////////////////////////////////////////////////////////////////////
    115120t_pppRun::~t_pppRun() {
     121  cout << "~t_pppRun" << endl;
    116122}
    117123
     
    380386  int   nEpo = 0;
    381387  const t_rnxObsFile::t_rnxEpo* epo = 0;
    382   while ( (epo = _rnxObsFile->nextEpoch()) != 0 ) {
     388  while ( !_stopFlag && (epo = _rnxObsFile->nextEpoch()) != 0 ) {
    383389    ++nEpo;
    384390
     
    439445  _speed = speed;
    440446}
     447
     448// 
     449////////////////////////////////////////////////////////////////////////////
     450void 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.