]>
Commit | Line | Data |
---|---|---|
e58fb035 | 1 | //-*- Mode: C++ -*- |
2 | // $Id$ | |
3 | ||
4 | #ifndef ALI_HLT_PENDOLINO_LOGGER_H | |
5 | #define ALI_HLT_PENDOLINO_LOGGER_H | |
6 | //* This file is property of and copyright by the ALICE HLT Project * | |
7 | //* ALICE Experiment at CERN, All rights reserved. * | |
8 | //* See cxx source for full Copyright notice * | |
9 | ||
10 | /** @file AliHLTPendolinoLogger.h | |
11 | @author Sebastian Bablok | |
12 | @date | |
13 | @brief | |
14 | */ | |
15 | ||
16 | ||
17 | #include <TObject.h> | |
18 | ||
19 | ||
20 | ||
21 | ||
22 | /** | |
23 | * Class that defines the interface, that a Logger for the Pendolino has to | |
24 | * implement. | |
25 | * | |
26 | * @author Sebastian Bablok | |
27 | * | |
28 | * @date 2007-10-24 | |
29 | */ | |
30 | class AliHLTPendolinoLogger : public TObject { | |
31 | public: | |
32 | ||
33 | /** | |
34 | * Constructor for AliHLTPendolinoLogger | |
35 | */ | |
d9551545 | 36 | AliHLTPendolinoLogger(); |
e58fb035 | 37 | |
38 | /** | |
39 | * Destructor for AliHLTPendolinoLogger | |
40 | */ | |
d9551545 | 41 | virtual ~AliHLTPendolinoLogger(); |
e58fb035 | 42 | |
43 | /** | |
44 | * logging function for the Pendolino. Pure virtual, is implemented in | |
45 | * inherited class | |
46 | * | |
47 | * @param detector the detector, which is making the log entry | |
48 | * @param msg the log message | |
49 | */ | |
50 | virtual void log(const char* detector, const char* msg) = 0; | |
51 | ||
52 | protected: | |
53 | ||
54 | private: | |
55 | ||
56 | ClassDef(AliHLTPendolinoLogger, 0); | |
57 | }; | |
58 | ||
59 | #endif | |
60 |