Changeset 6085 in ntrip for trunk/BNC/src
- Timestamp:
- Sep 7, 2014, 6:39:50 PM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP_free/pppClient.cpp
r6083 r6085 27 27 * ------------------------------------------------------------------------- 28 28 * 29 * Class: bncPPPclient29 * Class: t_pppClient 30 30 * 31 31 * Purpose: Precise Point Positioning … … 56 56 // Global variable holding thread-specific pointers 57 57 ////////////////////////////////////////////////////////////////////////////// 58 bncPPPclient* PPP_CLIENT = 0;58 t_pppClient* PPP_CLIENT = 0; 59 59 60 60 // Static function returning thread-specific pointer 61 61 ////////////////////////////////////////////////////////////////////////////// 62 bncPPPclient* t_pppClient::instance() {62 t_pppClient* t_pppClient::instance() { 63 63 return PPP_CLIENT; 64 64 } … … 66 66 // Constructor 67 67 //////////////////////////////////////////////////////////////////////////// 68 bncPPPclient::bncPPPclient(const t_pppOptions* opt) : bncEphUser(false) {68 t_pppClient::t_pppClient(const t_pppOptions* opt) : bncEphUser(false) { 69 69 70 70 _opt = new t_pppOptions(*opt); … … 77 77 // Destructor 78 78 //////////////////////////////////////////////////////////////////////////// 79 bncPPPclient::~bncPPPclient() {79 t_pppClient::~t_pppClient() { 80 80 _epoData->clear(); 81 81 … … 99 99 // 100 100 //////////////////////////////////////////////////////////////////////////// 101 void bncPPPclient::processEpoch(const vector<t_satObs*>& satObs, t_output* output) {101 void t_pppClient::processEpoch(const vector<t_satObs*>& satObs, t_output* output) { 102 102 QMutexLocker locker(&_mutex); 103 103 … … 178 178 // 179 179 //////////////////////////////////////////////////////////////////////////// 180 void bncPPPclient::putNewObs(t_satData* satData) {180 void t_pppClient::putNewObs(t_satData* satData) { 181 181 182 182 // Set Observations GPS and Glonass … … 234 234 // 235 235 //////////////////////////////////////////////////////////////////////////// 236 void bncPPPclient::putOrbCorrections(const std::vector<t_orbCorr*>& corr) {236 void t_pppClient::putOrbCorrections(const std::vector<t_orbCorr*>& corr) { 237 237 QMutexLocker locker(&_mutex); 238 238 } … … 240 240 // 241 241 //////////////////////////////////////////////////////////////////////////// 242 void bncPPPclient::putClkCorrections(const std::vector<t_clkCorr*>& corr) {242 void t_pppClient::putClkCorrections(const std::vector<t_clkCorr*>& corr) { 243 243 QMutexLocker locker(&_mutex); 244 244 } … … 263 263 // Satellite Position 264 264 //////////////////////////////////////////////////////////////////////////// 265 t_irc bncPPPclient::getSatPos(const bncTime& tt, const QString& prn,265 t_irc t_pppClient::getSatPos(const bncTime& tt, const QString& prn, 266 266 ColumnVector& xc, ColumnVector& vv) { 267 267 if (_eph.contains(prn)) { … … 280 280 // Correct Time of Transmission 281 281 //////////////////////////////////////////////////////////////////////////// 282 t_irc bncPPPclient::cmpToT(t_satData* satData) {282 t_irc t_pppClient::cmpToT(t_satData* satData) { 283 283 284 284 double prange = satData->P3; -
trunk/BNC/src/PPP_free/pppClient.h
r6083 r6085 41 41 class t_satBias; 42 42 43 class bncPPPclient : public bncEphUser {43 class t_pppClient : public bncEphUser { 44 44 public: 45 bncPPPclient(const t_pppOptions* opt);46 ~ bncPPPclient();47 void 48 void 49 void 50 void 51 void 52 QByteArray 53 const t_pppOptions* 54 static bncPPPclient* instance();55 std::ostringstream& 45 t_pppClient(const t_pppOptions* opt); 46 ~t_pppClient(); 47 void processEpoch(const std::vector<t_satObs*>& satObs, t_output* output); 48 void putEphemeris(const t_eph* eph); 49 void putOrbCorrections(const std::vector<t_orbCorr*>& corr); 50 void putClkCorrections(const std::vector<t_clkCorr*>& corr); 51 void putBiases(const std::vector<t_satBias*>& satBias); 52 QByteArray staID() const {return _staID;} 53 const t_pppOptions* opt() const {return _opt;} 54 static t_pppClient* instance(); 55 std::ostringstream& log() {return *_log;} 56 56 57 57 private: -
trunk/BNC/src/src.pri
r6076 r6085 128 128 INCLUDEPATH += PPP_free 129 129 DEFINES += USE_PPP_FREE 130 HEADERS += PPP_free/pppClient.h PPP_free/bncpppclient.h PPP_free/bncmodel.h \ 131 PPP_free/bancroft.h 132 SOURCES += PPP_free/pppClient.cpp PPP_free/bncpppclient.cpp PPP_free/bncmodel.cpp \ 133 PPP_free/bancroft.cpp 130 HEADERS += PPP_free/pppClient.h PPP_free/bncmodel.h PPP_free/bancroft.h 131 SOURCES += PPP_free/pppClient.cpp PPP_free/bncmodel.cpp PPP_free/bancroft.cpp 134 132 } 135 133
Note:
See TracChangeset
for help on using the changeset viewer.