Ignore:
Timestamp:
Dec 10, 2020, 3:40:35 PM (9 months ago)
Author:
stuerze
Message:

bug fixed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/RTCM3/RTCM3coDecoder.h

    r9049 r9307  
    4141  virtual t_irc Decode(char* buffer, int bufLen, std::vector<std::string>& errmsg);
    4242  virtual int corrGPSEpochTime() const {return int(_lastTime.gpssec());}
    43   virtual void setSsrFormatType(const e_type type) {_type = type;}
     43  virtual void initSsrFormatType(const e_type type) {
     44    _type = type;
     45    if      (_type == RTCMssr) {
     46      _ssrCorr = new SsrCorrRtcm();
     47    }
     48    else {
     49      _ssrCorr = new SsrCorrIgs();
     50    }
     51  }
    4452
    4553 signals:
Note: See TracChangeset for help on using the changeset viewer.