source: ntrip/trunk/BNC/src/PPP/pppUtils.cpp@ 7231

Last change on this file since 7231 was 7231, checked in by stuerze, 9 years ago

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

  • Property svn:keywords set to Author Date Id Rev URL;svn:eol-style=native
  • Property svn:mime-type set to text/plain
File size: 1.4 KB
Line 
1/* -------------------------------------------------------------------------
2 * BKG NTRIP Client
3 * -------------------------------------------------------------------------
4 *
5 * Class: t_pppUtils
6 *
7 * Purpose: Auxiliary Functions for PPP
8 *
9 * Author: A. Stürze
10 *
11 * Created: 18-Aug-2015
12 *
13 * Changes:
14 *
15 * -----------------------------------------------------------------------*/
16
17#include "pppUtils.h"
18#include "bncutils.h"
19#include "pppModel.h"
20
21#include <iostream> // std::cout, std::ios
22#include <sstream> // std::ostringstream
23
24using namespace BNC_PPP;
25using namespace std;
26
27
28
29// Constructor
30//////////////////////////////////////////////////////////////////////////////
31t_pppUtils::t_pppUtils() {
32 for (unsigned ii = 0; ii <= t_prn::MAXPRN; ii++) {
33 _satCodeBiases[ii] = 0;
34 }
35 _vTec = 0;
36}
37
38// Destructor
39//////////////////////////////////////////////////////////////////////////////
40t_pppUtils::~t_pppUtils() {
41 for (unsigned ii = 0; ii <= t_prn::MAXPRN; ii++) {
42 delete _satCodeBiases[ii];
43 }
44 delete _vTec;
45}
46
47//
48//////////////////////////////////////////////////////////////////////////////
49void t_pppUtils::putCodeBias(t_satCodeBias* satCodeBias) {
50 int iPrn = satCodeBias->_prn.toInt();
51 delete _satCodeBiases[iPrn];
52 _satCodeBiases[iPrn] = satCodeBias;
53}
54
55//
56//////////////////////////////////////////////////////////////////////////////
57void t_pppUtils::putTec(t_vTec* vTec) {
58 delete _vTec;
59 _vTec = vTec;
60}
Note: See TracBrowser for help on using the repository browser.