Changeset 5447 in ntrip


Ignore:
Timestamp:
Sep 13, 2013, 11:06:43 AM (8 years ago)
Author:
mervart
Message:
 
Location:
trunk/GnssCenter/monitor
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/monitor/const.cpp

    r5437 r5447  
    11#include "const.h"
     2
     3using namespace GnssCenter;
    24
    35const double t_CST::aell    = 6378137.000;
  • trunk/GnssCenter/monitor/const.h

    r5437 r5447  
    11#ifndef CONST_H
    22#define CONST_H
     3
     4namespace GnssCenter {
    35
    46enum t_irc {failure = -1, success, fatal}; // return code
     
    1012};
    1113
     14} // namespace GnssCenter
    1215
    1316#endif
  • trunk/GnssCenter/monitor/monitor.cpp

    r5445 r5447  
    3636using namespace GnssCenter;
    3737
    38 Q_EXPORT_PLUGIN2(gnsscenter_monitor, GnssCenter::t_monitorFactory)
     38Q_EXPORT_PLUGIN2(gnsscenter_monitor, t_monitorFactory)
    3939
    4040// Constructor
  • trunk/GnssCenter/monitor/monitor.h

    r5445 r5447  
    77
    88namespace GnssCenter {
    9 class t_worldPlot;
     9  class t_worldPlot;
     10  class t_thriftClient;
     11  class t_thriftResult;
    1012}
    11 
    12 class t_thriftClient;
    13 class t_thriftResult;
    1413
    1514namespace GnssCenter {
  • trunk/GnssCenter/monitor/thriftclient.cpp

    r5446 r5447  
    1616using namespace boost;
    1717
     18using namespace GnssCenter;
     19
    1820// Constructor
    1921//////////////////////////////////////////////////////////////////////////////
    20 t_thriftClient::t_thriftClient(GnssCenter::t_monitor* parent) {
     22t_thriftClient::t_thriftClient(t_monitor* parent) {
    2123  _stop   = false;
    2224  _parent = parent;
     
    6668// Constructor
    6769//////////////////////////////////////////////////////////////////////////////
    68 t_thriftHandler::t_thriftHandler(GnssCenter::t_monitor* parent) {
     70t_thriftHandler::t_thriftHandler(t_monitor* parent) {
    6971  _parent = parent;
    7072}
  • trunk/GnssCenter/monitor/thriftclient.h

    r5446 r5447  
    1818  class t_monitor;
    1919}
     20
     21namespace GnssCenter {
    2022
    2123class t_thriftResult {
     
    3941class t_thriftHandler : public RtnetDataIf {
    4042 public:
    41   t_thriftHandler(GnssCenter::t_monitor* parent);
     43  t_thriftHandler(t_monitor* parent);
    4244  ~t_thriftHandler();
    4345  void startDataStream() {}
     
    5860    double _z;
    5961  };
    60   GnssCenter::t_monitor*              _parent;
     62  t_monitor*              _parent;
    6163  std::map<std::string, t_stationCrd> _stationCrd;
    6264};
     
    6466class t_thriftClient : public QThread {
    6567 public:
    66   t_thriftClient(GnssCenter::t_monitor* parent);
     68  t_thriftClient(t_monitor* parent);
    6769  ~t_thriftClient();
    6870  virtual void run();
     
    7375
    7476 private:
    75   QMutex                 _mutex;
    76   GnssCenter::t_monitor* _parent;
    77   bool                   _stop;
     77  QMutex     _mutex;
     78  t_monitor* _parent;
     79  bool       _stop;
    7880};
    7981
     82} // namespace GnssCenter
     83
    8084#endif
  • trunk/GnssCenter/monitor/utils.cpp

    r5437 r5447  
    55
    66using namespace std;
     7using namespace GnssCenter;
    78
    89// Rectangular Coordinates -> Ellipsoidal Coordinates
  • trunk/GnssCenter/monitor/utils.h

    r5437 r5447  
    33
    44#include "const.h"
     5
     6namespace GnssCenter {
    57
    68t_irc xyz2ell(const double* XYZ, double* Ell);
     
    1012void neu2xyz(const double* Ell, const double* neu, double* xyz);
    1113
     14} // namespace GnssCenter
     15
    1216#endif
Note: See TracChangeset for help on using the changeset viewer.