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

Last change on this file since 5742 was 5742, checked in by mervart, 10 years ago
File size: 834 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#include "pppClient.h"
10
11namespace BNC {
12
13class t_pppRun : public QObject {
14 Q_OBJECT
15 public:
16 t_pppRun(const t_options* opt);
17 ~t_pppRun();
18
19 public slots:
20 void slotNewEphGPS(gpsephemeris gpseph);
21 void slotNewEphGlonass(glonassephemeris gloeph);
22 void slotNewEphGalileo(galileoephemeris galeph);
23 void slotNewCorrections(QStringList corrList);
24 void slotNewObs(QByteArray staID, QList<t_obs> obsList);
25
26 private:
27 QMutex _mutex;
28 const t_options* _opt;
29 t_pppClient* _pppClient;
30};
31
32class t_pppThread : public QThread {
33 public:
34 t_pppThread(const t_options* opt);
35 ~t_pppThread();
36 virtual void run();
37
38 private:
39 const t_options* _opt;
40 t_pppRun* _pppRun;
41};
42
43}
44
45#endif
Note: See TracBrowser for help on using the repository browser.