Program: bbtk
Module: $RCSfile: bbtkAtomicBlackBox.cxx,v $
Language: C++
- Date: $Date: 2008/04/18 12:59:14 $
- Version: $Revision: 1.4 $
+ Date: $Date: 2008/04/21 12:43:05 $
+ Version: $Revision: 1.5 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
<<(caller?caller->GetFullName():"0")<<") ["
<<bbGetFullName()<<"]"<<std::endl);
- if (bbGetExecuting())
- {
- bbtkWarning(bbGetFullName()<<" : Cyclic execution stopped");
- return UPTODATE;
- }
- bbSetExecuting(true);
-
bbtkDebugMessage("Process",5,"Initial Status = "<<bbGetStatus()
<<std::endl);
bbtkDebugMessage("Process",5,"BoxProcessMode = "
<<bbGetInputBoxProcessMode()<<std::endl);
- /*
- if ( bbGetStatus() == UPDATING )
- {
- bbtkMessage("Warning",1,"!! WARNING !! Cyclic pipeline execution (bbBackwardUpdate ["<<bbGetFullName()<<"] reentered). This may indicate an error in pipeline conception"<<std::endl);
- // return UPTODATE;
- bbSetStatus(MODIFIED);
- }
- */
if ( ( bbGetStatus() == MODIFIED ) ||
( bbBoxProcessModeIsAlways() ) )
bool wasExecuting = bbGlobalGetSomeBoxExecuting();
bbGlobalSetSomeBoxExecuting(true);
- // bbSetStatus(UPDATING);
-
// Updates its inputs
IOStatus s = bbUpdateInputs();
<<bbGetFullName()<<"]"<<std::endl);
bbtkDebugDecTab("Process",1);
- bbSetExecuting(false);
return bbGetStatus();