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

Last change on this file since 10460 was 9599, checked in by stuerze, 3 years ago

additional iono mountpoint added for ppp

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