]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkBlackBoxInputConnector.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkBlackBoxInputConnector.cxx
index dcfcb332a80120f4da3b14c2c1d1b77133370da5..0acb2460b36cac9750bc9f288940753d5cd0fccb 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkBlackBoxInputConnector.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/12/09 11:48:31 $
-  Version:   $Revision: 1.8 $
+  Date:      $Date: 2008/12/11 09:50:35 $
+  Version:   $Revision: 1.9 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -73,38 +73,23 @@ namespace bbtk
   //========================================================================
   
   //========================================================================
-  void BlackBoxInputConnector::BackwardUpdate()
+  void BlackBoxInputConnector::RecursiveExecute()
   {
-
-    // 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) )
       {
-       bbtkDebugMessage("process",9,
-                        "==> BlackBoxInputConnector::BackwardUpdate() : "
-                        <<"calling connection BackwardUpdate"
-                        <<std::endl);
-       mConnection->BackwardUpdate();
+       mConnection->RecursiveExecute();
       }
     else
       {
-       bbtkDebugMessage("process",9,
-                        "==> BlackBoxInputConnector::BackwardUpdate() : "
-                        <<"input Up-to-date or Modified : nothing to do"
+       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;
-    //    }
   }
   //========================================================================