]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkBlackBoxInputConnector.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkBlackBoxInputConnector.cxx
index f980cc3470f8324908baeece6d7d44b3ae707ae1..dcfcb332a80120f4da3b14c2c1d1b77133370da5 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/09 11:48:31 $
+  Version:   $Revision: 1.8 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -75,8 +75,6 @@ namespace bbtk
   //========================================================================
   void BlackBoxInputConnector::BackwardUpdate()
   {
-    bbtkDebugMessage("process",9,"==> BlackBoxInputConnector::BackwardUpdate()"
-                    <<std::endl);
 
     // If UPTODATE or MODIFIED : nothing to do
     //  if (mStatus != OUTOFDATE) return;
@@ -86,8 +84,20 @@ namespace bbtk
     // (either MODIFIED or OUTOFDATE)
     if ( mConnection && (mStatus == OUTOFDATE) )
       {
+       bbtkDebugMessage("process",9,
+                        "==> BlackBoxInputConnector::BackwardUpdate() : "
+                        <<"calling connection BackwardUpdate"
+                        <<std::endl);
        mConnection->BackwardUpdate();
       }
+    else
+      {
+       bbtkDebugMessage("process",9,
+                        "==> BlackBoxInputConnector::BackwardUpdate() : "
+                        <<"input Up-to-date or Modified : 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 ?