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

Last change on this file since 5774 was 5774, checked in by mervart, 10 years ago
File size: 989 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 void stop();
42
43 signals:
44 void newMessage(QByteArray msg, bool showOnScreen);
45
46 private:
47 const t_options* _opt;
48 t_pppRun* _pppRun;
49};
50
51}
52
53#endif
Note: See TracBrowser for help on using the repository browser.