Changeset 3224 in ntrip for trunk/BNC/upload/bncuploadcaster.h


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/bncuploadcaster.h

    r3209 r3224  
    33
    44#include <QtNetwork>
    5 #include "bncephuser.h"
    6 #include "bnctime.h"
    7 
    8 class bncoutf;
    9 class bncClockRinex;
    10 class bncSP3;
    115
    126class bncUploadCaster : public QThread {
     
    159  bncUploadCaster(const QString& mountpoint,
    1610                  const QString& outHost, int outPort,
    17                   const QString& password,
    18                   const QString& crdTrafo, bool  CoM,
    19                   const QString& sp3FileName,
    20                   const QString& rnxFileName,
    21                   const QString& outFileName);
     11                  const QString& password);
     12  virtual void deleteSafely();
     13  virtual void run() = 0;
     14
    2215 protected:
    2316  virtual ~bncUploadCaster();
    24  public:
    25   void deleteSafely();
    26   virtual void run();
    27   void decodeRtnetStream(char* buffer, int bufLen);
     17  void    open();
     18  void    write(char* buffer, unsigned len);
     19  QMutex  _mutex; 
     20  bool    _isToBeDeleted;
    2821
    2922 signals:
     
    3124
    3225 private:
    33   void open();
    34   void write(char* buffer, unsigned len);
    35   void uploadClockOrbitBias();
    36   void processSatellite(t_eph* eph, int GPSweek,
    37                         double GPSweeks, const QString& prn,
    38                         const ColumnVector& xx,
    39                         struct ClockOrbit::SatData* sd,
    40                         QString& outLine);
    41   void crdTrafo(int GPSWeek, ColumnVector& xyz);
    42 
    43   bncEphUser*    _ephUser;
    44   bool           _isToBeDeleted;
    45   QMutex         _mutex; 
    46   QString        _rtnetStreamBuffer;
    47   bncTime        _epoTime;
    4826  QString        _mountpoint;
    4927  QString        _outHost;
    5028  int            _outPort;
    5129  QString        _password;
    52   QString        _crdTrafo;
    53   bool           _CoM;
    5430  QTcpSocket*    _outSocket;
    5531  int            _sOpenTrial;
    5632  QDateTime      _outSocketOpenTime;
    57   double         _dx;
    58   double         _dy;
    59   double         _dz;
    60   double         _dxr;
    61   double         _dyr;
    62   double         _dzr;
    63   double         _ox;
    64   double         _oy;
    65   double         _oz;
    66   double         _oxr;
    67   double         _oyr;
    68   double         _ozr;
    69   double         _sc;
    70   double         _scr;
    71   double         _t0;
    72   bncoutf*       _outFile;
    73   bncClockRinex* _rnx;
    74   bncSP3*        _sp3;
    7533};
    7634
Note: See TracChangeset for help on using the changeset viewer.