X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=kernel%2Fsrc%2FbbtkBlackBoxInputConnector.cxx;h=1bbde7331d0a0d202ed8821a029a4b9e2cb8d5df;hb=4ad5b5ee44357ad873bc8c43230defb6d0a79879;hp=4129a714070d480f3ebe9ea3915c85e3a3329b5a;hpb=a26195c366a89795288009cf7e20f11afa494970;p=bbtk.git diff --git a/kernel/src/bbtkBlackBoxInputConnector.cxx b/kernel/src/bbtkBlackBoxInputConnector.cxx index 4129a71..1bbde73 100644 --- a/kernel/src/bbtkBlackBoxInputConnector.cxx +++ b/kernel/src/bbtkBlackBoxInputConnector.cxx @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkBlackBoxInputConnector.cxx,v $ Language: C++ - Date: $Date: 2008/01/22 15:02:00 $ - Version: $Revision: 1.1 $ + Date: $Date: 2008/04/18 12:59:15 $ + Version: $Revision: 1.3 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -22,34 +22,34 @@ */ #include "bbtkBlackBoxInputConnector.h" #include "bbtkMessageManager.h" +#include "bbtkBlackBox.h" namespace bbtk { - BlackBoxInputConnector::BlackBoxInputConnector(BlackBox* b) - : mBox(b), mConnection(0), mStatus(MODIFIED) + BlackBoxInputConnector::BlackBoxInputConnector(BlackBox::Pointer b) + : mBox(b), mConnection(), mStatus(MODIFIED) { - bbtkDebugMessage("Core",9,"BlackBoxInputConnector::BlackBoxInputConnector()"<BackwardUpdate(); + IOStatus s = mConnection.lock()->BackwardUpdate(); mStatus = s; } else