Changeset 5766 in ntrip for trunk/BNC/src/PPP/pppThread.cpp
- Timestamp:
- Aug 4, 2014, 8:55:22 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppThread.cpp
r5763 r5766 61 61 t_pppThread::~t_pppThread() { 62 62 delete _pppRun; 63 cout << "~t_pppThread" << endl;64 63 } 65 64 … … 67 66 //////////////////////////////////////////////////////////////////////////// 68 67 void t_pppThread::run() { 69 70 cout << _opt->_roverName << " run" << endl;71 72 68 try { 73 69 _pppRun = new t_pppRun(_opt); … … 75 71 } 76 72 catch (pppExcept exc) { 77 cout << exc.what() << endl;73 emit newMessage(QByteArray(exc.what().c_str()), true); 78 74 } 79 cout << _opt->_roverName << " exit" << endl;80 75 } 81 76 … … 103 98 } 104 99 else { 105 cout << "t_pppRun: post-processing not yet implemented" << endl;100 throw pppExcept("t_pppRun: post-processing not yet implemented"); 106 101 } 107 102 } … … 110 105 //////////////////////////////////////////////////////////////////////////// 111 106 t_pppRun::~t_pppRun() { 112 //// delete _pppClient;113 cout << "~t_pppRun" << endl;114 107 } 115 108 … … 118 111 void t_pppRun::slotNewEphGPS(gpsephemeris gpseph) { 119 112 QMutexLocker locker(&_mutex); 120 cout << _opt->_roverName << " slotNewEphGPS" << endl;121 113 t_ephGPS eph; 122 114 eph.set(&gpseph); … … 128 120 void t_pppRun::slotNewEphGlonass(glonassephemeris gloeph) { 129 121 QMutexLocker locker(&_mutex); 130 cout << _opt->_roverName << " slotNewEphGlonass" << endl;131 122 } 132 123 … … 135 126 void t_pppRun::slotNewEphGalileo(galileoephemeris /* galeph */) { 136 127 QMutexLocker locker(&_mutex); 137 cout << _opt->_roverName << " slotNewEphGalileo" << endl;138 128 } 139 129 … … 142 132 void t_pppRun::slotNewCorrections(QStringList corrList) { 143 133 QMutexLocker locker(&_mutex); 144 cout << _opt->_roverName << " slotNewCorrections" << endl;145 134 } 146 135 // … … 148 137 void t_pppRun::slotNewObs(QByteArray staID, QList<t_obs> obsList) { 149 138 QMutexLocker locker(&_mutex); 150 cout << _opt->_roverName << " slotNewObs" << endl; 139 140 QByteArray msg = "slotNewObs"; 141 emit newMessage(msg, true); 151 142 } 152 143
Note:
See TracChangeset
for help on using the changeset viewer.