1 |
/** @file |
/** @file |
2 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
3 |
* $Date: 2004/07/06 13:31:18 $ |
* $Date: 2004/07/08 12:31:42 $ |
4 |
* $Revision: 1.2 $ |
* $Revision: 1.3 $ |
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. |
72 |
*/ |
*/ |
73 |
std::string EventReader::GetVersionInfo(void) const { |
std::string EventReader::GetVersionInfo(void) const { |
74 |
return |
return |
75 |
"$Header: /home/cvsmanager/yoda/techmodel/EventReader.cpp,v 1.2 2004/07/06 13:31:18 kusanagi Exp $\n"; |
"$Header: /home/cvsmanager/yoda/techmodel/EventReader.cpp,v 1.3 2004/07/08 12:31:42 kusanagi Exp $\n"; |
76 |
} |
} |
77 |
|
|
78 |
/** |
/** |
225 |
char tmpCRC[4]; |
char tmpCRC[4]; |
226 |
sprintf(tmpId1, "%02X", PacketId1); |
sprintf(tmpId1, "%02X", PacketId1); |
227 |
sprintf(tmpId2, "%02X", PacketId2); |
sprintf(tmpId2, "%02X", PacketId2); |
228 |
sprintf(tmpLength, "%06X", PacketLenght); |
sprintf(tmpLength, "%06X", Header->GetPscuHeader()->GetPacketLenght()); |
229 |
sprintf(tmpStart, "%X", ((long int)(InputFile->tellg()) - 16)); |
sprintf(tmpStart, "%X", ((long int)(InputFile->tellg()) - 16)); |
230 |
sprintf(tmpCRC, "%02X", CRC); |
sprintf(tmpCRC, "%02X", CRC); |
231 |
cat << log4cpp::Priority::INFO |
cat << log4cpp::Priority::INFO |