]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTComponentHandler.h
adding GetComponentDescription callback environment struct of external interface...
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTComponentHandler.h
index ee6fd0b5d69f3a37ad46289cb0e35f9ffceec590..a34e07dc06f327c9325b4b523ddfea3e9f797f90 100644 (file)
@@ -75,6 +75,11 @@ class AliHLTComponentHandler : public AliHLTLogging {
    */
   void SetEnvironment(AliHLTComponentEnvironment* pEnv);
 
+  /**
+   * Get the current environment.
+   */
+  const AliHLTComponentEnvironment* GetEnvironment() const {return &fEnvironment;}
+
   /**
    * Set library mode.
    * The mode effects all loaded libraries until another mode is set.
@@ -191,12 +196,17 @@ class AliHLTComponentHandler : public AliHLTLogging {
    * @param argc         number of arguments in argv
    * @param argv         argument array like in main()
    * @param component    reference to receive the create component instance
-   * @param cdbPath      optional CDB path
    * @return component pointer in component, neg. error code if failed
    */
   int CreateComponent( const char* componentID, void* pEnvParam, 
-                      int argc, const char** argv, AliHLTComponent*& component,
-                      const char* cdbPath=NULL);
+                      int argc, const char** argv, AliHLTComponent*& component);
+
+  /**
+   * Create component without initializing it.
+   * @param componentID  ID of the component to create
+   * @param component    reference to receive the create component instance
+   */
+  int CreateComponent(const char* componentID, AliHLTComponent*& component );
 
   /**
    * Create a component of the given name (ID).