Rev | Line | |
---|
[5883] | 1 | #ifndef PPPRUN_H
|
---|
| 2 | #define PPPRUN_H
|
---|
[5860] | 3 |
|
---|
| 4 | #include <deque>
|
---|
| 5 | #include <vector>
|
---|
| 6 | #include <QtCore>
|
---|
| 7 |
|
---|
| 8 | #include "GPSDecoder.h"
|
---|
| 9 | #include "pppOptions.h"
|
---|
| 10 | #include "pppClient.h"
|
---|
| 11 |
|
---|
[5883] | 12 | class t_rnxObsFile;
|
---|
| 13 | class t_rnxNavFile;
|
---|
| 14 | class t_corrFile;
|
---|
| 15 |
|
---|
[5860] | 16 | namespace BNC_PPP {
|
---|
| 17 |
|
---|
[5883] | 18 | class t_pppRun : public QObject {
|
---|
[5860] | 19 | Q_OBJECT
|
---|
| 20 | public:
|
---|
[5883] | 21 | t_pppRun(const t_pppOptions* opt);
|
---|
| 22 | ~t_pppRun();
|
---|
[5860] | 23 |
|
---|
[5883] | 24 | void processFiles();
|
---|
| 25 |
|
---|
[5860] | 26 | signals:
|
---|
| 27 | void newMessage(QByteArray msg, bool showOnScreen);
|
---|
[5879] | 28 | void newPosition(bncTime time, QVector<double> xx);
|
---|
[5860] | 29 | void newNMEAstr(QByteArray str);
|
---|
[5889] | 30 | void progress(int);
|
---|
| 31 | void finished();
|
---|
[5860] | 32 |
|
---|
| 33 | public slots:
|
---|
| 34 | void slotNewEphGPS(gpsephemeris gpseph);
|
---|
| 35 | void slotNewEphGlonass(glonassephemeris gloeph);
|
---|
| 36 | void slotNewEphGalileo(galileoephemeris galeph);
|
---|
| 37 | void slotNewCorrections(QStringList corrList);
|
---|
| 38 | void slotNewObs(QByteArray staID, QList<t_obs> obsList);
|
---|
[5889] | 39 | void slotSetSpeed(int speed);
|
---|
[5860] | 40 |
|
---|
| 41 | private:
|
---|
| 42 | class t_epoData {
|
---|
| 43 | public:
|
---|
| 44 | t_epoData() {}
|
---|
| 45 | ~t_epoData() {
|
---|
| 46 | for (unsigned ii = 0; ii < _satObs.size(); ii++) {
|
---|
| 47 | delete _satObs[ii];
|
---|
| 48 | }
|
---|
| 49 | }
|
---|
| 50 | bncTime _time;
|
---|
| 51 | std::vector<t_satObs*> _satObs;
|
---|
| 52 | };
|
---|
| 53 |
|
---|
| 54 | QMutex _mutex;
|
---|
| 55 | const t_pppOptions* _opt;
|
---|
| 56 | t_pppClient* _pppClient;
|
---|
| 57 | std::deque<t_epoData*> _epoData;
|
---|
| 58 | int _lastOrbCorrIOD[t_prn::MAXPRN+1];
|
---|
| 59 | double _lastClkCorrValue[t_prn::MAXPRN+1];
|
---|
| 60 | bncTime _lastClkCorrTime;
|
---|
[5883] | 61 |
|
---|
| 62 | t_rnxObsFile* _rnxObsFile;
|
---|
| 63 | t_rnxNavFile* _rnxNavFile;
|
---|
| 64 | t_corrFile* _corrFile;
|
---|
| 65 | int _maxSpeed;
|
---|
| 66 | int _speed;
|
---|
[5860] | 67 | };
|
---|
| 68 |
|
---|
| 69 | }
|
---|
| 70 |
|
---|
| 71 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.