]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/BASE/util/AliHLTAgentUtil.cxx
correct handling of multiple output data types
[u/mrichter/AliRoot.git] / HLT / BASE / util / AliHLTAgentUtil.cxx
CommitLineData
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"
38
242bb794 39/** global instance for agent registration */
40AliHLTAgentUtil gAliHLTAgentUtil;
41
42/** ROOT macro for the implementation of ROOT specific class methods */
43ClassImp(AliHLTAgentUtil)
44
45AliHLTAgentUtil::AliHLTAgentUtil()
46{
47 // see header file for class documentation
48 // or
49 // refer to README to build package
50 // or
51 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
52}
53
54AliHLTAgentUtil::~AliHLTAgentUtil()
55{
56 // see header file for class documentation
57}
58
dee38f1b 59int AliHLTAgentUtil::CreateConfigurations(AliHLTConfigurationHandler* /*handler*/,
60 AliRawReader* /*rawReader*/,
298ef463 61 AliRunLoader* /*runloader*/) const
242bb794 62{
63 // see header file for class documentation
242bb794 64 return 0;
65}
66
dee38f1b 67const char* AliHLTAgentUtil::GetReconstructionChains(AliRawReader* /*rawReader*/,
68 AliRunLoader* /*runloader*/) const
242bb794 69{
70 // see header file for class documentation
71 return NULL;
72}
73
74const char* AliHLTAgentUtil::GetRequiredComponentLibraries() const
75{
76 // see header file for class documentation
dee38f1b 77 return NULL;
242bb794 78}
f3506ea2 79
80int AliHLTAgentUtil::RegisterComponents(AliHLTComponentHandler* pHandler) const
81{
82 // see header file for class documentation
83 assert(pHandler);
84 if (!pHandler) return -EINVAL;
85 pHandler->AddComponent(new AliHLTDataGenerator);
86 pHandler->AddComponent(new AliHLTRawReaderPublisherComponent);
87 pHandler->AddComponent(new AliHLTLoaderPublisherComponent);
88 pHandler->AddComponent(new AliHLTRootFileStreamerComponent);
89 pHandler->AddComponent(new AliHLTRootFileWriterComponent);
90 pHandler->AddComponent(new AliHLTRootFilePublisherComponent);
91 pHandler->AddComponent(new AliHLTFileWriter);
92 pHandler->AddComponent(new AliHLTFilePublisher);
93 return 0;
94}