Changeset 7231 in ntrip for trunk/BNC/src/PPP


Ignore:
Timestamp:
Aug 18, 2015, 4:13:05 PM (10 years ago)
Author:
stuerze
Message:

some interfaces are added to be able to handle ssr vtec in PPP mode

Location:
trunk/BNC/src/PPP
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppClient.cpp

    r7218 r7231  
    332332}
    333333
     334//
     335//////////////////////////////////////////////////////////////////////////////
     336void t_pppClient::putTec(const t_vTec* vTec) {
     337  _pppUtils->putTec(new t_vTec(*vTec));
     338}
     339
    334340//
    335341//////////////////////////////////////////////////////////////////////////////
  • trunk/BNC/src/PPP/pppClient.h

    r7224 r7231  
    4444  ~t_pppClient();
    4545  void                processEpoch(const std::vector<t_satObs*>& satObs, t_output* output);
    46   void                putEphemeris(const t_eph* eph);                 
     46  void                putEphemeris(const t_eph* eph);
     47  void                putTec(const t_vTec* vTec);
    4748  void                putOrbCorrections(const std::vector<t_orbCorr*>& corr);
    4849  void                putClkCorrections(const std::vector<t_clkCorr*>& corr);
  • trunk/BNC/src/PPP/pppUtils.cpp

    r7218 r7231  
    1919#include "pppModel.h"
    2020
     21#include <iostream>     // std::cout, std::ios
     22#include <sstream>      // std::ostringstream
     23
    2124using namespace BNC_PPP;
    2225using namespace std;
     
    3033    _satCodeBiases[ii] = 0;
    3134  }
     35  _vTec = 0;
    3236}
    3337
     
    3842    delete _satCodeBiases[ii];
    3943  }
     44  delete _vTec;
    4045}
    4146
     
    4752  _satCodeBiases[iPrn] = satCodeBias;
    4853}
     54
     55//
     56//////////////////////////////////////////////////////////////////////////////
     57void t_pppUtils::putTec(t_vTec* vTec) {
     58  delete _vTec;
     59  _vTec = vTec;
     60}
  • trunk/BNC/src/PPP/pppUtils.h

    r7218 r7231  
    1616      return _satCodeBiases[prn.toInt()];
    1717  }
     18  void putTec(t_vTec* vTec);
     19  const t_vTec* vTec() const {
     20    return _vTec;
     21  }
    1822
    1923 private:
    2024  t_satCodeBias*   _satCodeBiases[t_prn::MAXPRN+1];
    21 
     25  t_vTec*          _vTec;
    2226};
    2327
Note: See TracChangeset for help on using the changeset viewer.