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