Changeset 1567 in ntrip
- Timestamp:
- Feb 4, 2009, 9:32:15 AM (16 years ago)
- Location:
- trunk/BNC
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM/GPSDecoder.h
r1566 r1567 136 136 } 137 137 138 virtual int corrGPSEpochTime() const {return -1;} 139 138 140 struct t_antInfo { 139 141 enum t_type { ARP, APC }; -
trunk/BNC/RTCM3/RTCM3Decoder.h
r1566 r1567 41 41 virtual ~RTCM3Decoder(); 42 42 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); 45 45 } 46 46 47 signals: 47 48 void newMessage(QByteArray msg,bool showOnScreen); 48 49 void newGPSEph(gpsephemeris* gpseph); 49 50 void newGlonassEph(glonassephemeris* glonasseph); 51 50 52 private: 51 53 enum t_mode{unknown = 0, observations, corrections}; -
trunk/BNC/RTCM3/RTCM3coDecoder.h
r1566 r1567 43 43 virtual ~RTCM3coDecoder(); 44 44 virtual t_irc Decode(char* buffer, int bufLen, std::vector<std::string>& errmsg); 45 intGPSEpochTime() const {return _co.GPSEpochTime;}45 virtual int corrGPSEpochTime() const {return _co.GPSEpochTime;} 46 46 47 47 signals: -
trunk/BNC/bncgetthread.cpp
r1566 r1567 377 377 _latencyChecker->checkOutage(irc == success); 378 378 _latencyChecker->checkObsLatency(_decoder->_obsList); 379 RTCM3Decoder* rtcm3decoder = dynamic_cast<RTCM3Decoder*>(_decoder); 380 if (rtcm3decoder) { 381 _latencyChecker->checkCorrLatency(rtcm3decoder->corrGPSEpochTime()); 382 } 379 _latencyChecker->checkCorrLatency(_decoder->corrGPSEpochTime()); 380 383 381 scanRTCM(); 384 382
Note:
See TracChangeset
for help on using the changeset viewer.