]>
Commit | Line | Data |
---|---|---|
5578cf60 | 1 | // @(#) $Id$ |
2 | ||
3 | #ifndef ALIHLTTPCAGENT_H | |
4 | #define ALIHLTTPCAGENT_H | |
5 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
6 | * See cxx source for full Copyright notice */ | |
7 | ||
8 | /** @file AliHLTTPCAgent.h | |
9 | @author Matthias Richter | |
10 | @date | |
11 | @brief Agent of the libAliHLTTPC library | |
12 | */ | |
13 | ||
14 | #include "AliHLTModuleAgent.h" | |
15 | ||
16 | /** | |
17 | * @class AliHLTTPCAgent | |
18 | * This is the agent for the AliHLTTPC library. | |
19 | * | |
20 | * @ingroup alihlt_system | |
21 | */ | |
22 | class AliHLTTPCAgent : public AliHLTModuleAgent { | |
23 | public: | |
24 | /** | |
25 | * standard constructor. The agent is automatically registered in the | |
26 | * global agent manager | |
27 | */ | |
28 | AliHLTTPCAgent(); | |
29 | /** destructor */ | |
30 | virtual ~AliHLTTPCAgent(); | |
31 | ||
32 | /** | |
33 | * Register all configurations belonging to this module with the | |
34 | * AliHLTConfigurationHandler. The agent can adapt the configurations | |
35 | * to be registered to the current AliRoot setup by checking the | |
36 | * runloader. | |
37 | * @param handler the configuration handler | |
38 | * @param runloader AliRoot runloader | |
39 | * @return neg. error code if failed | |
40 | */ | |
41 | int CreateConfigurations(AliHLTConfigurationHandler* handler, | |
dee38f1b | 42 | AliRawReader* rawReader=NULL, |
5578cf60 | 43 | AliRunLoader* runloader=NULL) const; |
44 | ||
45 | /** | |
46 | * Get the top configurations belonging to this module. | |
47 | * A top configuration describes a processing chain. It can simply be | |
48 | * described by the last configuration(s) in the chain. | |
49 | * The agent can adapt the configurations to be registered to the current | |
50 | * AliRoot setup by checking the runloader. | |
51 | * @param runloader AliRoot runloader | |
52 | * @return number of configurations, neg. error code if failed | |
53 | */ | |
dee38f1b | 54 | const char* GetReconstructionChains(AliRawReader* rawReader=NULL, |
55 | AliRunLoader* runloader=NULL) const; | |
5578cf60 | 56 | |
57 | /** | |
58 | * Component libraries which the configurations of this agent depend on. | |
59 | * @return list of component libraries as a blank-separated string. | |
60 | */ | |
61 | const char* GetRequiredComponentLibraries() const; | |
62 | ||
63 | protected: | |
64 | ||
65 | private: | |
66 | ClassDef(AliHLTTPCAgent, 0); | |
67 | }; | |
68 | ||
69 | #endif |