| 1 |
kusanagi |
1.1 |
/** @file |
| 2 |
kusanagi |
1.2 |
* $Source: /home/cvsmanager/yoda/event/Algorithm.cpp,v $ |
| 3 |
kusanagi |
4.0 |
* $Id: Algorithm.cpp,v 3.0 2005/03/04 15:54:11 kusanagi Exp $ |
| 4 |
kusanagi |
1.2 |
* $Author: kusanagi $ |
| 5 |
kusanagi |
1.1 |
* |
| 6 |
|
|
* Implementation of the default functions of the Algorithm class. |
| 7 |
|
|
*/ |
| 8 |
|
|
|
| 9 |
|
|
#include "Algorithm.h" |
| 10 |
kusanagi |
1.2 |
#include <log4cxx/logger.h> |
| 11 |
kusanagi |
1.1 |
using namespace pamela; |
| 12 |
|
|
|
| 13 |
kusanagi |
1.2 |
static log4cxx::LoggerPtr logger = log4cxx::Logger::getLogger(_T("pamela.Algorithm")); |
| 14 |
kusanagi |
1.1 |
|
| 15 |
|
|
/** |
| 16 |
|
|
* Constructor. Builds an algorithm that processes the events of a certain |
| 17 |
|
|
* type. |
| 18 |
|
|
*/ |
| 19 |
|
|
Algorithm::Algorithm(const PacketType* t, std::string name): |
| 20 |
|
|
type(t), AlgorithmName(name) { |
| 21 |
kusanagi |
1.2 |
logger->debug(_T("Constructor")); |
| 22 |
kusanagi |
1.1 |
} |
| 23 |
|
|
|
| 24 |
|
|
ClassImp(Algorithm) |