source: ntrip/trunk/BNC/src/PPP/pppThread.h@ 5738

Last change on this file since 5738 was 5738, checked in by mervart, 10 years ago
File size: 780 bytes
Line 
1#ifndef PPPTHREAD_H
2#define PPPTHREAD_H
3
4#include <vector>
5#include <QtCore>
6
7#include "GPSDecoder.h"
8#include "options.h"
9
10namespace BNC {
11
12class t_pppRun : public QObject {
13 Q_OBJECT
14 public:
15 t_pppRun(const t_options* opt);
16 ~t_pppRun();
17
18 public slots:
19 void slotNewEphGPS(gpsephemeris gpseph);
20 void slotNewEphGlonass(glonassephemeris gloeph);
21 void slotNewEphGalileo(galileoephemeris galeph);
22 void slotNewCorrections(QStringList corrList);
23 void slotNewObs(QByteArray staID, QList<t_obs> obsList);
24
25 private:
26 QMutex _mutex;
27 const t_options* _opt;
28};
29
30class t_pppThread : public QThread {
31 public:
32 t_pppThread(const t_options* opt);
33 ~t_pppThread();
34 virtual void run();
35
36 private:
37 const t_options* _opt;
38 t_pppRun* _pppRun;
39};
40
41}
42
43#endif
Note: See TracBrowser for help on using the repository browser.