Changeset 5447 in ntrip
- Timestamp:
- Sep 13, 2013, 11:06:43 AM (11 years ago)
- Location:
- trunk/GnssCenter/monitor
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/GnssCenter/monitor/const.cpp
r5437 r5447 1 1 #include "const.h" 2 3 using namespace GnssCenter; 2 4 3 5 const double t_CST::aell = 6378137.000; -
trunk/GnssCenter/monitor/const.h
r5437 r5447 1 1 #ifndef CONST_H 2 2 #define CONST_H 3 4 namespace GnssCenter { 3 5 4 6 enum t_irc {failure = -1, success, fatal}; // return code … … 10 12 }; 11 13 14 } // namespace GnssCenter 12 15 13 16 #endif -
trunk/GnssCenter/monitor/monitor.cpp
r5445 r5447 36 36 using namespace GnssCenter; 37 37 38 Q_EXPORT_PLUGIN2(gnsscenter_monitor, GnssCenter::t_monitorFactory)38 Q_EXPORT_PLUGIN2(gnsscenter_monitor, t_monitorFactory) 39 39 40 40 // Constructor -
trunk/GnssCenter/monitor/monitor.h
r5445 r5447 7 7 8 8 namespace GnssCenter { 9 class t_worldPlot; 9 class t_worldPlot; 10 class t_thriftClient; 11 class t_thriftResult; 10 12 } 11 12 class t_thriftClient;13 class t_thriftResult;14 13 15 14 namespace GnssCenter { -
trunk/GnssCenter/monitor/thriftclient.cpp
r5446 r5447 16 16 using namespace boost; 17 17 18 using namespace GnssCenter; 19 18 20 // Constructor 19 21 ////////////////////////////////////////////////////////////////////////////// 20 t_thriftClient::t_thriftClient( GnssCenter::t_monitor* parent) {22 t_thriftClient::t_thriftClient(t_monitor* parent) { 21 23 _stop = false; 22 24 _parent = parent; … … 66 68 // Constructor 67 69 ////////////////////////////////////////////////////////////////////////////// 68 t_thriftHandler::t_thriftHandler( GnssCenter::t_monitor* parent) {70 t_thriftHandler::t_thriftHandler(t_monitor* parent) { 69 71 _parent = parent; 70 72 } -
trunk/GnssCenter/monitor/thriftclient.h
r5446 r5447 18 18 class t_monitor; 19 19 } 20 21 namespace GnssCenter { 20 22 21 23 class t_thriftResult { … … 39 41 class t_thriftHandler : public RtnetDataIf { 40 42 public: 41 t_thriftHandler( GnssCenter::t_monitor* parent);43 t_thriftHandler(t_monitor* parent); 42 44 ~t_thriftHandler(); 43 45 void startDataStream() {} … … 58 60 double _z; 59 61 }; 60 GnssCenter::t_monitor* _parent;62 t_monitor* _parent; 61 63 std::map<std::string, t_stationCrd> _stationCrd; 62 64 }; … … 64 66 class t_thriftClient : public QThread { 65 67 public: 66 t_thriftClient( GnssCenter::t_monitor* parent);68 t_thriftClient(t_monitor* parent); 67 69 ~t_thriftClient(); 68 70 virtual void run(); … … 73 75 74 76 private: 75 QMutex 76 GnssCenter::t_monitor* _parent;77 bool 77 QMutex _mutex; 78 t_monitor* _parent; 79 bool _stop; 78 80 }; 79 81 82 } // namespace GnssCenter 83 80 84 #endif -
trunk/GnssCenter/monitor/utils.cpp
r5437 r5447 5 5 6 6 using namespace std; 7 using namespace GnssCenter; 7 8 8 9 // Rectangular Coordinates -> Ellipsoidal Coordinates -
trunk/GnssCenter/monitor/utils.h
r5437 r5447 3 3 4 4 #include "const.h" 5 6 namespace GnssCenter { 5 7 6 8 t_irc xyz2ell(const double* XYZ, double* Ell); … … 10 12 void neu2xyz(const double* Ell, const double* neu, double* xyz); 11 13 14 } // namespace GnssCenter 15 12 16 #endif
Note:
See TracChangeset
for help on using the changeset viewer.