Rev | Line | |
---|
[5407] | 1 | #ifndef THRIFTCLIENT_H
|
---|
| 2 | #define THRIFTCLIENT_H
|
---|
| 3 |
|
---|
| 4 | #include <string>
|
---|
| 5 | #include <map>
|
---|
[5409] | 6 | #include <QThread>
|
---|
[5407] | 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 | //////////////////////////////////////////////////////////////////////////////
|
---|
[5410] | 18 | class t_thriftClient : public com::gpssolutions::rtnet::RtnetDataIf, public QThread {
|
---|
[5407] | 19 | public:
|
---|
[5409] | 20 | t_thriftClient();
|
---|
| 21 | ~t_thriftClient();
|
---|
| 22 | virtual void run();
|
---|
[5414] | 23 | void stop() {_stop = true;}
|
---|
[5407] | 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;
|
---|
[5414] | 46 | bool _stop;
|
---|
[5407] | 47 | };
|
---|
| 48 |
|
---|
| 49 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.