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

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

minor re-organisation of PPP parts

  • 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.2 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
21using namespace BNC_PPP;
22using namespace std;
23
24
25
26// Constructor
27//////////////////////////////////////////////////////////////////////////////
28t_pppUtils::t_pppUtils() {
29 for (unsigned ii = 0; ii <= t_prn::MAXPRN; ii++) {
30 _satCodeBiases[ii] = 0;
31 }
32}
33
34// Destructor
35//////////////////////////////////////////////////////////////////////////////
36t_pppUtils::~t_pppUtils() {
37 for (unsigned ii = 0; ii <= t_prn::MAXPRN; ii++) {
38 delete _satCodeBiases[ii];
39 }
40}
41
42//
43//////////////////////////////////////////////////////////////////////////////
44void t_pppUtils::putCodeBias(t_satCodeBias* satCodeBias) {
45 int iPrn = satCodeBias->_prn.toInt();
46 delete _satCodeBiases[iPrn];
47 _satCodeBiases[iPrn] = satCodeBias;
48}
Note: See TracBrowser for help on using the repository browser.