Changeset 2550 in ntrip for trunk/BNC/bncpppclient.cpp


Ignore:
Timestamp:
Aug 8, 2010, 6:45:54 PM (14 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpppclient.cpp

    r2549 r2550  
    5656using namespace std;
    5757
    58 ////#define DEBUG_OUTPUT
    59 
    6058// Constructor
    6159////////////////////////////////////////////////////////////////////////////
     
    129127  t_obsInternal* obs = &(pp->_o);
    130128
    131 #ifdef DEBUG_OUTPUT
    132   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 #endif
    137 
    138129  if (obs->satSys != 'G' && !_useGlonass) {
    139130    return;
     
    249240    _epoData->satDataGlo[satData->prn] = satData;
    250241  }
    251 
    252242}
    253243
     
    258248
    259249  QString prn = QString("G%1").arg(gpseph.satellite, 2, 10, QChar('0'));
    260 
    261 #ifdef DEBUG_OUTPUT
    262   ostringstream str;
    263   str.setf(ios::fixed);
    264   str << "bncPPPclient::slotNewEphGPS: " << prn.toAscii().data();
    265   emit newMessage(QByteArray(str.str().c_str()), false);
    266 #endif
    267250
    268251  if (_eph.contains(prn)) {
     
    287270
    288271  QString prn = QString("R%1").arg(gloeph.almanac_number, 2, 10, QChar('0'));
    289 
    290 #ifdef DEBUG_OUTPUT
    291   ostringstream str;
    292   str.setf(ios::fixed);
    293   str << "bncPPPclient::slotNewEphGlonass: " << prn.toAscii().data();
    294   emit newMessage(QByteArray(str.str().c_str()), false);
    295 #endif
    296272
    297273  if (_eph.contains(prn)) {
     
    320296    return;
    321297  }
    322 
    323 #ifdef DEBUG_OUTPUT
    324   ostringstream str;
    325   str.setf(ios::fixed);
    326   str << "bncPPPclient::slotNewCorrections: ";
    327 #endif
    328298
    329299  // Remove All Corrections
     
    362332
    363333      cc->tt.set(GPSweek, GPSweeks);
    364 
    365 #ifdef DEBUG_OUTPUT
    366       str << prn.toAscii().data() << " ";
    367 #endif
    368334
    369335      if      ( messageType == COTYPE_GPSCOMBINED    ||
     
    441407  }
    442408
    443 #ifdef DEBUG_OUTPUT
    444   emit newMessage(QByteArray(str.str().c_str()), false);
    445 #endif
    446 
    447409  QMutableMapIterator<QString, t_corr*> im(_corr);
    448410  while (im.hasNext()) {
Note: See TracChangeset for help on using the changeset viewer.