Changeset 934 in ntrip for trunk/BNC/RTCM3/RTCM3coDecoder.h


Ignore:
Timestamp:
Jun 8, 2008, 4:33:04 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

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

    r908 r934  
    2626#define RTCM3CODECODER_H
    2727
    28 #include "bnczerodecoder.h"
     28#include <fstream>
     29
     30#include <QtCore>
     31#include <QtNetwork>
     32
     33#include "RTCM/GPSDecoder.h"
    2934
    3035extern "C" {
     
    3237}
    3338
    34 class RTCM3coDecoder : public bncZeroDecoder {
    35 public:
     39class RTCM3coDecoder : public QObject, public GPSDecoder {
     40Q_OBJECT
     41 public:
    3642  RTCM3coDecoder(const QString& fileName);
    3743  virtual ~RTCM3coDecoder();
    3844  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};
    4462
    4563#endif
Note: See TracChangeset for help on using the changeset viewer.