]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/sim/AliHLTAgentSim.cxx
- introduced module Ids for agents
[u/mrichter/AliRoot.git] / HLT / sim / AliHLTAgentSim.cxx
CommitLineData
c4228ec4 1// @(#) $Id$
2
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
19/** @file AliHLTAgentSim.cxx
20 @author Matthias Richter
21 @date
22 @brief Agent of the libHLTsim library
23*/
24
25// see header file for class documentation
26// or
27// refer to README to build package
28// or
29// visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
30
31#include <cassert>
32#include <cerrno>
33#include "AliHLTAgentSim.h"
34#include "AliHLTConfiguration.h"
35
36// header files of library components
37#include "AliHLTOUTComponent.h"
38
39/** global instance for agent registration */
40AliHLTAgentSim gAliHLTAgentSim;
41
42/** ROOT macro for the implementation of ROOT specific class methods */
43ClassImp(AliHLTAgentSim)
44
45AliHLTAgentSim::AliHLTAgentSim()
626bfcc1 46 :
47 AliHLTModuleAgent("sim")
c4228ec4 48{
49 // see header file for class documentation
50 // or
51 // refer to README to build package
52 // or
53 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
54}
55
56AliHLTAgentSim::~AliHLTAgentSim()
57{
58 // see header file for class documentation
59}
60
61int AliHLTAgentSim::CreateConfigurations(AliHLTConfigurationHandler* /*handler*/,
62 AliRawReader* /*rawReader*/,
63 AliRunLoader* /*runloader*/) const
64{
65 // see header file for class documentation
66 return 0;
67}
68
69const char* AliHLTAgentSim::GetReconstructionChains(AliRawReader* /*rawReader*/,
70 AliRunLoader* /*runloader*/) const
71{
72 // see header file for class documentation
73 return NULL;
74}
75
76const char* AliHLTAgentSim::GetRequiredComponentLibraries() const
77{
78 // see header file for class documentation
79 return NULL;
80}
81
82int AliHLTAgentSim::RegisterComponents(AliHLTComponentHandler* pHandler) const
83{
84 // see header file for class documentation
85 assert(pHandler);
86 if (!pHandler) return -EINVAL;
87 pHandler->AddComponent(new AliHLTOUTComponent);
88 return 0;
89}