3 #ifndef ALIHLTAGENTSAMPLE_H
4 #define ALIHLTAGENTSAMPLE_H
5 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
8 /** @file AliHLTAgentSample.h
9 @author Matthias Richter
11 @brief Agent of the libAliHLTSample library
14 #include "AliHLTModuleAgent.h"
17 * @class AliHLTAgentSample
18 * This is the agent for the AliHLTSample library.
20 * @ingroup alihlt_system
22 class AliHLTAgentSample : public AliHLTModuleAgent {
25 * standard constructor. The agent is automatically registered in the
26 * global agent manager
30 virtual ~AliHLTAgentSample();
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
37 * @param handler the configuration handler
38 * @param runloader AliRoot runloader
39 * @return neg. error code if failed
41 int CreateConfigurations(AliHLTConfigurationHandler* handler,
42 AliRunLoader* runloader=NULL) const;
45 * Get the top configurations belonging to this module.
46 * A top configuration describes a processing chain. It can simply be
47 * described by the last configuration(s) in the chain.
48 * The agent can adapt the configurations to be registered to the current
49 * AliRoot setup by checking the runloader.
50 * @param runloader AliRoot runloader
51 * @return number of configurations, neg. error code if failed
53 const char* GetTopConfigurations(AliRunLoader* runloader=NULL) const;
56 * Component libraries which the configurations of this agent depend on.
57 * @return list of component libraries as a blank-separated string.
59 const char* GetRequiredComponentLibraries() const;
64 ClassDef(AliHLTAgentSample, 0);