Changeset 2550 in ntrip for trunk/BNC/bncpppclient.cpp
- Timestamp:
- Aug 8, 2010, 6:45:54 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r2549 r2550 56 56 using namespace std; 57 57 58 ////#define DEBUG_OUTPUT59 60 58 // Constructor 61 59 //////////////////////////////////////////////////////////////////////////// … … 129 127 t_obsInternal* obs = &(pp->_o); 130 128 131 #ifdef DEBUG_OUTPUT132 ostringstream str;133 str.setf(ios::fixed);134 str << "bncPPPclient::putNewObs: " << obs->satSys << obs->satNum;135 emit newMessage(QByteArray(str.str().c_str()), false);136 #endif137 138 129 if (obs->satSys != 'G' && !_useGlonass) { 139 130 return; … … 249 240 _epoData->satDataGlo[satData->prn] = satData; 250 241 } 251 252 242 } 253 243 … … 258 248 259 249 QString prn = QString("G%1").arg(gpseph.satellite, 2, 10, QChar('0')); 260 261 #ifdef DEBUG_OUTPUT262 ostringstream str;263 str.setf(ios::fixed);264 str << "bncPPPclient::slotNewEphGPS: " << prn.toAscii().data();265 emit newMessage(QByteArray(str.str().c_str()), false);266 #endif267 250 268 251 if (_eph.contains(prn)) { … … 287 270 288 271 QString prn = QString("R%1").arg(gloeph.almanac_number, 2, 10, QChar('0')); 289 290 #ifdef DEBUG_OUTPUT291 ostringstream str;292 str.setf(ios::fixed);293 str << "bncPPPclient::slotNewEphGlonass: " << prn.toAscii().data();294 emit newMessage(QByteArray(str.str().c_str()), false);295 #endif296 272 297 273 if (_eph.contains(prn)) { … … 320 296 return; 321 297 } 322 323 #ifdef DEBUG_OUTPUT324 ostringstream str;325 str.setf(ios::fixed);326 str << "bncPPPclient::slotNewCorrections: ";327 #endif328 298 329 299 // Remove All Corrections … … 362 332 363 333 cc->tt.set(GPSweek, GPSweeks); 364 365 #ifdef DEBUG_OUTPUT366 str << prn.toAscii().data() << " ";367 #endif368 334 369 335 if ( messageType == COTYPE_GPSCOMBINED || … … 441 407 } 442 408 443 #ifdef DEBUG_OUTPUT444 emit newMessage(QByteArray(str.str().c_str()), false);445 #endif446 447 409 QMutableMapIterator<QString, t_corr*> im(_corr); 448 410 while (im.hasNext()) {
Note:
See TracChangeset
for help on using the changeset viewer.