source: ntrip/trunk/BNC/src/pppRun.h@ 11015

Last change on this file since 11015 was 11009, checked in by stuerze, 4 days ago

updates regarding RTCM-SSR: metadata usage in PPP, if available

File size: 2.1 KB
Line 
1#ifndef PPPRUN_H
2#define PPPRUN_H
3
4#include <deque>
5#include <vector>
6#include <QtCore>
7
8#include "satObs.h"
9#include "pppOptions.h"
10#include "pppClient.h"
11
12class t_rnxObsFile;
13class t_rnxNavFile;
14class t_corrFile;
15class bncoutf;
16class bncSinexTro;
17
18namespace BNC_PPP {
19
20class t_pppRun : public QObject {
21 Q_OBJECT
22 public:
23 t_pppRun(const t_pppOptions* opt);
24 ~t_pppRun();
25
26 void processFiles();
27
28 static QString nmeaString(char strType, const t_output& output);
29
30 signals:
31 void newMessage(QByteArray msg, bool showOnScreen);
32 void newPosition(QByteArray staID, bncTime time, QVector<double> xx);
33 void newNMEAstr(QByteArray staID, QByteArray str);
34 void progressRnxPPP(int);
35 void finishedRnxPPP();
36
37 public slots:
38 void slotNewGPSEph(t_ephGPS);
39 void slotNewGlonassEph(t_ephGlo);
40 void slotNewGalileoEph(t_ephGal);
41 void slotNewBDSEph(t_ephBDS);
42 void slotNewTec(t_vTec);
43 void slotNewMetaData(t_metaData);
44 void slotNewOrbCorrections(QList<t_orbCorr> orbCorr);
45 void slotNewClkCorrections(QList<t_clkCorr> clkCorr);
46 void slotNewCodeBiases(QList<t_satCodeBias> codeBiases);
47 void slotNewPhaseBiases(QList<t_satPhaseBias> phaseBiases);
48 void slotNewObs(QByteArray staID, QList<t_satObs> obsList);
49 void slotSetSpeed(int speed);
50 void slotSetStopFlag();
51 void slotProviderIDChanged(QString mountPoint);
52
53 private:
54 class t_epoData {
55 public:
56 t_epoData() {}
57 ~t_epoData() {
58 for (unsigned ii = 0; ii < _satObs.size(); ii++) {
59 delete _satObs[ii];
60 }
61 }
62 bncTime _time;
63 std::vector<t_satObs*> _satObs;
64 };
65
66 QMutex _mutex;
67 const t_pppOptions* _opt;
68 t_pppClient* _pppClient;
69 std::deque<t_epoData*> _epoData;
70 bncTime _lastClkCorrTime;
71 t_rnxObsFile* _rnxObsFile;
72 t_rnxNavFile* _rnxNavFile;
73 t_corrFile* _corrFile;
74 t_corrFile* _biasFile;
75 t_corrFile* _ionoFile;
76 int _speed;
77 bool _stopFlag;
78 bncoutf* _logFile;
79 bncoutf* _nmeaFile;
80 bncSinexTro* _snxtroFile;
81};
82
83}
84
85#endif
Note: See TracBrowser for help on using the repository browser.