Changeset 6141 in ntrip for trunk/BNC/src/RTCM3/RTCM3coDecoder.h
- Timestamp:
- Sep 13, 2014, 5:08:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.h
r5738 r6141 27 27 28 28 #include <fstream> 29 30 29 #include <QtCore> 31 30 #include <QtNetwork> 32 33 31 #include "GPSDecoder.h" 34 32 35 33 extern "C" { 36 # include "clock_orbit_rtcm.h"34 # include "clock_orbit_rtcm.h" 37 35 } 38 36 … … 43 41 virtual ~RTCM3coDecoder(); 44 42 virtual t_irc Decode(char* buffer, int bufLen, std::vector<std::string>& errmsg); 45 virtual int corrGPSEpochTime() const {return (int) _GPSweeks;}43 virtual int corrGPSEpochTime() const {return int(_lastTime.gpssec());} 46 44 47 static QStringList corrsToASCIIlines(int GPSweek, double GPSweeks,48 const ClockOrbit& co, const CodeBias* bias);49 static void reopen(const QString& fileNameSkl, QString& fileName,50 std::ofstream*& out);51 45 signals: 52 void newCorrLine(QString line, QString staID, bncTime coTime); 46 void newOrbCorrections(QList<t_orbCorr> orbCorr); 47 void newClkCorrections(QList<t_clkCorr> clkCorr); 48 void newBiases(QList<t_satBias> biases); 53 49 void newMessage(QByteArray msg, bool showOnScreen); 54 50 void providerIDChanged(QString staID); 55 51 56 52 private: 57 void printLine(const QString& line, int GPSweek, double GPSweeks); 53 void sendResults(); 54 void reopen(); 58 55 void checkProviderID(); 59 56 std::ofstream* _out; … … 62 59 QString _fileName; 63 60 QByteArray _buffer; 64 double _GPSweeks;65 61 ClockOrbit _co; 66 62 CodeBias _bias; 67 63 int _providerID[3]; 64 bncTime _lastTime; 65 QMap<std::string, unsigned short> _IODs; 68 66 }; 69 67
Note:
See TracChangeset
for help on using the changeset viewer.