Changeset 11179 in ntrip for trunk/BNC/src/bncclockrinex.cpp
- Timestamp:
- Nov 6, 2026, 4:05:20 PM (17 hours ago)
- File:
-
- 1 edited
-
trunk/BNC/src/bncclockrinex.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncclockrinex.cpp
r10613 r11179 36 36 //////////////////////////////////////////////////////////////////////////// 37 37 bncClockRinex::~bncClockRinex() { 38 if (_lastEpoTime.valid()) { 39 writeEpoch(_lastEpoTime, _oStr.str()); // last epoch, otherwise printed with the next one 40 } 38 41 bncoutf::closeFile(); 39 42 } … … 47 50 _oStr.setf(ios::fixed); 48 51 49 if ( reopen(GPSweek, GPSweeks) == success) {52 if (_sampl == 0 || fmod(GPSweeks, _sampl) == 0.0) { 50 53 51 54 bncTime epoTime(GPSweek, GPSweeks); … … 53 56 if (epoTime != _lastEpoTime) { 54 57 55 // print out epoch before 58 // print out epoch before (complete now) 56 59 if (_lastEpoTime.valid()) { 57 _out << _oStr.str(); 58 if (_lastEpoTime.daysec() != 0.0) { 59 _oStr.str(std::string()); 60 } 60 writeEpoch(_lastEpoTime, _oStr.str()); 61 _oStr.str(std::string()); 61 62 } 62 63
Note:
See TracChangeset
for help on using the changeset viewer.
