Changeset 3579 in ntrip


Ignore:
Timestamp:
Dec 26, 2011, 10:30:36 AM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/GPSS/hassDecoder.cpp

    r3578 r3579  
    1717
    1818#include <iostream>
     19
    1920#include "hassDecoder.h"
     21#include "bncapp.h"
    2022#include "bnctime.h"
    2123#include "bncutils.h"
     24#include "bncsettings.h"
    2225#include "RTCM3/RTCM3coDecoder.h"
    2326
     
    2730////////////////////////////////////////////////////////////////////////////
    2831hassDecoder::hassDecoder(const QString& staID) {
     32  _staID = staID;
     33
     34  // File Output
     35  // -----------
     36  bncSettings settings;
     37  QString path = settings.value("corrPath").toString();
     38  if (!path.isEmpty()) {
     39    expandEnvVar(path);
     40    if ( path.length() > 0 && path[path.length()-1] != QDir::separator() ) {
     41      path += QDir::separator();
     42    }
     43    _fileNameSkl = path + staID;
     44  }
     45  _out      = 0;
    2946  _GPSweeks = -1.0;
     47
     48  connect(this, SIGNAL(newCorrLine(QString, QString, long)),
     49          (bncApp*) qApp, SLOT(slotNewCorrLine(QString, QString, long)));
    3050}
    3151
     
    3353////////////////////////////////////////////////////////////////////////////
    3454hassDecoder::~hassDecoder() {
     55  delete _out;
    3556}
    3657
Note: See TracChangeset for help on using the changeset viewer.