Changeset 5416 in ntrip for trunk/GnssCenter/map_stations/map_stations.cpp
- Timestamp:
- Sep 10, 2013, 5:55:53 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/map_stations/map_stations.cpp
r5415 r5416 28 28 29 29 #include "map_stations.h" 30 #include "thriftclient.h" 30 31 31 32 using namespace std; … … 98 99 // Thrift Client; 99 100 // -------------- 100 _thriftClient = new t_thriftClient; 101 connect(_thriftClient, SIGNAL(newThriftResult(t_thriftResult)), 102 this, SLOT(slotNewThriftResult(t_thriftResult))); 101 _thriftClient = new t_thriftClient(this); 103 102 _thriftClient->start(); 104 103 } … … 164 163 // 165 164 ///////////////////////////////////////////////////////////////////////////// 166 void t_map_stations::slotNewThriftResult(t_thriftResult result) {167 cout << result ._name << ' '168 << result ._nGPS << ' ' << result._nGLO << ' '169 << result ._x << ' ' << result._y << ' ' << result._z << endl;165 void t_map_stations::slotNewThriftResult(t_thriftResult* result) { 166 cout << result->_name << ' ' 167 << result->_nGPS << ' ' << result->_nGLO << ' ' 168 << result->_x << ' ' << result->_y << ' ' << result->_z << endl; 170 169 } 171 170
Note:
See TracChangeset
for help on using the changeset viewer.