]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/BASE/AliHLTTask.h
HLT base
[u/mrichter/AliRoot.git] / HLT / BASE / AliHLTTask.h
index 0a1e80b57e9f1fb1616e1106db66621c8fa954d8..c6d6bd0245c7fa504c1f2874144fd9100cc01dba 100644 (file)
@@ -117,6 +117,14 @@ class AliHLTTask : public TObject, public AliHLTLogging {
    */
   int SetDependency(AliHLTTask* pDep);
 
+  /**
+   * Clear a dependency.
+   * The ROOT TList touches the object which is in the list, even though
+   * it shouldn't care about. Thats why all lists have to be cleared before
+   * objects are deleted.
+   */
+  int UnsetDependency(AliHLTTask* pDep);
+
   /**
    * Return number of unresolved dependencies.
    * Iterate through all the configurations the task depends on and check
@@ -150,6 +158,14 @@ class AliHLTTask : public TObject, public AliHLTLogging {
    */
   int SetTarget(AliHLTTask* pDep);
 
+  /**
+   * Clear a target.
+   * The ROOT TList touches the object which is in the list, even though
+   * it shouldn't care about. Thats why all lists have to be cleared before
+   * objects are deleted.
+   */
+  int UnsetTarget(AliHLTTask* pTarget);
+
   /**
    * Prepare the task for event processing.
    * The method initializes the Data Buffer and calls the