Changeset 3505 in ntrip
- Timestamp:
- Nov 19, 2011, 2:57:04 PM (13 years ago)
- Location:
- trunk/BNC
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/GPSS/hassDecoder.cpp
r3504 r3505 17 17 18 18 #include "hassDecoder.h" 19 #include "bncapp.h"20 19 21 20 using namespace std; … … 23 22 // Constructor 24 23 //////////////////////////////////////////////////////////////////////////// 25 hassDecoder::hassDecoder( ) : GPSDecoder() {24 hassDecoder::hassDecoder(const QString& staID) : RTCM3coDecoder(staID) { 26 25 } 27 26 -
trunk/BNC/GPSS/hassDecoder.h
r3504 r3505 5 5 #include <QtCore> 6 6 7 #include "RTCM/GPSDecoder.h" 8 #include "rtcm3torinex.h" 7 #include "RTCM3/RTCM3coDecoder.h" 9 8 10 class hassDecoder : public QObject, public GPSDecoder {9 class hassDecoder : public RTCM3coDecoder { 11 10 Q_OBJECT 12 11 13 12 public: 14 hassDecoder( );13 hassDecoder(const QString& staID); 15 14 virtual ~hassDecoder(); 16 15 virtual t_irc Decode(char* data, int dataLen, std::vector<std::string>& errmsg); 17 16 18 signals:19 void newMessage(QByteArray msg, bool showOnScreen);20 21 17 private: 22 QByteArray _buffer;23 18 } ; 24 19 -
trunk/BNC/RTCM3/RTCM3coDecoder.h
r3035 r3505 52 52 void newCorrLine(QString line, QString staID, long coTime); 53 53 54 pr ivate:54 protected: 55 55 void printLine(const QString& line, long coTime); 56 57 int _port;58 56 std::ofstream* _out; 59 57 QString _staID; … … 61 59 QString _fileName; 62 60 QByteArray _buffer; 61 double _GPSweeks; 62 63 private: 63 64 ClockOrbit _co; 64 65 Bias _bias; 65 double _GPSweeks;66 66 }; 67 67 -
trunk/BNC/bncgetthread.cpp
r3504 r3505 321 321 else if (_format.indexOf("HASS") != -1) { 322 322 emit(newMessage(_staID + ": Get data in HASS format", true)); 323 _decoder = new hassDecoder( );323 _decoder = new hassDecoder(_staID); 324 324 } 325 325 else {
Note:
See TracChangeset
for help on using the changeset viewer.