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 $
=========================================================================*/
/* ---------------------------------------------------------------------
//========================================================================
//========================================================================
- 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;
- // }
}
//========================================================================