1 |
/** @file |
/** @file |
2 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
3 |
* $Date: 2004/08/19 15:24:46 $ |
* $Date: 2004/08/20 15:01:42 $ |
4 |
* $Revision: 1.6 $ |
* $Revision: 1.7 $ |
5 |
* |
* |
6 |
* Implementation of the functions of a sample Algorithm class. |
* Implementation of the functions of a sample Algorithm class. |
7 |
* This file can be used as a templace to develop your own algorithm. |
* This file can be used as a templace to develop your own algorithm. |
75 |
*/ |
*/ |
76 |
std::string EventReader::GetVersionInfo(void) const { |
std::string EventReader::GetVersionInfo(void) const { |
77 |
return |
return |
78 |
"$Header: /home/cvsmanager/yoda/techmodel/EventReader.cpp,v 1.6 2004/08/19 15:24:46 kusanagi Exp $\n"; |
"$Header: /home/cvsmanager/yoda/techmodel/EventReader.cpp,v 1.7 2004/08/20 15:01:42 kusanagi Exp $\n"; |
79 |
} |
} |
80 |
|
|
81 |
/** |
/** |
218 |
} else { |
} else { |
219 |
cat << log4cpp::Priority::ERROR << " WRONG CRC FOR HEADER " |
cat << log4cpp::Priority::ERROR << " WRONG CRC FOR HEADER " |
220 |
<< " " << log4cpp::CategoryStream::ENDLINE; |
<< " " << log4cpp::CategoryStream::ENDLINE; |
221 |
|
InputFile->seekg(-(13), std::ios::cur); |
222 |
response = false; |
response = false; |
223 |
} |
} |
224 |
char tmpId1[4]; |
char tmpId1[4]; |
283 |
if (InputFile->eof()) { |
if (InputFile->eof()) { |
284 |
throw Exception("Extra bytes over the last packets"); |
throw Exception("Extra bytes over the last packets"); |
285 |
} else { |
} else { |
286 |
return 0; |
subIndex = 0; |
287 |
|
//return 0; |
288 |
} |
} |
289 |
//InputFile->seekg(-(subIndex+1), std::ios::cur); |
//InputFile->seekg(-(subIndex+1), std::ios::cur); |
290 |
//subIndex = 0; |
//subIndex = 0; |