Changeset 1143 in ntrip for trunk/BNC/bncgetthread.cpp


Ignore:
Timestamp:
Oct 2, 2008, 4:19:33 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r1142 r1143  
    6060using namespace std;
    6161
    62 // Constructor
     62// Constructor 1
    6363////////////////////////////////////////////////////////////////////////////
    6464bncGetThread::bncGetThread(const QByteArray& rawInpFileName,
     
    6666
    6767  _format = format;
    68   _staID  = "SASS"
     68  _staID  = rawInpFileName.left(4)
    6969
    7070  initialize();
     
    7676}
    7777
     78// Constructor 2
     79////////////////////////////////////////////////////////////////////////////
    7880bncGetThread::bncGetThread(const QUrl& mountPoint,
    7981                           const QByteArray& format,
     
    8688  _mountPoint = mountPoint;
    8789  _staID      = mountPoint.path().mid(1).toAscii();
    88   _staID_orig = _staID;
    8990  _format     = format;
    9091  _latitude   = latitude;
     
    9697}
    9798
     99// Initialization
     100////////////////////////////////////////////////////////////////////////////
    98101void bncGetThread::initialize() {
    99102
     
    104107  _rawInpFile = 0;
    105108  _rawOutFile = 0;
     109  _staID_orig = _staID;
    106110
    107111  // Check name conflict
Note: See TracChangeset for help on using the changeset viewer.