Changeset 3529 in ntrip for trunk


Ignore:
Timestamp:
Dec 16, 2011, 5:34:33 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/RTCM
Files:
2 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}
  • trunk/BNC/RTCM/GPSDecoder.h

    r3528 r3529  
    130130  virtual int corrGPSEpochTime() const {return -1;}
    131131
     132  void initRinex(const QByteArray& staID, const QUrl& mountPoint,
     133                 const QByteArray& latitude, const QByteArray& longitude,
     134                 const QByteArray& nmea, const QByteArray& ntripVersion);
     135
    132136  void dumpRinexEpoch(const t_obs& obs, const QByteArray& format);
    133137
Note: See TracChangeset for help on using the changeset viewer.