Changeset 1567 in ntrip for trunk/BNC/RTCM3


Ignore:
Timestamp:
Feb 4, 2009, 9:32:15 AM (15 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC/RTCM3
Files:
2 edited

Legend:

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

    r1566 r1567  
    4141  virtual ~RTCM3Decoder();
    4242  virtual t_irc Decode(char* buffer, int bufLen, std::vector<std::string>& errmsg);
    43   int corrGPSEpochTime() const {
    44     return (_coDecoder ? _coDecoder->GPSEpochTime() : -1);
     43  virtual int corrGPSEpochTime() const {
     44    return (_mode == corrections ? _coDecoder->corrGPSEpochTime() : -1);
    4545  }
     46
    4647 signals:
    4748  void newMessage(QByteArray msg,bool showOnScreen);
    4849  void newGPSEph(gpsephemeris* gpseph);
    4950  void newGlonassEph(glonassephemeris* glonasseph);
     51
    5052 private:
    5153  enum t_mode{unknown = 0, observations, corrections};
  • trunk/BNC/RTCM3/RTCM3coDecoder.h

    r1566 r1567  
    4343  virtual ~RTCM3coDecoder();
    4444  virtual t_irc Decode(char* buffer, int bufLen, std::vector<std::string>& errmsg);
    45   int GPSEpochTime() const {return _co.GPSEpochTime;}
     45  virtual int corrGPSEpochTime() const {return _co.GPSEpochTime;}
    4646
    4747 signals:
Note: See TracChangeset for help on using the changeset viewer.