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


Ignore:
Timestamp:
Mar 30, 2011, 6:20:17 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r3189 r3206  
    1010class bncSP3;
    1111
    12 class bncUploadCaster : public QObject {
     12class bncUploadCaster : public QThread {
    1313 Q_OBJECT
    1414 public:
     
    2121                  const QString& outFileName);
    2222  virtual ~bncUploadCaster();
    23   void open();
    24   void write(char* buffer, unsigned len);
    25   void printAscii(const QString& line);
    26   bool usedSocket() const {return _outSocket;}
    27   void uploadClockOrbitBias(const bncTime& epoTime,
    28                             const QMap<QString, bncEphUser::t_ephPair*>& ephMap,
    29                             const QStringList& lines);
     23  virtual void run();
     24  void decodeRtnetStream(char* buffer, int bufLen,
     25                         const QMap<QString, bncEphUser::t_ephPair*>& ephMap);
    3026
    3127 signals:
     
    3329
    3430 private:
     31  void open();
     32  void write(char* buffer, unsigned len);
     33  void uploadClockOrbitBias();
    3534  void processSatellite(t_eph* eph, int GPSweek,
    3635                        double GPSweeks, const QString& prn,
     
    3938                        QString& outLine);
    4039  void crdTrafo(int GPSWeek, ColumnVector& xyz);
     40
     41  QMap<QString, t_eph*>* _ephMap;
     42  QMutex                 _mutex; 
     43  QString                _rtnetStreamBuffer;
     44  bncTime                _epoTime;
    4145  QString        _mountpoint;
    4246  QString        _outHost;
Note: See TracChangeset for help on using the changeset viewer.