3 #ifndef ALIHLTCONFIGURATIONHANDLER_H
4 #define ALIHLTCONFIGURATIONHANDLER_H
5 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
8 /** @file AliHLTConfigurationHandler.h
9 @author Matthias Richter
11 @brief Global handling of HLT configurations.
16 class AliHLTConfiguration;
19 * @class AliHLTConfigurationHandler
20 * @brief Global Handling of HLT configurations.
22 * This class implements the global handling of @ref AliHLTConfiguration objects.
23 * It is a list of all configuartion descriptor currently available in the system.
24 * Each @ref AliHLTConfiguration object is registerd automatically with the
25 * handler and put into the list.
27 * @note This class is only used for the @ref alihlt_system.
29 * @ingroup alihlt_system
31 class AliHLTConfigurationHandler : public AliHLTLogging {
33 /** standard constructor */
34 AliHLTConfigurationHandler();
36 //AliHLTConfigurationHandler(AliHLTConfiguration* pConf);
39 virtual ~AliHLTConfigurationHandler();
41 /*****************************************************************************
46 * Register a configuration to the global list of configurations.
47 * @param pConf The configuration to register
49 int RegisterConfiguration(AliHLTConfiguration* pConf);
52 * Create a configuration and register it.
58 int CreateConfiguration(const char* id, const char* component, const char* sources, const char* arguments);
61 * Remove a configuration from the global list.
62 * @param pConf The configuration to remove
64 int RemoveConfiguration(AliHLTConfiguration* pConf);
67 * Remove a configuration from the global list.
68 * @param id The configuration to remove
70 int RemoveConfiguration(const char* id);
73 * Find a configuration from the global list.
74 * @param id Id of the configuration to find
76 AliHLTConfiguration* FindConfiguration(const char* id);
79 * Print the registered configurations to the logging function.
81 void PrintConfigurations();
85 /** the list of registered configurations */
86 TList fgListConfigurations; // see above
88 ClassDef(AliHLTConfigurationHandler, 1);