- Timestamp:
- Sep 10, 2013, 1:31:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/thrift/test_rtnet/rtnetThriftClient.cpp
r5393 r5397 37 37 void handleDGPSCorr(const vector<DGPSCorr>& dgpsList) {} 38 38 void handleSatelliteClock(const vector<SatelliteClock>& svList) {} 39 void handleEpochResults(const RtnetEpoch& epoch) {}39 void handleEpochResults(const RtnetEpoch& epoch); 40 40 }; 41 41 … … 110 110 cout.setf(ios::fixed); 111 111 for (unsigned ii = 0; ii < svXYZList.size(); ii++) { 112 const SatelliteXYZ& sat = svXYZList[ii];113 cout << unsigned(sat.ID) << ' '114 << setprecision(3) << sat.xyz.x << ' '115 << setprecision(3) << sat.xyz.y << ' '116 << setprecision(3) << sat.xyz.z << endl;112 // const SatelliteXYZ& sat = svXYZList[ii]; 113 // cout << unsigned(sat.ID) << ' ' 114 // << setprecision(3) << sat.xyz.x << ' ' 115 // << setprecision(3) << sat.xyz.y << ' ' 116 // << setprecision(3) << sat.xyz.z << endl; 117 117 } 118 cout << endl;118 // cout << endl; 119 119 } 120 120 121 // Handle Eoch Results 122 ////////////////////////////////////////////////////////////////////////////// 123 void RtnetClientHandler:: 124 handleEpochResults(const RtnetEpoch& epoch) { 125 for (unsigned ii = 0; ii < epoch.stationResultList.size(); ii++) { 126 const StationResults& staRes = epoch.stationResultList[ii]; 127 cout << staRes.stationName << ' ' 128 << (int) staRes.nsv_gps_used << ' ' << (int) staRes.nsv_glonass_used << endl; 129 } 130 }
Note:
See TracChangeset
for help on using the changeset viewer.