Changeset 970 in ntrip for trunk


Ignore:
Timestamp:
Jul 26, 2008, 9:39:22 AM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC/RTCM3
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM3/RTCM3Decoder.cpp

    r939 r970  
    6161// Constructor
    6262////////////////////////////////////////////////////////////////////////////
    63 RTCM3Decoder::RTCM3Decoder(const QString& fileName) : GPSDecoder() {
     63RTCM3Decoder::RTCM3Decoder(const QString& staID) : GPSDecoder() {
    6464
    6565  const int LEAPSECONDS = 14; /* only needed for approx. time */
     
    8282  // Sub-Decoder for Clock and Orbit Corrections
    8383  // -------------------------------------------
    84   _coDecoder = new RTCM3coDecoder(fileName);
     84  _coDecoder = new RTCM3coDecoder(staID);
    8585}
    8686
  • trunk/BNC/RTCM3/RTCM3coDecoder.cpp

    r938 r970  
    5151// Constructor
    5252////////////////////////////////////////////////////////////////////////////
    53 RTCM3coDecoder::RTCM3coDecoder(const QString& fileName) {
     53RTCM3coDecoder::RTCM3coDecoder(const QString& staID) {
     54
     55  _staID = staID;
    5456
    5557  // File Output
     
    6264      path += QDir::separator();
    6365    }
    64     _fileNameSkl = path + fileName;
     66    _fileNameSkl = path + staID;
    6567  }
    6668  _out = 0;
  • trunk/BNC/RTCM3/RTCM3coDecoder.h

    r936 r970  
    4040Q_OBJECT
    4141 public:
    42   RTCM3coDecoder(const QString& fileName);
     42  RTCM3coDecoder(const QString& staID);
    4343  virtual ~RTCM3coDecoder();
    4444  virtual t_irc Decode(char* buffer = 0, int bufLen = 0);
     
    5353  int                 _port;
    5454  std::ofstream*      _out;
     55  QString             _staID;
    5556  QString             _fileNameSkl;
    5657  QString             _fileName;
Note: See TracChangeset for help on using the changeset viewer.