]>
Commit | Line | Data |
---|---|---|
7002d861 | 1 | //-*- Mode: C++ -*- |
2 | // $Id: $ | |
3 | ||
4 | #ifndef ALIHLTOUTHANDLERIGNORE_H | |
5 | #define ALIHLTOUTHANDLERIGNORE_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 AliHLTOUTHandlerIgnore.h | |
11 | @author Artur Szostak <artursz@iafrica.com> | |
12 | @date 7 Jan 2011 | |
13 | @brief HLT output handler for ignoring data blocks. | |
14 | ||
15 | // see below for class documentation | |
16 | // or | |
17 | // refer to README to build package | |
18 | // or | |
19 | // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt | |
20 | */ | |
21 | #include "AliHLTOUTHandler.h" | |
22 | ||
23 | /** | |
24 | * @class AliHLTOUTHandlerIgnore | |
25 | * HLT output handler used to ignore data block types completely. | |
26 | * It will not inspect the data at all. | |
27 | */ | |
28 | class AliHLTOUTHandlerIgnore : public AliHLTOUTHandler | |
29 | { | |
30 | public: | |
31 | ||
32 | /// Default constructor | |
33 | AliHLTOUTHandlerIgnore() : AliHLTOUTHandler() {} | |
34 | ||
35 | /// Default destructor | |
36 | virtual ~AliHLTOUTHandlerIgnore() {} | |
37 | ||
38 | /** | |
39 | * Process the data will simply ignore the input data. | |
40 | * @param pData instance of the AliHLTOUT data | |
41 | * @return always returns zero. | |
42 | */ | |
43 | virtual int ProcessData(AliHLTOUT* data); | |
44 | ||
45 | private: | |
46 | ||
47 | /// Do not allow copying of this class | |
48 | AliHLTOUTHandlerIgnore(const AliHLTOUTHandlerIgnore&); | |
49 | /// Do not allow copying of this class | |
50 | AliHLTOUTHandlerIgnore& operator = (const AliHLTOUTHandlerIgnore&); | |
51 | ||
52 | ClassDef(AliHLTOUTHandlerIgnore, 0) | |
53 | }; | |
54 | ||
55 | #endif // ALIHLTOUTHANDLERIGNORE_H |