Ignore:
Timestamp:
Sep 10, 2013, 5:13:10 PM (11 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5414 r5415  
    55#include <map>
    66#include <QThread>
     7#include <QMetaType>
    78
    89#include <transport/TSocket.h>
     
    1415using namespace com::gpssolutions::rtnet;
    1516
    16 // Handler Class Definition
    17 //////////////////////////////////////////////////////////////////////////////
    18 class t_thriftClient : public com::gpssolutions::rtnet::RtnetDataIf, public QThread {
     17class 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
     35class t_thriftClient : public QThread, public com::gpssolutions::rtnet::RtnetDataIf {
     36 Q_OBJECT
    1937 public:
    2038  t_thriftClient();
     
    3452  void handleEpochResults(const RtnetEpoch& epoch);
    3553
     54 signals:
     55  void newThriftResult(t_thriftResult);
     56
    3657 private:
    3758
Note: See TracChangeset for help on using the changeset viewer.