Changeset 5446 in ntrip


Ignore:
Timestamp:
Sep 13, 2013, 10:46:18 AM (8 years ago)
Author:
mervart
Message:
 
Location:
trunk/GnssCenter/monitor
Files:
2 edited

Legend:

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

    r5431 r5446  
    66
    77#include "thriftclient.h"
    8 #include "map_stations.h"
     8#include "monitor.h"
    99
    1010using namespace apache::thrift;
     
    1818// Constructor
    1919//////////////////////////////////////////////////////////////////////////////
    20 t_thriftClient::t_thriftClient(GnssCenter::t_map_stations* parent) {
     20t_thriftClient::t_thriftClient(GnssCenter::t_monitor* parent) {
    2121  _stop   = false;
    2222  _parent = parent;
     
    6666// Constructor
    6767//////////////////////////////////////////////////////////////////////////////
    68 t_thriftHandler::t_thriftHandler(GnssCenter::t_map_stations* parent) {
     68t_thriftHandler::t_thriftHandler(GnssCenter::t_monitor* parent) {
    6969  _parent = parent;
    7070}
  • trunk/GnssCenter/monitor/thriftclient.h

    r5431 r5446  
    1616
    1717namespace GnssCenter {
    18   class t_map_stations;
     18  class t_monitor;
    1919}
    2020
     
    3737};
    3838
    39 
    4039class t_thriftHandler : public RtnetDataIf {
    4140 public:
    42   t_thriftHandler(GnssCenter::t_map_stations* parent);
     41  t_thriftHandler(GnssCenter::t_monitor* parent);
    4342  ~t_thriftHandler();
    4443  void startDataStream() {}
     
    5958    double _z;
    6059  };
    61   GnssCenter::t_map_stations*         _parent;
     60  GnssCenter::t_monitor*              _parent;
    6261  std::map<std::string, t_stationCrd> _stationCrd;
    6362};
     
    6564class t_thriftClient : public QThread {
    6665 public:
    67   t_thriftClient(GnssCenter::t_map_stations* parent);
     66  t_thriftClient(GnssCenter::t_monitor* parent);
    6867  ~t_thriftClient();
    6968  virtual void run();
     
    7473
    7574 private:
    76   QMutex                      _mutex;
    77   GnssCenter::t_map_stations* _parent;
    78   bool                        _stop;
     75  QMutex                 _mutex;
     76  GnssCenter::t_monitor* _parent;
     77  bool                   _stop;
    7978};
    8079
Note: See TracChangeset for help on using the changeset viewer.