]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTComponentHandler.h
set owner for tlist
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTComponentHandler.h
index 826ba585b7c468946cd3a54e120b08d84fa510f4..bd042adcdc9ca2f31acff2cb4d8c8f1a6f25ab33 100644 (file)
@@ -1,18 +1,18 @@
 //-*- Mode: C++ -*-
-// @(#) $Id$
+// $Id$
 
 #ifndef ALIHLTCOMPONENTHANDLER_H
 #define ALIHLTCOMPONENTHANDLER_H
-/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
- * See cxx source for full Copyright notice                               */
+//* This file is property of and copyright by the ALICE HLT Project        * 
+//* ALICE Experiment at CERN, All rights reserved.                         *
+//* See cxx source for full Copyright notice                               *
 
-/** @file   AliHLTComponentHandler.h
-    @author Matthias Richter, Timm Steinbeck
-    @date   
-    @brief  Global handling of HLT processing components
-    @note   The handler is part of the interface and both used in the
-            Online (PubSub) and Offline (AliRoot) context.
-                                                                          */
+/// @file   AliHLTComponentHandler.h
+/// @author Matthias Richter, Timm Steinbeck
+/// @date   
+/// @brief  Global handling of HLT processing components
+/// @note   The handler is part of the interface and both used in the
+///         Online (PubSub) and Offline (AliRoot) context.
 
 // see below for class documentation
 // or
@@ -108,7 +108,7 @@ class AliHLTComponentHandler : public AliHLTLogging {
    * @param symbol       the symbol to find
    * @return void pointer to function
    */
-  void (*FindSymbol(const char* library, const char* symbol))();
+  AliHLTfctVoid FindSymbol(const char* library, const char* symbol);
 
   /**
    * Unload a component shared library.
@@ -295,10 +295,15 @@ class AliHLTComponentHandler : public AliHLTLogging {
    * each agent with this component handler. During activation, the
    * dynamic component registration is carried out by the agents version
    * of @ref AliHLTModuleAgent::RegisterComponents
-   * @param blackList     array of agents which should be excluded
-   * @param size          array size
-   */
-  int ActivateAgents(const AliHLTModuleAgent** blackList=NULL, int size=0);
+   *
+   * Agents are identified by an id which is a string containing the
+   * module name. Libraries follow the naming scheme libAliHLT<MOD>.so
+   * If the library name is provided and the specific agent found in the
+   * list, only that one is activated. All pending agents otherwize.
+   * @param library       library to activate the agent for
+   * @param blackList     blank separated list of module ids
+   */
+  int ActivateAgents(const char* library=NULL, const char* blackList=NULL);
 
   /**
    * Compound descriptor for component libraries