Program: bbtk
Module: $RCSfile: bbtkBlackBoxOutputConnector.cxx,v $
Language: C++
- Date: $Date: 2008/12/08 12:54:00 $
- Version: $Revision: 1.9 $
+ Date: $Date: 2008/12/08 14:02:15 $
+ Version: $Revision: 1.10 $
=========================================================================*/
/* ---------------------------------------------------------------------
void BlackBoxOutputConnector::SignalChange( BlackBox::Pointer box,
const std::string& output )
{
- bbtkDebugMessage("change",2,
+ IOStatus s = OUTOFDATE; //mStatus;
+ //if (s==UPTODATE) s=MODIFIED;
+
+ bbtkDebugMessage("change",2,
"==> BlackBoxOutputConnector::SignalChange("
<<box->bbGetFullName()<<",'"
- <<output<<"','"<<GetIOStatusString(mStatus)<<"') ["
+ <<output<<"','"<<GetIOStatusString(s)<<"') ["
<<this<<"]"
<<std::endl);
- mChangeSignal(box,output,mStatus);
+ mChangeSignal(box,output,s);
bbtkDebugMessage("change",2,
"<== BlackBoxOutputConnector::SignalChange("
<<box->bbGetFullName()<<",'"
- <<output<<"','"<<GetIOStatusString(mStatus)<<"') ["
+ <<output<<"','"<<GetIOStatusString(s)<<"') ["
<<this<<"]"
<<std::endl);
}
Program: bbtk
Module: $RCSfile: bbtkConnection.cxx,v $
Language: C++
- Date: $Date: 2008/12/08 12:54:19 $
- Version: $Revision: 1.16 $
+ Date: $Date: 2008/12/08 14:02:15 $
+ Version: $Revision: 1.17 $
=========================================================================*/
/* ---------------------------------------------------------------------
bbtkDebugMessage("change",2,
"==> Connection::OnOutputChange("<<status<<") ["
<<GetFullName()<<"]"<<std::endl);
-
if (mAdaptor)
{
- BlackBoxInputConnector* ac = mAdaptor->bbGetInputConnectorMap().find("In")->second;
- mAdaptor->bbSetStatusAndPropagate(ac,status);
+ BlackBoxInputConnector* ac = mAdaptor->bbGetInputConnectorMap().find("In")->second;
+ mAdaptor->bbSetStatusAndPropagate(ac,status);
}
mTo->bbSetStatusAndPropagate( mTo->bbGetInputConnectorMap().find(mInput)->second, status);
Program: bbtk
Module: $RCSfile: bbtkWxBlackBox.cxx,v $
Language: C++
- Date: $Date: 2008/12/08 12:54:27 $
- Version: $Revision: 1.33 $
+ Date: $Date: 2008/12/08 14:02:15 $
+ Version: $Revision: 1.34 $
=========================================================================*/
/* ---------------------------------------------------------------------
// If the output 'Widget' is connected then
// we must execute the parent box
+ /*
BlackBox::OutputConnectorMapType::const_iterator i
= bbGetOutputConnectorMap().find("Widget");
<<"Execute the top level Layout widget to create and "
<<"display the widget.");
}
-
+*/
AtomicBlackBox::bbExecute(force);
bbtkDebugMessageDec("process",2,