source: ntrip/trunk/BNC/src/PPP/pppThread.cpp@ 5681

Last change on this file since 5681 was 5681, checked in by mervart, 10 years ago
File size: 2.2 KB
Line 
1
2#include <iostream>
3#include <iomanip>
4#include <string.h>
5
6#include "pppThread.h"
7#include "bnccore.h"
8#include "bncsettings.h"
9#include "bnctime.h"
10
11using namespace std;
12
13// Constructor
14////////////////////////////////////////////////////////////////////////////
15t_pppThread::t_pppThread() : QThread(0) {
16}
17
18// Destructor
19////////////////////////////////////////////////////////////////////////////
20t_pppThread::~t_pppThread() {
21}
22
23// Run (virtual)
24////////////////////////////////////////////////////////////////////////////
25void t_pppThread::run() {
26
27 bncSettings settings;
28
29 // Connect to BNC Signals
30 // ----------------------
31 connect(BNC_CORE, SIGNAL(newCorrections(QList<QString>)),
32 this, SLOT(slotNewCorrections(QList<QString>)));
33
34 connect(BNC_CORE, SIGNAL(newEphGPS(gpsephemeris)),
35 this, SLOT(slotNewEphGPS(gpsephemeris)));
36
37 connect(BNC_CORE, SIGNAL(newEphGlonass(glonassephemeris)),
38 this, SLOT(slotNewEphGlonass(glonassephemeris)));
39
40 connect(BNC_CORE, SIGNAL(newEphGalileo(galileoephemeris)),
41 this, SLOT(slotNewEphGalileo(galileoephemeris)));
42
43 // Start processing loop
44 // ---------------------
45 QThread::exec();
46}
47
48//
49////////////////////////////////////////////////////////////////////////////
50void t_pppThread::slotNewEphGPS(gpsephemeris gpseph) {
51 QMutexLocker locker(&_mutex);
52}
53
54//
55////////////////////////////////////////////////////////////////////////////
56void t_pppThread::slotNewEphGlonass(glonassephemeris gloeph) {
57 QMutexLocker locker(&_mutex);
58}
59
60//
61////////////////////////////////////////////////////////////////////////////
62void t_pppThread::slotNewEphGalileo(galileoephemeris /* galeph */) {
63 QMutexLocker locker(&_mutex);
64}
65
66//
67////////////////////////////////////////////////////////////////////////////
68void t_pppThread::slotNewCorrections(QList<QString> corrList) {
69 QMutexLocker locker(&_mutex);
70}
71//
72////////////////////////////////////////////////////////////////////////////
73void t_pppThread::slotNewObs(QByteArray staID, QList<t_obs> obsList) {
74 QMutexLocker locker(&_mutex);
75}
76
77//
78////////////////////////////////////////////////////////////////////////////
79void t_pppThread::processFrontEpoch() {
80}
Note: See TracBrowser for help on using the repository browser.