]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkComplexBlackBox.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkComplexBlackBox.cxx
index c494d6555c6a4cd0bfdf1df7e47fda954ab3603c..56fdb05c09bb5055c5d4aa9dabcec1ef4ee54c20 100644 (file)
@@ -3,8 +3,8 @@
 Program:   bbtk
 Module:    $RCSfile: bbtkComplexBlackBox.cxx,v $
 Language:  C++
-Date:      $Date: 2008/04/18 12:59:15 $
-Version:   $Revision: 1.10 $
+Date:      $Date: 2008/04/21 11:41:56 $
+Version:   $Revision: 1.11 $
                                                                                 
 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
 l'Image). All rights reserved. See Doc/License.txt or
@@ -317,8 +317,8 @@ namespace bbtk
                        "ComplexBlackBox::bbBackwardUpdate("
                        <<(caller?caller->GetFullName():"0")<<") ["
                        <<bbGetFullName()<<"]"<<std::endl);
-    bbtkInternalError("ComplexBlackBox::bbBackwardUpdate should never be called !");
-    /*
+    //    bbtkInternalError("ComplexBlackBox::bbBackwardUpdate should never be called !");
+    
     if (caller==0)
       {
        bbtkInternalError("ComplexBlackBox::bbBackwardUpdate called with caller=0");
@@ -342,7 +342,7 @@ namespace bbtk
        ComplexBlackBoxOutputDescriptor* d = 
          (ComplexBlackBoxOutputDescriptor*)i->second;
        // Get the internal box 
-       BlackBox* b = bbUnsafeGetBlackBox ( d->GetTarget() );
+       BlackBox::Pointer b = bbUnsafeGetBlackBox ( d->GetTarget() );
        // Calls BackwardUpdate on it
        bbtkDebugMessageInc("Process",2,"Internal box connected to output : "<<d->GetTarget()<<std::endl);
        // Because internal box can also be a complex box we have to 
@@ -376,8 +376,8 @@ namespace bbtk
     bbSetExecuting(false);
 
     return s;
-    */
-    return UPTODATE;
+    
+    //    return UPTODATE;
   }
   //==================================================================