Program: bbtk
Module: $RCSfile: bbtkBlackBox.cxx,v $
Language: C++
-Date: $Date: 2008/06/19 09:46:41 $
-Version: $Revision: 1.21 $
+Date: $Date: 2008/07/24 14:37:05 $
+Version: $Revision: 1.23 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See doc/license.txt or
//=========================================================================
BlackBox::BlackBox(const std::string &name)
- : bbmName(name),
- bbmStatus(MODIFIED),
- bbmBoxProcessMode("Pipeline"),
- bbmParent()
-
+ :
+ bbmStatus(MODIFIED),
+ bbmName(name),
+ bbmBoxProcessMode("Pipeline"),
+ bbmParent()
+
{
bbtkDebugMessage("object",4,"==> BlackBox::BlackBox(\""
<<name<<"\")"<<std::endl);
//=========================================================================
BlackBox::BlackBox(BlackBox& from, const std::string &name)
- : bbmName(name),
+ :
bbmStatus(from.bbmStatus),
+ bbmName(name),
bbmBoxProcessMode(from.bbmBoxProcessMode),
bbmParent()
"=> BlackBox::bbExecute() ["
<<bbGetFullName()<<"]"<<std::endl);
- wxBusyCursor wait;
- //EED Wx::BeginBusyCursor();
+ Wx::BusyCursor wait;
// If execution frozen : return
if (bbGlobalGetFreezeExecution())
// Calls the main recursive update method
bbBackwardUpdate(Connection::Pointer());
- //EED Wx::EndBusyCursor();
-
bbtkDebugMessageDec("process",2,
"<= BlackBox::bbExecute() ["
<<bbGetFullName()<<"]"<<std::endl);
this->bbSetStatus(MODIFIED);
bbGlobalAddToExecutionList( GetThisPointer<BlackBox>() );
}
+ /*
else if ( bbGetStatus() == MODIFIED ) //! this->bbIsUptodate())
{
bbtkDebugMessage("modified",2,"-> Already modified"<<std::endl);
return;
}
+ */
else
{
bbtkDebugMessage("modified",2,"-> Status set to modified"<<std::endl);
InputConnectorMapType::iterator i;
unsigned int namelmax = 0;
unsigned int valuelmax = 0;
- unsigned int connlmax = 0;
+ // unsigned int connlmax = 0;
for ( i = mInputConnectorMap.begin(); i != mInputConnectorMap.end(); ++i )
{
iname.push_back(i->first);