- Timestamp:
- Jan 27, 2011, 3:48:47 PM (14 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/bncephuser.cpp ¶
r2911 r2912 152 152 // 153 153 //////////////////////////////////////////////////////////////////////////// 154 void t_corr::readLine(const QString& line) { 154 t_irc t_corr::readLine(const QString& line) { 155 156 if (line[0] == '!') { 157 return failure; 158 } 155 159 156 160 QTextStream in(line.toAscii()); 157 161 158 162 int messageType; 163 in >> messageType; 164 165 if (!relevantMessageType(messageType)) { 166 return failure; 167 } 168 159 169 int updateInterval; 160 170 int GPSweek; 161 171 double GPSweeks; 162 172 QString prn; 163 164 in >> messageType >> updateInterval >> GPSweek >> GPSweeks >> prn; 173 in >> updateInterval >> GPSweek >> GPSweeks >> prn; 165 174 166 175 tt.set(GPSweek, GPSweeks); … … 207 216 dClkSet = true; 208 217 } 209 } 218 219 return success; 220 } -
TabularUnified trunk/BNC/bncephuser.h ¶
r2911 r2912 54 54 } 55 55 56 voidreadLine(const QString& line);56 t_irc readLine(const QString& line); 57 57 58 58 bncTime tt;
Note:
See TracChangeset
for help on using the changeset viewer.