Changeset 5397 in ntrip


Ignore:
Timestamp:
Sep 10, 2013, 1:31:53 PM (8 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/thrift/test_rtnet/rtnetThriftClient.cpp

    r5393 r5397  
    3737  void handleDGPSCorr(const vector<DGPSCorr>& dgpsList) {}
    3838  void handleSatelliteClock(const vector<SatelliteClock>& svList) {}
    39   void handleEpochResults(const RtnetEpoch& epoch) {}
     39  void handleEpochResults(const RtnetEpoch& epoch);
    4040};
    4141
     
    110110  cout.setf(ios::fixed);
    111111  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;
    117117  }
    118   cout << endl;
     118//  cout << endl;
    119119}
    120120
     121// Handle Eoch Results
     122//////////////////////////////////////////////////////////////////////////////
     123void RtnetClientHandler::
     124handleEpochResults(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.