source: ntrip/trunk/BNC/bncgetthread.h@ 101

Last change on this file since 101 was 88, checked in by mervart, 18 years ago

* empty log message *

File size: 812 bytes
RevLine 
[35]1
2#ifndef BNCGETTHREAD_H
3#define BNCGETTHREAD_H
4
5#include <QThread>
6#include <QtNetwork>
7
8#include "RTCM/GPSDecoder.h"
9
10class bncGetThread : public QThread {
11 Q_OBJECT
12
13 public:
[88]14 bncGetThread(const QUrl& mountPoint, const QByteArray& format);
[35]15 ~bncGetThread();
16
[88]17 static QTcpSocket* bncGetThread::request(const QUrl& mountPoint,
18 QString& msg);
19
20 QByteArray staID() const {return _staID;}
21
[35]22 signals:
[88]23 void newObs(const QByteArray& staID, Observation* obs);
24 void error(const QByteArray& staID);
[82]25 void newMessage(const QByteArray& msg);
[35]26
27 protected:
28 virtual void run();
29 private:
[82]30 void message(const QString&);
[35]31 void exit(int exitCode = 0);
32 QTcpSocket* _socket;
[88]33 QUrl _mountPoint;
34 QByteArray _staID;
[59]35 QByteArray _format;
[35]36};
37
38#endif
Note: See TracBrowser for help on using the repository browser.