Program: bbtk
Module: $RCSfile: bbtkWxBlackBox.cxx,v $
Language: C++
- Date: $Date: 2008/10/17 08:18:14 $
- Version: $Revision: 1.27 $
+ Date: $Date: 2008/11/13 14:46:43 $
+ Version: $Revision: 1.28 $
=========================================================================*/
/* ---------------------------------------------------------------------
void WxBlackBox::bbExecute(bool force)
{
bbtkDebugMessageInc("process",2,
- "=> WxBlackBox::bbExecute() ["
+ "=> WxBlackBox::bbExecute("<<(int)force<<") ["
<<bbGetFullName()<<"]"<<std::endl);
// If the output 'Widget' is connected then
"=> WxBlackBox::bbBackwardUpdate("
<<(caller?caller->GetFullName():"0")<<") ["
<<bbGetFullName()<<"]"<<std::endl);
- // If the caller's box to is not the box to connected to the
- // output 'Widget'
+
if ( ! (( bbGetStatus() == MODIFIED ) ||
( bbBoxProcessModeIsAlways() )) )
{
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 )
((caller!=0) &&
(caller->GetBlackBoxTo() != to))&&
(!bbGetUpdateTransferedToParent())&&
- (to->bbGetStatus()!=UPDATING))
+ (!to->bbGetExecuting()))
{
bbtkDebugMessage("process",3,
" ... Transfering update order to parent"
}
- bbtkDebugMessage("wx",1,"<= WxBlackBox::bbShowWindow() ["
+ bbtkDebugMessage("wx",2,"<= WxBlackBox::bbShowWindow() ["
<<bbGetFullName()<<"]"<<std::endl);
}
if (bbGetWindow()!=0) bbGetWindow()->bbHide();
- bbtkDebugMessageDec("wx",1,"<= WxBlackBox::bbHideWindow() ["
+ bbtkDebugMessageDec("wx",2,"<= WxBlackBox::bbHideWindow() ["
<<bbGetFullName()<<"]"<<std::endl);
}
//==================================================================
if (bbGetWindow()!=0) bbGetWindow()->bbClose();
- bbtkDebugMessageDec("wx",1,"<= WxBlackBox::bbCloseWindow() ["
+ bbtkDebugMessageDec("wx",2,"<= WxBlackBox::bbCloseWindow() ["
<<bbGetFullName()<<"]"<<std::endl);
}
//==================================================================