]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkConnection.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkConnection.cxx
index 9c8487ace1fe496f21762f539e1f6bd1bc5fc93b..507c6f09b893cea991cf0bb5a2220267209d7293 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkConnection.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/04/22 06:59:31 $
-  Version:   $Revision: 1.8 $
+  Date:      $Date: 2008/04/22 08:29:09 $
+  Version:   $Revision: 1.9 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See doc/license.txt or
@@ -393,15 +393,15 @@ Connection::Connection(BlackBox::Pointer from, const std::string& output,
   //==================================================================
   void Connection::Check() const
   {
-    bbtkMessage("Debug",1,"** Checking Connection "<<(void*)this<<" ["<<GetFullName()<<"]"
+    bbtkMessage("debug",1,"** Checking Connection "<<(void*)this<<" ["<<GetFullName()<<"]"
                <<std::endl);
     if (mFrom==0) 
       {
-       bbtkMessage("Debug",2," - From = 0"<<std::endl);
+       bbtkMessage("debug",2," - From = 0"<<std::endl);
       }
     else
       {
-       bbtkMessage("Debug",2," - From : "<<mFrom->bbGetFullName()<<std::endl);
+       bbtkMessage("debug",2," - From : "<<mFrom->bbGetFullName()<<std::endl);
        if (!mFrom->bbHasOutput(mOutput))
          {
            bbtkError("** Checking Connection "<<(void*)this
@@ -409,7 +409,7 @@ Connection::Connection(BlackBox::Pointer from, const std::string& output,
                      << mFrom->bbGetFullName()<<" does not have output '"
                      <<mOutput<<"'");
          }     
-       bbtkMessage("Debug",2," - From : Output '"<<mOutput<<"' exists"<<std::endl);
+       bbtkMessage("debug",2," - From : Output '"<<mOutput<<"' exists"<<std::endl);
        BlackBox::OutputConnectorMapType::const_iterator i 
          = mFrom->bbGetOutputConnectorMap().find(mOutput);
        if (i== mFrom->bbGetOutputConnectorMap().end())
@@ -419,7 +419,7 @@ Connection::Connection(BlackBox::Pointer from, const std::string& output,
                       <<mFrom->bbGetFullName()<<" output '"
                       <<mOutput<<"' is not in OutputConnectorMap");
          }
-       bbtkMessage("Debug",2," - From : Output '"<<mOutput
+       bbtkMessage("debug",2," - From : Output '"<<mOutput
                    <<"' is in OutputConnectorMap"<<std::endl);
 
         std::vector< Connection::WeakPointer >::const_iterator j;
@@ -444,23 +444,23 @@ Connection::Connection(BlackBox::Pointer from, const std::string& output,
                      <<" does not point to this connection");
            
          }
-       bbtkMessage("Debug",2," - From : This connection is in OutputConnector connection vector"<<std::endl);
-       bbtkMessage("Debug",1," * Box from : Check successfull"<<std::endl);
+       bbtkMessage("debug",2," - From : This connection is in OutputConnector connection vector"<<std::endl);
+       bbtkMessage("debug",1," * Box from : Check successfull"<<std::endl);
 
       }
 
     if (mTo==0) 
       {
-       bbtkMessage("Debug",2," - To   = 0"<<std::endl);
+       bbtkMessage("debug",2," - To   = 0"<<std::endl);
       }
     else
       {
-       bbtkMessage("Debug",2," - To   : "<<mTo->bbGetName()<<std::endl);
+       bbtkMessage("debug",2," - To   : "<<mTo->bbGetName()<<std::endl);
        //      std::cout << mTo << std::endl;
        //      std::cout << mTo->bbGetDescriptor() << std::endl;
        //      std::cout << mTo->bbGetDescriptor()->GetTypeName() << std::endl;
        //      mTo->bbGetFullName();
-       bbtkMessage("Debug",2," - To   : "<<mTo->bbGetFullName()<<std::endl);
+       bbtkMessage("debug",2," - To   : "<<mTo->bbGetFullName()<<std::endl);
        if (!mTo->bbHasInput(mInput))
          {
            bbtkError("** Checking Connection "<<(void*)this
@@ -468,7 +468,7 @@ Connection::Connection(BlackBox::Pointer from, const std::string& output,
                      <<mTo->bbGetFullName()<<" does not have input '"
                      <<mInput<<"'");
          }     
-       bbtkMessage("Debug",2," - To   : Input '"<<mInput<<"' exists"<<std::endl);
+       bbtkMessage("debug",2," - To   : Input '"<<mInput<<"' exists"<<std::endl);
        BlackBox::InputConnectorMapType::const_iterator i 
          = mTo->bbGetInputConnectorMap().find(mInput);
        if (i== mTo->bbGetInputConnectorMap().end())
@@ -478,7 +478,7 @@ Connection::Connection(BlackBox::Pointer from, const std::string& output,
                       <<mTo->bbGetFullName()<<" input '"
                       <<mInput<<"' is not in InputConnectorMap");
          }
-       bbtkMessage("Debug",2," - To   : Input '"<<mInput
+       bbtkMessage("debug",2," - To   : Input '"<<mInput
                    <<"' is in InputConnectorMap"<<std::endl);
 
        if (i->second->GetConnection()==0)
@@ -491,8 +491,8 @@ Connection::Connection(BlackBox::Pointer from, const std::string& output,
                      <<" does not point to this connection");
     
          }
-       bbtkMessage("Debug",2," - To   : This connection is in InputConnector connection vector"<<std::endl);
-       bbtkMessage("Debug",1," * Box to   : Check successfull"<<std::endl);
+       bbtkMessage("debug",2," - To   : This connection is in InputConnector connection vector"<<std::endl);
+       bbtkMessage("debug",1," * Box to   : Check successfull"<<std::endl);
 
       }
   }