Changeset 243 in ntrip for trunk/BNC/bnccaster.h
- Timestamp:
- Oct 13, 2006, 9:41:15 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnccaster.h
r186 r243 4 4 5 5 #include <QFile> 6 #include <QThread>7 6 #include <QtNetwork> 8 7 #include <QMultiMap> … … 13 12 class bncGetThread; 14 13 15 class bncCaster : public Q Thread{14 class bncCaster : public QObject { 16 15 Q_OBJECT 17 16 … … 21 20 void addGetThread(bncGetThread* getThread); 22 21 int numStations() const {return _staIDs.size();} 22 void newObs(const QByteArray& staID, Observation* obs); 23 23 24 24 25 signals: … … 26 27 void newMessage(const QByteArray& msg); 27 28 28 public slots:29 void slotNewObs(const QByteArray& staID, Observation* obs);30 31 29 private slots: 32 30 void slotNewConnection(); 33 31 void slotGetThreadError(const QByteArray& staID); 34 35 protected:36 virtual void run();37 32 38 33 private: … … 51 46 int _samplingRate; 52 47 long _waitTime; 48 QMutex _mutex; 53 49 }; 54 50
Note:
See TracChangeset
for help on using the changeset viewer.