Changeset 3224 in ntrip for trunk/BNC/upload/bncrtnetuploadcaster.h
- Timestamp:
- Mar 31, 2011, 5:15:47 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/upload/bncrtnetuploadcaster.h
r3222 r3224 1 #ifndef BNC UPLOADCASTER_H2 #define BNC UPLOADCASTER_H1 #ifndef BNCRTNETUPLOADCASTER_H 2 #define BNCRTNETUPLOADCASTER_H 3 3 4 #include < QtNetwork>5 #include "bnc ephuser.h"4 #include <newmat.h> 5 #include "bncuploadcaster.h" 6 6 #include "bnctime.h" 7 #include "clock_orbit_rtcm.h" 8 #include "RTCM3/ephemeris.h" 9 10 class bncEphUser; 7 11 8 12 class bncoutf; … … 10 14 class bncSP3; 11 15 12 class bnc UploadCaster : public QThread{16 class bncRtnetUploadCaster : public bncUploadCaster { 13 17 Q_OBJECT 14 18 public: 15 bnc UploadCaster(const QString& mountpoint,19 bncRtnetUploadCaster(const QString& mountpoint, 16 20 const QString& outHost, int outPort, 17 21 const QString& password, … … 21 25 const QString& outFileName); 22 26 protected: 23 virtual ~bnc UploadCaster();27 virtual ~bncRtnetUploadCaster(); 24 28 public: 25 void deleteSafely();26 29 virtual void run(); 27 30 void decodeRtnetStream(char* buffer, int bufLen); 28 29 signals:30 void newMessage(const QByteArray msg, bool showOnScreen);31 32 31 private: 33 void open();34 void write(char* buffer, unsigned len);35 32 void uploadClockOrbitBias(); 36 33 void processSatellite(t_eph* eph, int GPSweek, … … 42 39 43 40 bncEphUser* _ephUser; 44 bool _isToBeDeleted;45 QMutex _mutex;46 41 QString _rtnetStreamBuffer; 47 42 bncTime _epoTime; 48 QString _mountpoint;49 QString _outHost;50 int _outPort;51 QString _password;52 43 QString _crdTrafo; 53 44 bool _CoM; 54 QTcpSocket* _outSocket;55 int _sOpenTrial;56 QDateTime _outSocketOpenTime;57 45 double _dx; 58 46 double _dy;
Note:
See TracChangeset
for help on using the changeset viewer.