Changeset 3553 in ntrip for trunk/BNC/combination/bnccomb.h


Ignore:
Timestamp:
Dec 23, 2011, 8:37:51 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/combination/bnccomb.h

    r3497 r3553  
    7373      }
    7474    }
     75    bncTime tt() const {
     76      if (corrs.size() > 0) {
     77        return corrs[0]->tt;
     78      }
     79      else {
     80        return bncTime();
     81      }
     82    }
    7583    QVector<cmbCorr*> corrs;
    7684  };
     
    9098  t_irc checkOrbits(QTextStream& out);
    9199
    92   QVector<cmbCorr*>& corrs() {return _buffer[_resTime].corrs;}
     100  QVector<cmbCorr*>& corrs() {return _buffer[_resTime.longSec()].corrs;}
    93101
    94102  QList<cmbAC*>           _ACs;
    95103  bncTime                 _resTime;
    96104  QVector<cmbParam*>      _params;
    97   QMap<bncTime, cmbEpoch> _buffer;
     105  QMap<unsigned long, cmbEpoch> _buffer;
    98106  bncRtnetDecoder*        _rtnetDecoder;
    99107  SymmetricMatrix         _QQ;
Note: See TracChangeset for help on using the changeset viewer.