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.
14 /* #include <cerrno> */
17 /* #include "AliHLTDataTypes.h" */
18 /* #include "AliHLTLogging.h" */
19 /* #include "AliHLTDataBuffer.h" */
21 class AliHLTConfigurationHandler : public AliHLTLogging {
23 AliHLTConfigurationHandler();
24 //AliHLTConfigurationHandler(AliHLTConfiguration* pConf);
25 virtual ~AliHLTConfigurationHandler();
27 /*****************************************************************************
31 // register a configuration to the global list of configurations
32 int RegisterConfiguration(AliHLTConfiguration* pConf);
34 // create a configuration and register it
35 int CreateConfiguration(const char* id, const char* component, const char* sources, const char* arguments);
37 // remove a configuration from the global list
38 int RemoveConfiguration(AliHLTConfiguration* pConf);
39 int RemoveConfiguration(const char* id);
41 // find a configuration from the global list
42 AliHLTConfiguration* FindConfiguration(const char* id);
44 // print the registered configurations to the logging function
45 void PrintConfigurations();
49 static TList fListConfigurations; // the list of registered configurations
50 static TList fListDynamicConfigurations; // the list of dynamic configurations (for proper cleanup)
52 ClassDef(AliHLTConfigurationHandler, 0);