Changeset 3578 in ntrip for trunk/BNC/GPSS
- Timestamp:
- Dec 26, 2011, 10:24:30 AM (13 years ago)
- Location:
- trunk/BNC/GPSS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/GPSS/hassDecoder.cpp
r3520 r3578 20 20 #include "bnctime.h" 21 21 #include "bncutils.h" 22 #include "RTCM3/RTCM3coDecoder.h" 22 23 23 24 using namespace std; … … 25 26 // Constructor 26 27 //////////////////////////////////////////////////////////////////////////// 27 hassDecoder::hassDecoder(const QString& staID) : RTCM3coDecoder(staID){28 hassDecoder::hassDecoder(const QString& staID) { 28 29 _GPSweeks = -1.0; 29 30 } … … 128 129 0.0, dotRao[0], dotRao[1], dotRao[2], 0.0); 129 130 130 reopen(_fileNameSkl, _fileName, _out); 131 printLine(corrLine, coTime); 131 RTCM3coDecoder::reopen(_fileNameSkl, _fileName, _out); 132 if (_out) { 133 *_out << corrLine.toAscii().data() << endl; 134 _out->flush(); 135 } 136 emit newCorrLine(corrLine, _staID, coTime); 132 137 } 133 138 -
trunk/BNC/GPSS/hassDecoder.h
r3505 r3578 5 5 #include <QtCore> 6 6 7 #include "RTCM3/RTCM3coDecoder.h" 7 #include "bncephuser.h" 8 #include "RTCM/GPSDecoder.h" 8 9 9 class hassDecoder : public RTCM3coDecoder {10 class hassDecoder : public bncEphUser, public GPSDecoder { 10 11 Q_OBJECT 11 12 12 public: 13 13 hassDecoder(const QString& staID); … … 15 15 virtual t_irc Decode(char* data, int dataLen, std::vector<std::string>& errmsg); 16 16 17 signals: 18 void newCorrLine(QString line, QString staID, long coTime); 19 17 20 private: 21 std::ofstream* _out; 22 QString _staID; 23 QString _fileNameSkl; 24 QString _fileName; 25 QByteArray _buffer; 26 double _GPSweeks; 18 27 } ; 19 28
Note:
See TracChangeset
for help on using the changeset viewer.