X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkBlackBox.cxx;h=d2137752f2e8aee1d3084543d6c786427e001b71;hb=6bbabb32cba07ce95376c2cdcb804ee97050d453;hp=0d15072239a249d180364e69a5595d031a50cd45;hpb=863de4f0ad1a8aa106a4893354aae3889354722c;p=bbtk.git diff --git a/kernel/src/bbtkBlackBox.cxx b/kernel/src/bbtkBlackBox.cxx index 0d15072..d213775 100644 --- a/kernel/src/bbtkBlackBox.cxx +++ b/kernel/src/bbtkBlackBox.cxx @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkBlackBox.cxx,v $ Language: C++ -Date: $Date: 2008/06/10 19:19:42 $ -Version: $Revision: 1.20 $ +Date: $Date: 2008/06/19 09:46:41 $ +Version: $Revision: 1.21 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See doc/license.txt or @@ -1167,13 +1167,6 @@ namespace bbtk } - //========================================================================= - // Static members initialization -/*EED - bool BlackBox::bbmgSomeBoxExecuting = false; - bool BlackBox::bbmgFreezeExecution = false; - std::set BlackBox::bbmgExecutionList; -*/ //========================================================================= //========================================================================= @@ -1184,6 +1177,16 @@ namespace bbtk } //========================================================================= + void BlackBox::bbUserOnShowWidget(std::string nameInput) + { + bbtk::BlackBoxInputConnector *cc; + cc = this->bbGetInputConnectorMap().find( nameInput.c_str() )->second; + if (cc->GetConnection()!=NULL) + { + cc->GetConnection()->GetBlackBoxFrom()->bbUserOnShow(); + } + } + } // EO namespace bbtk