Changeset 3505 in ntrip


Ignore:
Timestamp:
Nov 19, 2011, 2:57:04 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/GPSS/hassDecoder.cpp

    r3504 r3505  
    1717
    1818#include "hassDecoder.h"
    19 #include "bncapp.h"
    2019
    2120using namespace std;
     
    2322// Constructor
    2423////////////////////////////////////////////////////////////////////////////
    25 hassDecoder::hassDecoder() : GPSDecoder() {
     24hassDecoder::hassDecoder(const QString& staID) : RTCM3coDecoder(staID) {
    2625}
    2726
  • trunk/BNC/GPSS/hassDecoder.h

    r3504 r3505  
    55#include <QtCore>
    66
    7 #include "RTCM/GPSDecoder.h"
    8 #include "rtcm3torinex.h"
     7#include "RTCM3/RTCM3coDecoder.h"
    98
    10 class hassDecoder : public QObject, public GPSDecoder {
     9class hassDecoder : public RTCM3coDecoder {
    1110Q_OBJECT
    1211
    1312 public:
    14   hassDecoder();
     13  hassDecoder(const QString& staID);
    1514  virtual ~hassDecoder();
    1615  virtual t_irc Decode(char* data, int dataLen, std::vector<std::string>& errmsg);
    1716
    18  signals:
    19   void newMessage(QByteArray msg, bool showOnScreen);
    20 
    2117 private:
    22   QByteArray _buffer;
    2318} ;
    2419
  • trunk/BNC/RTCM3/RTCM3coDecoder.h

    r3035 r3505  
    5252  void newCorrLine(QString line, QString staID, long coTime);
    5353
    54  private:
     54 protected:
    5555  void printLine(const QString& line, long coTime);
    56 
    57   int            _port;
    5856  std::ofstream* _out;
    5957  QString        _staID;
     
    6159  QString        _fileName;
    6260  QByteArray     _buffer;
     61  double         _GPSweeks;
     62
     63 private:
    6364  ClockOrbit     _co;
    6465  Bias           _bias;
    65   double         _GPSweeks;
    6666};
    6767
  • trunk/BNC/bncgetthread.cpp

    r3504 r3505  
    321321  else if (_format.indexOf("HASS") != -1) {
    322322    emit(newMessage(_staID + ": Get data in HASS format", true));
    323     _decoder = new hassDecoder();
     323    _decoder = new hassDecoder(_staID);
    324324  }
    325325  else {
Note: See TracChangeset for help on using the changeset viewer.