Program: bbtk
Module: $RCSfile: bbtkKWBlackBox.cxx,v $
Language: C++
- Date: $Date: 2008/12/02 13:37:54 $
- Version: $Revision: 1.4 $
+ Date: $Date: 2008/12/03 09:38:02 $
+ Version: $Revision: 1.5 $
=========================================================================*/
/* ---------------------------------------------------------------------
bbtkDebugMessageInc("process",2,
"=> KWBlackBox::bbExecute("<<(int)force<<") ["
<<bbGetFullName()<<"]"<<std::endl);
-
+ /*
// If the output 'Widget' is connected then
// we must execute the parent box
BlackBox::OutputConnectorMapType::const_iterator i
->GetBlackBoxTo()->bbExecute(force);
}
+ */
+ if (false)
+ {
+ }
// else call 'standard' BlackBox execution method
else
{
- BlackBox::bbExecute(force);
+ AtomicBlackBox::bbExecute(force);
}
//
/// Main processing method of the box.
IOStatus KWBlackBox::bbBackwardUpdate( Connection::Pointer caller )
{
+ /*
bbtkDebugMessage("process",3,
"=> KWBlackBox::bbBackwardUpdate("
<<(caller?caller->GetFullName():"0")<<") ["
<<bbGetFullName()<<"]"<<std::endl);
return bbGetStatus();
}
-
+ */
// If the caller's box to is not the box to connected to the
// output 'Widget'
-
+ /*
BlackBox::OutputConnectorMapType::const_iterator i
= bbGetOutputConnectorMap().find("Widget") ;
if ( i->second->GetConnectionVector().size() != 0 )
" ... No need to transfer to parent"
<<std::endl);
}
- }
+
+ }
+ */
/*
// If the caller is not the connection to the output widget
}
*/
// call 'standard' BlackBox execution method
- if (!bbGetUpdateTransferedToParent())
+ //if (!bbGetUpdateTransferedToParent())
{
- AtomicBlackBox::bbBackwardUpdate(caller);
+ return AtomicBlackBox::bbBackwardUpdate(caller);
}
-
+ /*
bbtkDebugMessageDec("process",3,
"<= KWBlackBox::bbBackwardUpdate() ["
<<bbGetFullName()<<"]"<<std::endl);
-
+ */
return bbGetStatus();
Program: bbtk
Module: $RCSfile: bbtkWxBlackBox.cxx,v $
Language: C++
- Date: $Date: 2008/11/25 11:17:13 $
- Version: $Revision: 1.31 $
+ Date: $Date: 2008/12/03 09:38:02 $
+ Version: $Revision: 1.32 $
=========================================================================*/
/* ---------------------------------------------------------------------
/// Main processing method of the box.
void WxBlackBox::bbExecute(bool force)
{
+ /*
bbtkDebugMessageInc("process",2,
"=> WxBlackBox::bbExecute("<<(int)force<<") ["
<<bbGetFullName()<<"]"<<std::endl);
-
+ */
+ /*
// If the output 'Widget' is connected then
// we must execute the parent box
BlackBox::OutputConnectorMapType::const_iterator i
->GetBlackBoxTo()->bbExecute(force);
}
+ */
+ /*
+ if (false)
+ {
+ }
// else call 'standard' BlackBox execution method
else
{
- BlackBox::bbExecute(force);
+ */
+ return AtomicBlackBox::bbExecute(force);
+ /*
}
//
bbtkDebugMessageDec("process",2,
"<= WxBlackBox::bbExecute() ["
<<bbGetFullName()<<"]"<<std::endl);
+ */
}
//=========================================================================
// If the caller's box to is not the box to connected to the
// output 'Widget'
-
+ /*
BlackBox::OutputConnectorMapType::const_iterator i
= bbGetOutputConnectorMap().find("Widget") ;
if ( i->second->GetConnectionVector().size() != 0 )
<<std::endl);
}
}
+ */
/*
// If the caller is not the connection to the output widget