source: ntrip/trunk/GnssCenter/map_stations/thriftclient.h@ 5414

Last change on this file since 5414 was 5414, checked in by mervart, 11 years ago
File size: 1.4 KB
Line 
1#ifndef THRIFTCLIENT_H
2#define THRIFTCLIENT_H
3
4#include <string>
5#include <map>
6#include <QThread>
7
8#include <transport/TSocket.h>
9#include <transport/TBufferTransports.h>
10#include <protocol/TBinaryProtocol.h>
11
12#include "gen-cpp/RtnetData.h"
13
14using namespace com::gpssolutions::rtnet;
15
16// Handler Class Definition
17//////////////////////////////////////////////////////////////////////////////
18class t_thriftClient : public com::gpssolutions::rtnet::RtnetDataIf, public QThread {
19 public:
20 t_thriftClient();
21 ~t_thriftClient();
22 virtual void run();
23 void stop() {_stop = true;}
24
25 void startDataStream() {}
26 void registerRtnet(const RtnetInformation& info) {}
27 void handleZDAmb(const std::vector<ZDAmb>& ambList) {}
28 void handleDDAmbresBaselines(const std::vector<DDAmbresBaseline>& ambList) {}
29 void handleSatelliteXYZ(const std::vector<SatelliteXYZ>& svXYZList);
30 void handleStationInfo(const std::vector<StationInfo>& stationList);
31 void handleStationAuxInfo(const std::vector<StationAuxInfo>& stationAuxList) {}
32 void handleDGPSCorr(const std::vector<DGPSCorr>& dgpsList) {}
33 void handleSatelliteClock(const std::vector<SatelliteClock>& svList) {}
34 void handleEpochResults(const RtnetEpoch& epoch);
35
36 private:
37
38 class t_stationCrd {
39 public:
40 double _x;
41 double _y;
42 double _z;
43 };
44
45 std::map<std::string, t_stationCrd> _stationCrd;
46 bool _stop;
47};
48
49#endif
Note: See TracBrowser for help on using the repository browser.