Changeset 243 in ntrip for trunk/BNC/bnccaster.h


Ignore:
Timestamp:
Oct 13, 2006, 9:41:15 AM (18 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnccaster.h

    r186 r243  
    44
    55#include <QFile>
    6 #include <QThread>
    76#include <QtNetwork>
    87#include <QMultiMap>
     
    1312class bncGetThread;
    1413
    15 class bncCaster : public QThread {
     14class bncCaster : public QObject {
    1615 Q_OBJECT
    1716
     
    2120   void addGetThread(bncGetThread* getThread);
    2221   int  numStations() const {return _staIDs.size();}
     22   void newObs(const QByteArray& staID, Observation* obs);
     23
    2324
    2425 signals:
     
    2627   void newMessage(const QByteArray& msg);
    2728
    28  public slots:
    29    void slotNewObs(const QByteArray& staID, Observation* obs);
    30 
    3129 private slots:
    3230   void slotNewConnection();
    3331   void slotGetThreadError(const QByteArray& staID);
    34 
    35  protected:
    36    virtual void run();
    3732
    3833 private:
     
    5146   int                            _samplingRate;
    5247   long                           _waitTime;
     48   QMutex                         _mutex;
    5349};
    5450
Note: See TracChangeset for help on using the changeset viewer.