]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkAtomicBlackBox.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkAtomicBlackBox.cxx
index d42185163bdf9dd230273a65edeadd0bb414e272..bf354ab3e909da3bdeb9d43e37a8a52e2b7029d8 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkAtomicBlackBox.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/12/08 12:53:35 $
-  Version:   $Revision: 1.11 $
+  Date:      $Date: 2008/12/11 09:50:34 $
+  Version:   $Revision: 1.12 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -84,61 +84,7 @@ namespace bbtk
   
 
 
-  //=========================================================================
-  /// Main processing method of the box.
-  void AtomicBlackBox::bbBackwardUpdate( Connection::Pointer caller )
-  {
-    bbtkDebugMessageInc("process",3,
-                       "=> AtomicBlackBox::bbBackwardUpdate("
-                       <<(caller?caller->GetFullName():"0")<<") ["
-                       <<bbGetFullName()<<"]"<<std::endl);
-
-    // If already executing : return
-    if (bbGetExecuting()) 
-      {
-       bbtkDebugMessage("process",3,
-                        " -> already executing : returning"<<std::endl);
-       return; 
-      }
-
-    bbSetExecuting(true);
-    bool wasExecuting = bbGlobalGetSomeBoxExecuting();
-    bbGlobalSetSomeBoxExecuting(true);
-
-    // Updates its inputs
-    IOStatus s = bbUpdateInputs();
-    
-    if ( (s != UPTODATE) ||
-        bbBoxProcessModeIsAlways() )
-      {
-       // User process
-       bbProcess();
-       
-       // Displays the window (WxBlackbox)
-       bbShowWindow(caller);
-       
-       // Update the I/O statuses
-       bbComputePostProcessStatus();
-      }
-    else 
-      {
-        bbtkDebugMessage("process",5," -> Up-to-date : nothing to do"
-                        <<std::endl);
-      }
-
-    bbtkDebugMessage("process",3,
-            "<= AtomicBlackBox::bbBackwardUpdate() ["
-            <<bbGetFullName()<<"]"<<std::endl);
-
-    bbSetExecuting(false);
-    bbGlobalSetSomeBoxExecuting(wasExecuting);
-
-    return; // bbGetStatus();
-
-  }
-  //=========================================================================
   
-    
   //=========================================================================
   Data AtomicBlackBox::bbGetOutput( const std::string &name )
   {