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 |
|
---|
14 | using namespace com::gpssolutions::rtnet;
|
---|
15 |
|
---|
16 | // Handler Class Definition
|
---|
17 | //////////////////////////////////////////////////////////////////////////////
|
---|
18 | class t_thriftClient : public com::gpssolutions::rtnet::RtnetDataIf, QThread {
|
---|
19 | public:
|
---|
20 | t_thriftClient();
|
---|
21 | ~t_thriftClient();
|
---|
22 | virtual void run();
|
---|
23 |
|
---|
24 | void startDataStream() {}
|
---|
25 | void registerRtnet(const RtnetInformation& info) {}
|
---|
26 | void handleZDAmb(const std::vector<ZDAmb>& ambList) {}
|
---|
27 | void handleDDAmbresBaselines(const std::vector<DDAmbresBaseline>& ambList) {}
|
---|
28 | void handleSatelliteXYZ(const std::vector<SatelliteXYZ>& svXYZList);
|
---|
29 | void handleStationInfo(const std::vector<StationInfo>& stationList);
|
---|
30 | void handleStationAuxInfo(const std::vector<StationAuxInfo>& stationAuxList) {}
|
---|
31 | void handleDGPSCorr(const std::vector<DGPSCorr>& dgpsList) {}
|
---|
32 | void handleSatelliteClock(const std::vector<SatelliteClock>& svList) {}
|
---|
33 | void handleEpochResults(const RtnetEpoch& epoch);
|
---|
34 |
|
---|
35 | private:
|
---|
36 |
|
---|
37 | class t_stationCrd {
|
---|
38 | public:
|
---|
39 | double _x;
|
---|
40 | double _y;
|
---|
41 | double _z;
|
---|
42 | };
|
---|
43 |
|
---|
44 | std::map<std::string, t_stationCrd> _stationCrd;
|
---|
45 | };
|
---|
46 |
|
---|
47 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.