]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkBlackBoxInputConnector.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkBlackBoxInputConnector.cxx
index f980cc3470f8324908baeece6d7d44b3ae707ae1..0acb2460b36cac9750bc9f288940753d5cd0fccb 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkBlackBoxInputConnector.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/12/08 12:53:50 $
-  Version:   $Revision: 1.7 $
+  Date:      $Date: 2008/12/11 09:50:35 $
+  Version:   $Revision: 1.9 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -73,28 +73,23 @@ namespace bbtk
   //========================================================================
   
   //========================================================================
-  void BlackBoxInputConnector::BackwardUpdate()
+  void BlackBoxInputConnector::RecursiveExecute()
   {
-    bbtkDebugMessage("process",9,"==> BlackBoxInputConnector::BackwardUpdate()"
-                    <<std::endl);
-
-    // If UPTODATE or MODIFIED : nothing to do
-    //  if (mStatus != OUTOFDATE) return;
-
     // If connected and OUTOFDATE : recursive update
     // Post-update status is updated by the connection 
     // (either MODIFIED or OUTOFDATE)
     if ( mConnection && (mStatus == OUTOFDATE) )
       {
-       mConnection->BackwardUpdate();
+       mConnection->RecursiveExecute();
+      }
+    else
+      {
+       bbtkDebugMessage("process",5,
+                        "--> BlackBoxInputConnector::RecursiveExecute() : "
+                        <<"No connection or input not Out-of-date : nothing to do"
+                        <<std::endl);
+
       }
-    // If not connected : it was set to OUTOFDATE on creation
-    // Becomes MODIFIED
-    // LGTODO : Initialize to MODIFIED and set to OUTOFDATE on connection ?
-    //   else 
-    //      {
-    // mStatus = MODIFIED;
-    //    }
   }
   //========================================================================