Changeset 3573 in ntrip for branches/BNC_LM/RTCM/GPSDecoder.h


Ignore:
Timestamp:
Dec 25, 2011, 7:50:18 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_LM/RTCM/GPSDecoder.h

    r3342 r3573  
    3333
    3434#include "bncconst.h"
     35#include "bncrinex.h"
    3536
    3637class t_obs {
     
    119120class GPSDecoder {
    120121 public:
    121   virtual t_irc Decode(char* buffer, int bufLen, std::vector<std::string>& errmsg) = 0;
     122  GPSDecoder();
    122123
    123   virtual ~GPSDecoder() {}
     124  virtual ~GPSDecoder() {delete _rnx;}
     125
     126  virtual t_irc Decode(char* buffer, int bufLen,
     127                       std::vector<std::string>& errmsg) = 0;
     128
    124129
    125130  virtual int corrGPSEpochTime() const {return -1;}
     131
     132  void initRinex(const QByteArray& staID, const QUrl& mountPoint,
     133                 const QByteArray& latitude, const QByteArray& longitude,
     134                 const QByteArray& nmea, const QByteArray& ntripVersion);
     135
     136  void dumpRinexEpoch(const t_obs& obs, const QByteArray& format);
     137
     138  void setRinexReconnectFlag(bool flag);
    126139
    127140  struct t_antInfo {
     
    145158
    146159  QList<t_obs>     _obsList;
    147   QList<int>       _typeList;  // RTCM   message types
    148   QStringList      _antType;   // RTCM   antenna descriptor
    149   QList<t_antInfo> _antList;   // RTCM   antenna XYZ
     160  QList<int>       _typeList;  // RTCM message types
     161  QStringList      _antType;   // RTCM antenna descriptor
     162  QList<t_antInfo> _antList;   // RTCM antenna XYZ
     163  bncRinex*        _rnx;       // RINEX writer
    150164};
    151165
Note: See TracChangeset for help on using the changeset viewer.