Changeset 1022 in ntrip


Ignore:
Timestamp:
Aug 6, 2008, 1:00:58 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
3 edited

Legend:

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

    r1021 r1022  
    6565  const int LEAPSECONDS = 14; /* only needed for approx. time */
    6666
    67 // Ensure, that the Decoder uses the "old" convention for the data structure for Rinex2. Perlt
     67  _staID = staID;
     68
     69  // Ensure, that the Decoder uses the "old" convention for the data structure for Rinex2. Perlt
    6870  _Parser.rinex3 = 0;
    6971
     
    108110      if (_mode == unknown) {
    109111        _mode = corrections;
     112        emit(newMessage( (_staID + " : mode set to corrections").toAscii() ));
    110113      }
    111114    }
     
    232235    if (_mode == unknown && decoded) {
    233236      _mode = observations;
     237      emit(newMessage( (_staID + " : mode set to observations").toAscii() ));
    234238    }
    235239  }
  • trunk/BNC/RTCM3/RTCM3Decoder.h

    r1021 r1022  
    4242  virtual t_irc Decode(char* buffer = 0, int bufLen = 0);
    4343 signals:
     44  void newMessage(QByteArray msg);
    4445  void newGPSEph(gpsephemeris* gpseph);
    4546  void newGlonassEph(glonassephemeris* glonasseph);
     
    4748  enum t_mode{unknown = 0, observations, corrections};
    4849
     50  QString                _staID;
    4951  struct RTCM3ParserData _Parser;
    5052  RTCM3coDecoder*        _coDecoder;
  • trunk/BNC/bncgetthread.cpp

    r1020 r1022  
    370370      emit(newMessage("Get Data: " + _staID + " in RTCM 3.x format"));
    371371      _decoder = new RTCM3Decoder(_staID);
     372      connect((RTCM3Decoder*) _decoder, SIGNAL(newMessage(QByteArray)),
     373              this, SIGNAL(newMessage(QByteArray)));
    372374    }
    373375    else if (_format.indexOf("RTIGS") != -1) {
Note: See TracChangeset for help on using the changeset viewer.