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