Changeset 3529 in ntrip for trunk/BNC/RTCM/GPSDecoder.cpp


Ignore:
Timestamp:
Dec 16, 2011, 5:34:33 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM/GPSDecoder.cpp

    r3528 r3529  
    5050//////////////////////////////////////////////////////////////////////////////
    5151GPSDecoder::GPSDecoder() {
     52  _rnx = 0;
     53}
     54
     55// Initialize RINEX Writer
     56//////////////////////////////////////////////////////////////////////////////
     57void GPSDecoder::initRinex(const QByteArray& staID, const QUrl& mountPoint,
     58                           const QByteArray& latitude,
     59                           const QByteArray& longitude, const QByteArray& nmea,
     60                           const QByteArray& ntripVersion) {
     61  if (_rnx) {
     62    return;
     63  }
    5264  bncSettings settings;
    53   if ( settings.value("rnxPath").toString().isEmpty() ) {
    54     _rnx = 0;
    55   }
    56   else {
    57 //    _rnx = new bncRinex(_staID, _mountPoint, _latitude, _longitude,
    58 //                        _nmea, _ntripVersion);
     65  if ( !settings.value("rnxPath").toString().isEmpty() ) {
     66    _rnx = new bncRinex(staID, mountPoint, latitude, longitude,
     67                        nmea, ntripVersion);
    5968  }
    6069}
Note: See TracChangeset for help on using the changeset viewer.