Changeset 5479 in ntrip
- Timestamp:
- Sep 18, 2013, 1:56:35 PM (11 years ago)
- Location:
- trunk/GnssCenter/monitor
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/monitor/thriftclient.cpp
r5467 r5479 58 58 } 59 59 catch (TException& e) { 60 cerr << "Caught an exception generated by Thrift: " << e.what() << endl;60 emit message(e.what()); 61 61 } 62 62 catch (...) { 63 cerr << "Unknown exception" << endl;63 emit message("Unknown exception"); 64 64 } 65 65 } … … 80 80 void t_thriftHandler:: 81 81 handleSatelliteXYZ(const vector<SatelliteXYZ>& svXYZList) { 82 cout.setf(ios::fixed); 83 for (unsigned ii = 0; ii < svXYZList.size(); ii++) { 82 // for (unsigned ii = 0; ii < svXYZList.size(); ii++) { 84 83 // const SatelliteXYZ& sat = svXYZList[ii]; 85 84 // cout << unsigned(sat.ID) << ' ' … … 87 86 // << setprecision(3) << sat.xyz.y << ' ' 88 87 // << setprecision(3) << sat.xyz.z << endl; 89 } 90 // cout << endl; 88 // } 91 89 } 92 90 -
trunk/GnssCenter/monitor/thriftclient.h
r5452 r5479 66 66 67 67 class t_thriftClient : public QThread { 68 Q_OBJECT 68 69 public: 69 70 t_thriftClient(t_monitor* parent, const QString& host, int port); … … 74 75 _stop = true; 75 76 } 76 77 signals: 78 void message(QByteArray msg); 77 79 private: 78 80 QMutex _mutex;
Note:
See TracChangeset
for help on using the changeset viewer.