Ignore:
Timestamp:
Sep 13, 2014, 5:08:22 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM3/RTCM3coDecoder.h

    r5738 r6141  
    2727
    2828#include <fstream>
    29 
    3029#include <QtCore>
    3130#include <QtNetwork>
    32 
    3331#include "GPSDecoder.h"
    3432
    3533extern "C" {
    36 #include "clock_orbit_rtcm.h"
     34# include "clock_orbit_rtcm.h"
    3735}
    3836
     
    4341  virtual ~RTCM3coDecoder();
    4442  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());}
    4644
    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);
    5145 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);
    5349  void newMessage(QByteArray msg, bool showOnScreen);
    5450  void providerIDChanged(QString staID);
    5551
    5652 private:
    57   void printLine(const QString& line, int GPSweek, double GPSweeks);
     53  void sendResults();
     54  void reopen();
    5855  void checkProviderID();
    5956  std::ofstream* _out;
     
    6259  QString        _fileName;
    6360  QByteArray     _buffer;
    64   double         _GPSweeks;
    6561  ClockOrbit     _co;
    6662  CodeBias       _bias;
    6763  int            _providerID[3];
     64  bncTime        _lastTime;
     65  QMap<std::string, unsigned short> _IODs;
    6866};
    6967
Note: See TracChangeset for help on using the changeset viewer.