Ignore:
Timestamp:
Sep 12, 2013, 4:59:56 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/map_stations/thriftclient.cpp

    r5417 r5424  
    3838  shared_ptr<TTransport>  transport(new TBufferedTransport(socket));
    3939  shared_ptr<TProtocol>   protocol(new TBinaryProtocol(transport));
    40   shared_ptr<RtnetDataIf> dataHandler(new t_thriftClient(_parent));
     40  shared_ptr<RtnetDataIf> dataHandler(new t_thriftHandler(_parent));
    4141  shared_ptr<TProcessor>  processor(new RtnetDataProcessor(dataHandler));
    4242
     
    5656}
    5757
     58// Constructor
     59//////////////////////////////////////////////////////////////////////////////
     60t_thriftHandler::t_thriftHandler(GnssCenter::t_map_stations* parent) {
     61  _parent = parent;
     62}
     63
     64// Destructor
     65//////////////////////////////////////////////////////////////////////////////
     66t_thriftHandler::~t_thriftHandler() {
     67}
     68
    5869// Handle Satellite Positions
    5970//////////////////////////////////////////////////////////////////////////////
    60 void t_thriftClient::
     71void t_thriftHandler::
    6172handleSatelliteXYZ(const vector<SatelliteXYZ>& svXYZList) {
    6273  cout.setf(ios::fixed);
     
    7384// Handle Station Info
    7485//////////////////////////////////////////////////////////////////////////////
    75 void t_thriftClient::
     86void t_thriftHandler::
    7687handleStationInfo(const vector<StationInfo>& stationList) {
    7788  for (unsigned ii = 0; ii < stationList.size(); ii++) {
     
    8394}
    8495
    85 // Handle Eoch Results
     96// Handle Epoch Results
    8697//////////////////////////////////////////////////////////////////////////////
    87 void t_thriftClient::
     98void t_thriftHandler::
    8899handleEpochResults(const RtnetEpoch& epoch) {
    89100  for (unsigned ii = 0; ii < epoch.stationResultList.size(); ii++) {
Note: See TracChangeset for help on using the changeset viewer.