]>
Commit | Line | Data |
---|---|---|
242bb794 | 1 | // @(#) $Id$ |
2 | ||
9be2600f | 3 | /************************************************************************** |
4 | * This file is property of and copyright by the ALICE HLT Project * | |
5 | * ALICE Experiment at CERN, All rights reserved. * | |
6 | * * | |
7 | * Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no> * | |
8 | * for The ALICE HLT Project. * | |
9 | * * | |
10 | * Permission to use, copy, modify and distribute this software and its * | |
11 | * documentation strictly for non-commercial purposes is hereby granted * | |
12 | * without fee, provided that the above copyright notice appears in all * | |
13 | * copies and that both the copyright notice and this permission notice * | |
14 | * appear in the supporting documentation. The authors make no claims * | |
15 | * about the suitability of this software for any purpose. It is * | |
16 | * provided "as is" without express or implied warranty. * | |
17 | **************************************************************************/ | |
18 | ||
242bb794 | 19 | /** @file AliHLTAgentUtil.cxx |
20 | @author Matthias Richter | |
21 | @date | |
22 | @brief Agent of the libAliHLTUtil library | |
23 | */ | |
24 | ||
f3506ea2 | 25 | #include <cassert> |
242bb794 | 26 | #include "AliHLTAgentUtil.h" |
27 | #include "AliHLTConfiguration.h" | |
28 | ||
f3506ea2 | 29 | // header files of library components |
30 | #include "AliHLTDataGenerator.h" | |
31 | #include "AliHLTRawReaderPublisherComponent.h" | |
32 | #include "AliHLTLoaderPublisherComponent.h" | |
33 | #include "AliHLTRootFileStreamerComponent.h" | |
34 | #include "AliHLTRootFileWriterComponent.h" | |
35 | #include "AliHLTRootFilePublisherComponent.h" | |
36 | #include "AliHLTFileWriter.h" | |
37 | #include "AliHLTFilePublisher.h" | |
9bf94558 | 38 | #include "AliHLTBlockFilterComponent.h" |
f3506ea2 | 39 | |
242bb794 | 40 | /** global instance for agent registration */ |
41 | AliHLTAgentUtil gAliHLTAgentUtil; | |
42 | ||
43 | /** ROOT macro for the implementation of ROOT specific class methods */ | |
44 | ClassImp(AliHLTAgentUtil) | |
45 | ||
46 | AliHLTAgentUtil::AliHLTAgentUtil() | |
47 | { | |
48 | // see header file for class documentation | |
49 | // or | |
50 | // refer to README to build package | |
51 | // or | |
52 | // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt | |
53 | } | |
54 | ||
55 | AliHLTAgentUtil::~AliHLTAgentUtil() | |
56 | { | |
57 | // see header file for class documentation | |
58 | } | |
59 | ||
dee38f1b | 60 | int AliHLTAgentUtil::CreateConfigurations(AliHLTConfigurationHandler* /*handler*/, |
61 | AliRawReader* /*rawReader*/, | |
298ef463 | 62 | AliRunLoader* /*runloader*/) const |
242bb794 | 63 | { |
64 | // see header file for class documentation | |
242bb794 | 65 | return 0; |
66 | } | |
67 | ||
dee38f1b | 68 | const char* AliHLTAgentUtil::GetReconstructionChains(AliRawReader* /*rawReader*/, |
69 | AliRunLoader* /*runloader*/) const | |
242bb794 | 70 | { |
71 | // see header file for class documentation | |
72 | return NULL; | |
73 | } | |
74 | ||
75 | const char* AliHLTAgentUtil::GetRequiredComponentLibraries() const | |
76 | { | |
77 | // see header file for class documentation | |
dee38f1b | 78 | return NULL; |
242bb794 | 79 | } |
f3506ea2 | 80 | |
81 | int AliHLTAgentUtil::RegisterComponents(AliHLTComponentHandler* pHandler) const | |
82 | { | |
83 | // see header file for class documentation | |
84 | assert(pHandler); | |
85 | if (!pHandler) return -EINVAL; | |
86 | pHandler->AddComponent(new AliHLTDataGenerator); | |
87 | pHandler->AddComponent(new AliHLTRawReaderPublisherComponent); | |
88 | pHandler->AddComponent(new AliHLTLoaderPublisherComponent); | |
89 | pHandler->AddComponent(new AliHLTRootFileStreamerComponent); | |
90 | pHandler->AddComponent(new AliHLTRootFileWriterComponent); | |
91 | pHandler->AddComponent(new AliHLTRootFilePublisherComponent); | |
92 | pHandler->AddComponent(new AliHLTFileWriter); | |
93 | pHandler->AddComponent(new AliHLTFilePublisher); | |
9bf94558 | 94 | pHandler->AddComponent(new AliHLTBlockFilterComponent); |
f3506ea2 | 95 | return 0; |
96 | } |