Line | |
---|
1 | #ifndef PPPRUN_H
|
---|
2 | #define PPPRUN_H
|
---|
3 |
|
---|
4 | #include <deque>
|
---|
5 | #include <vector>
|
---|
6 | #include <QtCore>
|
---|
7 |
|
---|
8 | #include "GPSDecoder.h"
|
---|
9 | #include "pppOptions.h"
|
---|
10 | #include "pppClient.h"
|
---|
11 |
|
---|
12 | class t_rnxObsFile;
|
---|
13 | class t_rnxNavFile;
|
---|
14 | class t_corrFile;
|
---|
15 |
|
---|
16 | namespace BNC_PPP {
|
---|
17 |
|
---|
18 | class t_pppRun : public QObject {
|
---|
19 | Q_OBJECT
|
---|
20 | public:
|
---|
21 | t_pppRun(const t_pppOptions* opt);
|
---|
22 | ~t_pppRun();
|
---|
23 |
|
---|
24 | void processFiles();
|
---|
25 |
|
---|
26 | signals:
|
---|
27 | void newMessage(QByteArray msg, bool showOnScreen);
|
---|
28 | void newPosition(bncTime time, QVector<double> xx);
|
---|
29 | void newNMEAstr(QByteArray str);
|
---|
30 | void progress(int);
|
---|
31 | void finished();
|
---|
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);
|
---|
39 | void slotSetSpeed(int speed);
|
---|
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;
|
---|
61 |
|
---|
62 | t_rnxObsFile* _rnxObsFile;
|
---|
63 | t_rnxNavFile* _rnxNavFile;
|
---|
64 | t_corrFile* _corrFile;
|
---|
65 | int _maxSpeed;
|
---|
66 | int _speed;
|
---|
67 | };
|
---|
68 |
|
---|
69 | }
|
---|
70 |
|
---|
71 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.