1 |
/** @file |
/** @file |
2 |
* $Source: /home/cvsmanager/yoda/techmodel/McmdReader.cpp,v $ |
* $Source: /home/cvsmanager/yoda/techmodel/McmdReader.cpp,v $ |
3 |
* $Id: McmdReader.cpp,v 2.1 2004/12/03 22:08:00 kusanagi Exp $ |
* $Id: McmdReader.cpp,v 6.0 2006/02/07 17:11:09 kusanagi Exp $ |
4 |
* $Author: kusanagi $ |
* $Author: kusanagi $ |
5 |
* |
* |
6 |
* Implementation of the McmdReader class. |
* Implementation of the McmdReader class. |
7 |
*/ |
*/ |
8 |
|
|
|
#define BYTE unsigned char |
|
|
#include <string> |
|
|
#include <log4cxx/logger.h> |
|
9 |
extern "C" { |
extern "C" { |
10 |
#include <sys/time.h> |
#include "CRC.h" |
|
#include "CRC.h" |
|
11 |
} |
} |
|
|
|
|
#include <fstream> |
|
|
#include "stdio.h" |
|
12 |
#include "ReaderAlgorithms.h" |
#include "ReaderAlgorithms.h" |
|
|
|
|
#include "event/mcmd/McmdRecord.h" |
|
|
|
|
|
using namespace pamela; |
|
13 |
using namespace pamela::techmodel; |
using namespace pamela::techmodel; |
14 |
|
|
15 |
static log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(_T("pamela.techmodel.McmdReader")); |
static log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(_T("pamela.techmodel.McmdReader")); |
28 |
*/ |
*/ |
29 |
std::string McmdReader::GetVersionInfo(void) const { |
std::string McmdReader::GetVersionInfo(void) const { |
30 |
return |
return |
31 |
"$Header: /home/cvsmanager/yoda/techmodel/McmdReader.cpp,v 2.1 2004/12/03 22:08:00 kusanagi Exp $\n"; |
"$Header: /home/cvsmanager/yoda/techmodel/McmdReader.cpp,v 6.0 2006/02/07 17:11:09 kusanagi Exp $\n"; |
32 |
} |
} |
33 |
|
|
34 |
/** |
/** |