Ignore:
Timestamp:
Mar 31, 2011, 5:15:47 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/upload/bncrtnetuploadcaster.h

    r3222 r3224  
    1 #ifndef BNCUPLOADCASTER_H
    2 #define BNCUPLOADCASTER_H
     1#ifndef BNCRTNETUPLOADCASTER_H
     2#define BNCRTNETUPLOADCASTER_H
    33
    4 #include <QtNetwork>
    5 #include "bncephuser.h"
     4#include <newmat.h>
     5#include "bncuploadcaster.h"
    66#include "bnctime.h"
     7#include "clock_orbit_rtcm.h"
     8#include "RTCM3/ephemeris.h"
     9
     10class bncEphUser;
    711
    812class bncoutf;
     
    1014class bncSP3;
    1115
    12 class bncUploadCaster : public QThread {
     16class bncRtnetUploadCaster : public bncUploadCaster {
    1317 Q_OBJECT
    1418 public:
    15   bncUploadCaster(const QString& mountpoint,
     19  bncRtnetUploadCaster(const QString& mountpoint,
    1620                  const QString& outHost, int outPort,
    1721                  const QString& password,
     
    2125                  const QString& outFileName);
    2226 protected:
    23   virtual ~bncUploadCaster();
     27  virtual ~bncRtnetUploadCaster();
    2428 public:
    25   void deleteSafely();
    2629  virtual void run();
    2730  void decodeRtnetStream(char* buffer, int bufLen);
    28 
    29  signals:
    30   void newMessage(const QByteArray msg, bool showOnScreen);
    31 
    3231 private:
    33   void open();
    34   void write(char* buffer, unsigned len);
    3532  void uploadClockOrbitBias();
    3633  void processSatellite(t_eph* eph, int GPSweek,
     
    4239
    4340  bncEphUser*    _ephUser;
    44   bool           _isToBeDeleted;
    45   QMutex         _mutex; 
    4641  QString        _rtnetStreamBuffer;
    4742  bncTime        _epoTime;
    48   QString        _mountpoint;
    49   QString        _outHost;
    50   int            _outPort;
    51   QString        _password;
    5243  QString        _crdTrafo;
    5344  bool           _CoM;
    54   QTcpSocket*    _outSocket;
    55   int            _sOpenTrial;
    56   QDateTime      _outSocketOpenTime;
    5745  double         _dx;
    5846  double         _dy;
Note: See TracChangeset for help on using the changeset viewer.