Changeset 2905 in ntrip for trunk/BNC/bncpppclient.h
- Timestamp:
- Jan 27, 2011, 1:57:40 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.h
r2809 r2905 27 27 28 28 #include <queue> 29 #include <QtNetwork> 30 31 #include <newmat.h> 32 33 #include "bncconst.h" 34 #include "bnctime.h" 29 #include "bncephuser.h" 35 30 #include "RTCM/GPSDecoder.h" 36 #include "RTCM3/ephemeris.h"37 31 38 32 class bncModel; … … 99 93 }; 100 94 101 class t_corr {102 public:103 t_corr() {104 raoSet = false;105 dClkSet = false;106 }107 bool ready() {return raoSet && dClkSet;}108 bncTime tt;109 int iod;110 double dClk;111 double dotDClk;112 double dotDotDClk;113 ColumnVector rao;114 ColumnVector dotRao;115 ColumnVector dotDotRao;116 bool raoSet;117 bool dClkSet;118 };119 120 95 class t_bias { 121 96 public: … … 131 106 }; 132 107 133 class bncPPPclient : public QObject{108 class bncPPPclient : public bncEphUser { 134 109 Q_OBJECT 135 110 … … 140 115 141 116 public slots: 142 void slotNewEphGPS(gpsephemeris gpseph);143 void slotNewEphGlonass(glonassephemeris gloeph);144 void slotNewEphGalileo(galileoephemeris galeph);145 117 void slotNewCorrections(QList<QString> corrList); 146 118 … … 164 136 }; 165 137 166 class t_ephPair {167 public:168 t_ephPair() {169 last = 0;170 prev = 0;171 }172 ~t_ephPair() {173 delete last;174 delete prev;175 }176 t_eph* last;177 t_eph* prev;178 };179 180 138 t_irc getSatPos(const bncTime& tt, const QString& prn, 181 139 ColumnVector& xc, ColumnVector& vv); … … 187 145 188 146 QByteArray _staID; 189 QMutex _mutex;190 QMap<QString, t_ephPair*> _eph;191 147 QMap<QString, t_corr*> _corr; 192 148 bncTime _corr_tt;
Note:
See TracChangeset
for help on using the changeset viewer.