Changeset 1391 in ntrip for trunk


Ignore:
Timestamp:
Dec 29, 2008, 11:15:50 AM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnccaster.cpp

    r1390 r1391  
    3939 * -----------------------------------------------------------------------*/
    4040
    41 #include <iostream>
    42 
    4341#include <math.h>
    4442#include <unistd.h>
     
    4947#include "bncutils.h"
    5048#include "RTCM/GPSDecoder.h"
    51 
    52 using namespace std;
    5349
    5450// Constructor
     
    121117  while(it.hasNext()){
    122118    bncGetThread* thread = it.next();
    123     cout << "~bncCaster A" << endl;
    124119    thread->terminate();
    125     cout << "~bncCaster B" << endl;
    126120    thread->wait();
    127     cout << "~bncCaster C" << endl;
    128121    delete thread;
    129     cout << "~bncCaster D" << endl;
    130122  }
    131123  delete _out;
  • trunk/BNC/bncgetthread.cpp

    r1390 r1391  
    302302////////////////////////////////////////////////////////////////////////////
    303303void bncGetThread::terminate() {
    304   cout << "terminate a" << endl;
    305304  if (_query) {
    306305    _query->stop();
    307306  }
    308   cout << "terminate b" << endl;
    309307  QThread::terminate();
    310308}
  • trunk/BNC/bncnetqueryv2.cpp

    r1390 r1391  
    3737}
    3838
    39 //
     39// Stop (quit even loop)
    4040////////////////////////////////////////////////////////////////////////////
    4141void bncNetQueryV2::stop() {
    42   _reply->abort();
    4342  _eventLoop->quit();
    4443}
  • trunk/BNC/bncnetqueryv2.h

    r1389 r1391  
    1111  virtual ~bncNetQueryV2();
    1212
     13  virtual void stop();
    1314  virtual void waitForRequestResult(const QUrl& url, QByteArray& outData);
    1415  virtual void startRequest(const QUrl& url, const QByteArray& gga);
Note: See TracChangeset for help on using the changeset viewer.