Changeset 847 in ntrip for trunk/BNS/bns.cpp


Ignore:
Timestamp:
Apr 25, 2008, 10:44:23 AM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r840 r847  
    2020#include "bns.h"
    2121#include "bnsutils.h"
     22#include "bnsrinex.h"
    2223
    2324using namespace std;
     
    7778      _logStream = new QTextStream(_logFile);
    7879    }
     80  }
     81
     82  // RINEX writer
     83  // ------------
     84  if ( settings.value("rnxPath").toString().isEmpty() ) {
     85    _rnx = 0;
     86  }
     87  else {
     88    _rnx = new bnsRinex();
    7989  }
    8090}
     
    319329    _outSocket->flush();
    320330  }
     331  if (_rnx) {
     332    _rnx->write(GPSweek, GPSweeks, prn, xx);
     333  }
    321334}
    322335
Note: See TracChangeset for help on using the changeset viewer.