Changeset 5424 in ntrip for trunk/GnssCenter/map_stations/thriftclient.cpp
- Timestamp:
- Sep 12, 2013, 4:59:56 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/map_stations/thriftclient.cpp
r5417 r5424 38 38 shared_ptr<TTransport> transport(new TBufferedTransport(socket)); 39 39 shared_ptr<TProtocol> protocol(new TBinaryProtocol(transport)); 40 shared_ptr<RtnetDataIf> dataHandler(new t_thrift Client(_parent));40 shared_ptr<RtnetDataIf> dataHandler(new t_thriftHandler(_parent)); 41 41 shared_ptr<TProcessor> processor(new RtnetDataProcessor(dataHandler)); 42 42 … … 56 56 } 57 57 58 // Constructor 59 ////////////////////////////////////////////////////////////////////////////// 60 t_thriftHandler::t_thriftHandler(GnssCenter::t_map_stations* parent) { 61 _parent = parent; 62 } 63 64 // Destructor 65 ////////////////////////////////////////////////////////////////////////////// 66 t_thriftHandler::~t_thriftHandler() { 67 } 68 58 69 // Handle Satellite Positions 59 70 ////////////////////////////////////////////////////////////////////////////// 60 void t_thrift Client::71 void t_thriftHandler:: 61 72 handleSatelliteXYZ(const vector<SatelliteXYZ>& svXYZList) { 62 73 cout.setf(ios::fixed); … … 73 84 // Handle Station Info 74 85 ////////////////////////////////////////////////////////////////////////////// 75 void t_thrift Client::86 void t_thriftHandler:: 76 87 handleStationInfo(const vector<StationInfo>& stationList) { 77 88 for (unsigned ii = 0; ii < stationList.size(); ii++) { … … 83 94 } 84 95 85 // Handle E och Results96 // Handle Epoch Results 86 97 ////////////////////////////////////////////////////////////////////////////// 87 void t_thrift Client::98 void t_thriftHandler:: 88 99 handleEpochResults(const RtnetEpoch& epoch) { 89 100 for (unsigned ii = 0; ii < epoch.stationResultList.size(); ii++) {
Note:
See TracChangeset
for help on using the changeset viewer.