Program: bbtk
Module: $RCSfile: bbtkComplexBlackBox.cxx,v $
Language: C++
-Date: $Date: 2008/04/18 12:59:15 $
-Version: $Revision: 1.10 $
+Date: $Date: 2008/04/21 11:41:56 $
+Version: $Revision: 1.11 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
"ComplexBlackBox::bbBackwardUpdate("
<<(caller?caller->GetFullName():"0")<<") ["
<<bbGetFullName()<<"]"<<std::endl);
- bbtkInternalError("ComplexBlackBox::bbBackwardUpdate should never be called !");
- /*
+ // bbtkInternalError("ComplexBlackBox::bbBackwardUpdate should never be called !");
+
if (caller==0)
{
bbtkInternalError("ComplexBlackBox::bbBackwardUpdate called with caller=0");
ComplexBlackBoxOutputDescriptor* d =
(ComplexBlackBoxOutputDescriptor*)i->second;
// Get the internal box
- BlackBox* b = bbUnsafeGetBlackBox ( d->GetTarget() );
+ BlackBox::Pointer b = bbUnsafeGetBlackBox ( d->GetTarget() );
// Calls BackwardUpdate on it
bbtkDebugMessageInc("Process",2,"Internal box connected to output : "<<d->GetTarget()<<std::endl);
// Because internal box can also be a complex box we have to
bbSetExecuting(false);
return s;
- */
- return UPTODATE;
+
+ // return UPTODATE;
}
//==================================================================
Module: $RCSfile: bbtkFactory.cxx,v $
Language: C++
-Date: $Date: 2008/04/18 12:59:15 $
-Version: $Revision: 1.33 $
+Date: $Date: 2008/04/21 11:38:19 $
+Version: $Revision: 1.34 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
bbtkDebugMessageInc("Kernel",9,"Factory::InsertPackage(\""<<
p->GetName()<<"\")"<<std::endl);
- std::cout << p.use_count() <<std::endl;
-
p->AddFactory(GetThisPointer<Factory>());
mPackageMap[p->GetName()] = p;
- std::cout << p.use_count() <<std::endl;
-
bbtkDebugDecTab("Kernel",9);
}
//===================================================================