1 |
mocchiut |
1.1 |
/** @file |
2 |
|
|
* $Author: messineo $ |
3 |
|
|
* $Date: 2008-03-05 17:00:16 $ |
4 |
|
|
* $Revision: 1.12 $ |
5 |
|
|
* |
6 |
|
|
* Header file for the algorithms used to read the techmodel data file. |
7 |
|
|
*/ |
8 |
|
|
|
9 |
|
|
|
10 |
|
|
#ifndef TECHMODEL_ALGORITHM_H |
11 |
|
|
#define TECHMODEL_ALGORITHM_H |
12 |
|
|
|
13 |
|
|
#include <iostream> |
14 |
|
|
#include <fstream> |
15 |
|
|
|
16 |
|
|
#include "event/Algorithm.h" |
17 |
|
|
#include "event/Exception.h" |
18 |
|
|
|
19 |
|
|
//my logger |
20 |
|
|
#include "../Logger.h" |
21 |
|
|
|
22 |
|
|
namespace PamOffLineSW |
23 |
|
|
{ |
24 |
|
|
//logger |
25 |
|
|
extern LogUtil* mainLogUtil; |
26 |
|
|
} |
27 |
|
|
|
28 |
|
|
namespace pamela { |
29 |
|
|
namespace techmodel { |
30 |
|
|
|
31 |
|
|
/** |
32 |
|
|
* Base algorithm for all techmodel reader. |
33 |
|
|
*/ |
34 |
|
|
class TechmodelAlgorithm: public Algorithm { |
35 |
|
|
protected: |
36 |
|
|
TechmodelAlgorithm(const PacketType*, std::string); |
37 |
|
|
public: |
38 |
|
|
virtual void Init(PamelaRun*); |
39 |
|
|
virtual void PKT_RunEvent(char*, long int = 0) throw (Exception){} |
40 |
|
|
ClassDef(TechmodelAlgorithm, 1) |
41 |
|
|
}; |
42 |
|
|
} |
43 |
|
|
} |
44 |
|
|
|
45 |
|
|
#endif /* TECHMODEL_ALGORITHM_H */ |
46 |
|
|
|
47 |
|
|
|