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

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