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