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
//==================================================================
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
<< 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())
<<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;
<<" 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
<<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())
<<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)
<<" 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);
}
}