X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkFactory.cxx;h=b97670c988f4ec0c8c79c1f75e82843c99ffa2e4;hb=7785d9f3ee33f106ad64a204d8cef883185180b0;hp=c024617d59d01416250563110db678ffe8f2855b;hpb=4ad5b5ee44357ad873bc8c43230defb6d0a79879;p=bbtk.git diff --git a/kernel/src/bbtkFactory.cxx b/kernel/src/bbtkFactory.cxx index c024617..b97670c 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/10/02 12:29:26 $ +Version: $Revision: 1.39 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de @@ -37,6 +37,7 @@ PURPOSE. See the above copyright notices for more information. #include // std::toupper +#include namespace bbtk { @@ -137,7 +138,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 +147,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 +753,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";