source: ntrip/branches/BNC_2.12/src/PPP_SSR_I/pppUtils.cpp@ 9322

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

some renaming regarding PPP

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