Changeset 5415 in ntrip for trunk/GnssCenter/map_stations/thriftclient.h
- Timestamp:
- Sep 10, 2013, 5:13:10 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/map_stations/thriftclient.h
r5414 r5415 5 5 #include <map> 6 6 #include <QThread> 7 #include <QMetaType> 7 8 8 9 #include <transport/TSocket.h> … … 14 15 using namespace com::gpssolutions::rtnet; 15 16 16 // Handler Class Definition 17 ////////////////////////////////////////////////////////////////////////////// 18 class t_thriftClient : public com::gpssolutions::rtnet::RtnetDataIf, public QThread { 17 class t_thriftResult { 18 public: 19 t_thriftResult() { 20 _nGPS = 0; 21 _nGLO = 0; 22 _x = 0.0; 23 _y = 0.0; 24 _z = 0.0; 25 } 26 ~t_thriftResult() {} 27 std::string _name; 28 int _nGPS; 29 int _nGLO; 30 double _x; 31 double _y; 32 double _z; 33 }; 34 35 class t_thriftClient : public QThread, public com::gpssolutions::rtnet::RtnetDataIf { 36 Q_OBJECT 19 37 public: 20 38 t_thriftClient(); … … 34 52 void handleEpochResults(const RtnetEpoch& epoch); 35 53 54 signals: 55 void newThriftResult(t_thriftResult); 56 36 57 private: 37 58
Note:
See TracChangeset
for help on using the changeset viewer.