Changeset 778 in ntrip for trunk/BNS/bns.h
- Timestamp:
- Apr 8, 2008, 9:57:37 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.h
r770 r778 6 6 7 7 #include "bnseph.h" 8 9 class t_ephPair { 10 public: 11 t_ephPair() { 12 eph = 0; 13 oldEph = 0; 14 } 15 16 ~t_ephPair() { 17 delete eph; 18 delete oldEph; 19 } 20 21 gpsEph* eph; 22 gpsEph* oldEph; 23 }; 8 24 9 25 class t_bns : public QThread { … … 19 35 20 36 private slots: 37 void slotNewEph(gpsEph* ep); 21 38 void slotNewConnection(); 22 39 void slotMessage(const QByteArray msg); … … 26 43 void deleteBnsEph(); 27 44 void openCaster(); 28 QTcpServer* _clkServer; 29 QTcpSocket* _clkSocket; 30 QTcpSocket* _outSocket; 31 t_bnseph* _bnseph; 32 QMutex _mutex; 45 QTcpServer* _clkServer; 46 QTcpSocket* _clkSocket; 47 QTcpSocket* _outSocket; 48 t_bnseph* _bnseph; 49 QMutex _mutex; 50 QMap<QString, t_ephPair*> _ephList; 33 51 }; 34 52 #endif
Note:
See TracChangeset
for help on using the changeset viewer.