Changeset 5446 in ntrip for trunk/GnssCenter/monitor
- Timestamp:
- Sep 13, 2013, 10:46:18 AM (11 years ago)
- Location:
- trunk/GnssCenter/monitor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/monitor/thriftclient.cpp
r5431 r5446 6 6 7 7 #include "thriftclient.h" 8 #include "m ap_stations.h"8 #include "monitor.h" 9 9 10 10 using namespace apache::thrift; … … 18 18 // Constructor 19 19 ////////////////////////////////////////////////////////////////////////////// 20 t_thriftClient::t_thriftClient(GnssCenter::t_m ap_stations* parent) {20 t_thriftClient::t_thriftClient(GnssCenter::t_monitor* parent) { 21 21 _stop = false; 22 22 _parent = parent; … … 66 66 // Constructor 67 67 ////////////////////////////////////////////////////////////////////////////// 68 t_thriftHandler::t_thriftHandler(GnssCenter::t_m ap_stations* parent) {68 t_thriftHandler::t_thriftHandler(GnssCenter::t_monitor* parent) { 69 69 _parent = parent; 70 70 } -
trunk/GnssCenter/monitor/thriftclient.h
r5431 r5446 16 16 17 17 namespace GnssCenter { 18 class t_m ap_stations;18 class t_monitor; 19 19 } 20 20 … … 37 37 }; 38 38 39 40 39 class t_thriftHandler : public RtnetDataIf { 41 40 public: 42 t_thriftHandler(GnssCenter::t_m ap_stations* parent);41 t_thriftHandler(GnssCenter::t_monitor* parent); 43 42 ~t_thriftHandler(); 44 43 void startDataStream() {} … … 59 58 double _z; 60 59 }; 61 GnssCenter::t_m ap_stations*_parent;60 GnssCenter::t_monitor* _parent; 62 61 std::map<std::string, t_stationCrd> _stationCrd; 63 62 }; … … 65 64 class t_thriftClient : public QThread { 66 65 public: 67 t_thriftClient(GnssCenter::t_m ap_stations* parent);66 t_thriftClient(GnssCenter::t_monitor* parent); 68 67 ~t_thriftClient(); 69 68 virtual void run(); … … 74 73 75 74 private: 76 QMutex 77 GnssCenter::t_m ap_stations* _parent;78 bool 75 QMutex _mutex; 76 GnssCenter::t_monitor* _parent; 77 bool _stop; 79 78 }; 80 79
Note:
See TracChangeset
for help on using the changeset viewer.