4 #ifndef ALIHLTCONFIGURATIONHANDLER_H
5 #define ALIHLTCONFIGURATIONHANDLER_H
6 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
7 * See cxx source for full Copyright notice */
9 /** @file AliHLTConfigurationHandler.h
10 @author Matthias Richter
12 @brief Global handling of HLT configurations.
15 // see below for class documentation
17 // refer to README to build package
19 // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
23 class AliHLTConfiguration;
26 * @class AliHLTConfigurationHandler
27 * @brief Global Handling of HLT configurations.
29 * This class implements the global handling of @ref AliHLTConfiguration objects.
30 * It is a list of all configuartion descriptor currently available in the system.
31 * Each @ref AliHLTConfiguration object is registerd automatically with the
32 * handler and put into the list.
34 * @note This class is only used for the @ref alihlt_system.
36 * @ingroup alihlt_system
38 class AliHLTConfigurationHandler : public AliHLTLogging {
40 /** standard constructor */
41 AliHLTConfigurationHandler();
43 //AliHLTConfigurationHandler(AliHLTConfiguration* pConf);
46 virtual ~AliHLTConfigurationHandler();
48 /*****************************************************************************
53 * Register a configuration to the global list of configurations.
54 * @param pConf The configuration to register
56 int RegisterConfiguration(AliHLTConfiguration* pConf);
59 * Create a configuration and register it.
65 int CreateConfiguration(const char* id, const char* component, const char* sources, const char* arguments);
68 * Remove a configuration from the global list.
69 * @param pConf The configuration to remove
71 int RemoveConfiguration(AliHLTConfiguration* pConf);
74 * Remove a configuration from the global list.
75 * @param id The configuration to remove
77 int RemoveConfiguration(const char* id);
80 * Find a configuration from the global list.
81 * @param id Id of the configuration to find
83 AliHLTConfiguration* FindConfiguration(const char* id);
86 * Print the registered configurations to the logging function.
88 void PrintConfigurations();
92 /** the list of registered configurations */
93 TList fgListConfigurations; // see above
95 ClassDef(AliHLTConfigurationHandler, 1);