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

Last change on this file since 5790 was 5775, checked in by mervart, 10 years ago
File size: 974 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 signals:
20 void newMessage(QByteArray msg, bool showOnScreen);
21
22 public slots:
23 void slotNewEphGPS(gpsephemeris gpseph);
24 void slotNewEphGlonass(glonassephemeris gloeph);
25 void slotNewEphGalileo(galileoephemeris galeph);
26 void slotNewCorrections(QStringList corrList);
27 void slotNewObs(QByteArray staID, QList<t_obs> obsList);
28
29 private:
30 QMutex _mutex;
31 const t_options* _opt;
32 t_pppClient* _pppClient;
33};
34
35class t_pppThread : public QThread {
36 Q_OBJECT
37 public:
38 t_pppThread(const t_options* opt);
39 ~t_pppThread();
40 virtual void run();
41
42 signals:
43 void newMessage(QByteArray msg, bool showOnScreen);
44
45 private:
46 const t_options* _opt;
47 t_pppRun* _pppRun;
48};
49
50}
51
52#endif
Note: See TracBrowser for help on using the repository browser.