Changeset 5810 in ntrip for trunk/BNC/src/PPP/pppEphPool.cpp


Ignore:
Timestamp:
Aug 6, 2014, 11:34:36 AM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r5809 r5810  
    4040
    4141#include <iostream>
    42 #include "ephpool.h"
    43 #include "ppp.h"
     42#include "pppEphPool.h"
     43#include "pppInclude.h"
    4444#include "pppClient.h"
    4545
     
    4949//
    5050/////////////////////////////////////////////////////////////////////////////
    51 void t_ephPool::putEphemeris(t_eph* eph) {
     51void t_pppEphPool::putEphemeris(t_eph* eph) {
    5252  if (eph && eph->ok()) {
    5353    _satEphPool[eph->prn().toInt()].putEphemeris(_maxQueueSize, eph);
     
    6060//
    6161/////////////////////////////////////////////////////////////////////////////
    62 void t_ephPool::putOrbCorrection(t_orbCorr* corr) {
     62void t_pppEphPool::putOrbCorrection(t_orbCorr* corr) {
    6363  if (corr) {
    6464    _satEphPool[corr->prn().toInt()].putOrbCorrection(corr);
     
    6868//
    6969/////////////////////////////////////////////////////////////////////////////
    70 void t_ephPool::putClkCorrection(t_clkCorr* corr) {
     70void t_pppEphPool::putClkCorrection(t_clkCorr* corr) {
    7171  if (corr) {
    7272    _satEphPool[corr->prn().toInt()].putClkCorrection(corr);
     
    7676//
    7777/////////////////////////////////////////////////////////////////////////////
    78 t_irc t_ephPool::getCrd(const t_prn& prn, const bncTime& tt,
     78t_irc t_pppEphPool::getCrd(const t_prn& prn, const bncTime& tt,
    7979                             ColumnVector& xc, ColumnVector& vv) const {
    8080  return _satEphPool[prn.toInt()].getCrd(tt, xc, vv);
     
    8383//
    8484/////////////////////////////////////////////////////////////////////////////
    85 int t_ephPool::getChannel(const t_prn& prn) const {
     85int t_pppEphPool::getChannel(const t_prn& prn) const {
    8686  return _satEphPool[prn.toInt()].getChannel();
    8787}
     
    8989//
    9090/////////////////////////////////////////////////////////////////////////////
    91 void t_ephPool::t_satEphPool::putEphemeris(unsigned maxQueueSize, t_eph* eph) {
     91void t_pppEphPool::t_satEphPool::putEphemeris(unsigned maxQueueSize, t_eph* eph) {
    9292  if (_ephs.empty() || eph->isNewerThan(_ephs.front())) {
    9393    _ephs.push_front(eph);
     
    104104//
    105105/////////////////////////////////////////////////////////////////////////////
    106 void t_ephPool::t_satEphPool::putOrbCorrection(t_orbCorr* corr) {
     106void t_pppEphPool::t_satEphPool::putOrbCorrection(t_orbCorr* corr) {
    107107  for (unsigned ii = 0; ii < _ephs.size(); ii++) {
    108108    t_eph* eph = _ephs[ii];
     
    117117//
    118118/////////////////////////////////////////////////////////////////////////////
    119 void t_ephPool::t_satEphPool::putClkCorrection(t_clkCorr* corr) {
     119void t_pppEphPool::t_satEphPool::putClkCorrection(t_clkCorr* corr) {
    120120  for (unsigned ii = 0; ii < _ephs.size(); ii++) {
    121121    t_eph* eph = _ephs[ii];
     
    129129//
    130130/////////////////////////////////////////////////////////////////////////////
    131 t_irc t_ephPool::t_satEphPool::getCrd(const bncTime& tt, ColumnVector& xc,
     131t_irc t_pppEphPool::t_satEphPool::getCrd(const bncTime& tt, ColumnVector& xc,
    132132                                           ColumnVector& vv) const {
    133133  for (unsigned ii = 0; ii < _ephs.size(); ii++) {
     
    149149//
    150150/////////////////////////////////////////////////////////////////////////////
    151 int t_ephPool::t_satEphPool::getChannel() const {
     151int t_pppEphPool::t_satEphPool::getChannel() const {
    152152  if (_ephs.size() > 0) {
    153153    return _ephs[0]->slotNum();
Note: See TracChangeset for help on using the changeset viewer.