Changeset 934 in ntrip for trunk/BNC/RTCM3/RTCM3coDecoder.h
- Timestamp:
- Jun 8, 2008, 4:33:04 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/RTCM3coDecoder.h
r908 r934 26 26 #define RTCM3CODECODER_H 27 27 28 #include "bnczerodecoder.h" 28 #include <fstream> 29 30 #include <QtCore> 31 #include <QtNetwork> 32 33 #include "RTCM/GPSDecoder.h" 29 34 30 35 extern "C" { … … 32 37 } 33 38 34 class RTCM3coDecoder : public bncZeroDecoder { 35 public: 39 class RTCM3coDecoder : public QObject, public GPSDecoder { 40 Q_OBJECT 41 public: 36 42 RTCM3coDecoder(const QString& fileName); 37 43 virtual ~RTCM3coDecoder(); 38 44 virtual t_irc Decode(char* buffer = 0, int bufLen = 0); 39 private: 40 std::string _buffer; 41 ClockOrbit _co; 42 Bias _bias; 43 } ; 45 46 private slots: 47 void slotNewConnection(); 48 49 private: 50 void reopen(); 51 void printLine(const QString& line); 52 53 std::ofstream* _out; 54 QString _fileNameSkl; 55 QString _fileName; 56 std::string _buffer; 57 ClockOrbit _co; 58 Bias _bias; 59 QTcpServer* _server; 60 QList<QTcpSocket*>* _sockets; 61 }; 44 62 45 63 #endif
Note:
See TracChangeset
for help on using the changeset viewer.