Changeset 3224 in ntrip for trunk/BNC/upload/bncuploadcaster.h
- Timestamp:
- Mar 31, 2011, 5:15:47 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/upload/bncuploadcaster.h
r3209 r3224 3 3 4 4 #include <QtNetwork> 5 #include "bncephuser.h"6 #include "bnctime.h"7 8 class bncoutf;9 class bncClockRinex;10 class bncSP3;11 5 12 6 class bncUploadCaster : public QThread { … … 15 9 bncUploadCaster(const QString& mountpoint, 16 10 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 22 15 protected: 23 16 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; 28 21 29 22 signals: … … 31 24 32 25 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;48 26 QString _mountpoint; 49 27 QString _outHost; 50 28 int _outPort; 51 29 QString _password; 52 QString _crdTrafo;53 bool _CoM;54 30 QTcpSocket* _outSocket; 55 31 int _sOpenTrial; 56 32 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;75 33 }; 76 34
Note:
See TracChangeset
for help on using the changeset viewer.