X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkFactory.cxx;h=bc21a292287b96f3cdc776d07d76c3e4dcb812c4;hb=af5fbba42a9b663e2ce1e5fbbe71e904e570a089;hp=c024617d59d01416250563110db678ffe8f2855b;hpb=4ad5b5ee44357ad873bc8c43230defb6d0a79879;p=bbtk.git diff --git a/kernel/src/bbtkFactory.cxx b/kernel/src/bbtkFactory.cxx index c024617..bc21a29 100644 --- a/kernel/src/bbtkFactory.cxx +++ b/kernel/src/bbtkFactory.cxx @@ -4,8 +4,8 @@ Program: bbtk Module: $RCSfile: bbtkFactory.cxx,v $ Language: C++ -Date: $Date: 2008/04/18 12:59:15 $ -Version: $Revision: 1.33 $ +Date: $Date: 2008/07/01 07:58:28 $ +Version: $Revision: 1.37 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de @@ -137,7 +137,7 @@ namespace bbtk // lastname : string before the last / (if any), or user supplied name bbtkDebugMessageInc("Kernel",7,"Factory::LoadPackage(\""< package_paths; std::string libname; // full path library name @@ -146,8 +146,8 @@ namespace bbtk std::string upath; pkgname = Utilities::ExtractPackageName(name,upath); - bbtkMessage("Debug",1,"Package name ["< Trying to load [" << libname << "]" < Trying to load [" << libname << "]" <GetName()<<"\")"<AddFactory(GetThisPointer()); mPackageMap[p->GetName()] = p; - std::cout << p.use_count() <first.mKind == - BlackBoxDescriptor::DEFAULT_WIDGET_ADAPTOR) && + BlackBoxDescriptor::DEFAULT_GUI) && //(j->first.mTypeIn == typein) && (j->first.mTypeOut.GetNature() == typeout.GetNature() ) ) @@ -754,14 +750,14 @@ namespace bbtk //=================================================================== void Factory::CheckPackages() const { - bbtkMessage("Debug",1,"****** Checking Factory "<<(void*)this + bbtkMessage("debug",1,"****** Checking Factory "<<(void*)this <second->CheckBoxes(); } - bbtkMessage("Debug",1,"****** Checking Factory "<<(void*)this + bbtkMessage("debug",1,"****** Checking Factory "<<(void*)this <<" ... OK"<
\n"; - s << "Automatically generated by bbi on " + s << "Automatically generated by bbtk on " << ptm->tm_mday << "/" << ptm->tm_mon << "/" << ptm->tm_year+1900 << " - " << ptm->tm_hour << ":" << ptm->tm_min << " GMT\n"; s << "\n";