Changeset 5766 in ntrip for trunk/BNC/src/PPP/pppThread.cpp


Ignore:
Timestamp:
Aug 4, 2014, 8:55:22 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5763 r5766  
    6161t_pppThread::~t_pppThread() {
    6262  delete _pppRun;
    63   cout << "~t_pppThread" << endl;
    6463}
    6564
     
    6766////////////////////////////////////////////////////////////////////////////
    6867void t_pppThread::run() {
    69 
    70   cout << _opt->_roverName << " run" << endl;
    71 
    7268  try {
    7369    _pppRun = new t_pppRun(_opt);
     
    7571  }
    7672  catch (pppExcept exc) {
    77     cout << exc.what() << endl;
     73    emit newMessage(QByteArray(exc.what().c_str()), true);
    7874  }
    79   cout << _opt->_roverName << " exit" << endl;
    8075}
    8176
     
    10398  }
    10499  else {
    105     cout << "t_pppRun: post-processing not yet implemented" << endl;
     100    throw pppExcept("t_pppRun: post-processing not yet implemented");
    106101  }
    107102}
     
    110105////////////////////////////////////////////////////////////////////////////
    111106t_pppRun::~t_pppRun() {
    112   ////  delete _pppClient;
    113   cout << "~t_pppRun" << endl;
    114107}
    115108
     
    118111void t_pppRun::slotNewEphGPS(gpsephemeris gpseph) {
    119112  QMutexLocker locker(&_mutex);
    120   cout << _opt->_roverName << " slotNewEphGPS" << endl;
    121113  t_ephGPS eph;
    122114  eph.set(&gpseph);
     
    128120void t_pppRun::slotNewEphGlonass(glonassephemeris gloeph) {
    129121  QMutexLocker locker(&_mutex);
    130   cout << _opt->_roverName << " slotNewEphGlonass" << endl;
    131122}
    132123 
     
    135126void t_pppRun::slotNewEphGalileo(galileoephemeris /* galeph */) {
    136127  QMutexLocker locker(&_mutex);
    137   cout << _opt->_roverName << " slotNewEphGalileo" << endl;
    138128}
    139129
     
    142132void t_pppRun::slotNewCorrections(QStringList corrList) {
    143133  QMutexLocker locker(&_mutex);
    144   cout << _opt->_roverName << " slotNewCorrections" << endl;
    145134}
    146135//
     
    148137void t_pppRun::slotNewObs(QByteArray staID, QList<t_obs> obsList) {
    149138  QMutexLocker locker(&_mutex);
    150   cout << _opt->_roverName << " slotNewObs" << endl;
     139
     140  QByteArray msg = "slotNewObs";
     141  emit newMessage(msg, true);
    151142}
    152143   
Note: See TracChangeset for help on using the changeset viewer.