X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkBlackBoxInputConnector.cxx;h=1bbde7331d0a0d202ed8821a029a4b9e2cb8d5df;hb=4ad5b5ee44357ad873bc8c43230defb6d0a79879;hp=9269ec1d1f235767faca011893777a6847fded88;hpb=c2a4b1893412e50a3d9abff221938a2d16c4a7cb;p=bbtk.git diff --git a/kernel/src/bbtkBlackBoxInputConnector.cxx b/kernel/src/bbtkBlackBoxInputConnector.cxx index 9269ec1..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/02/05 13:23:46 $ - Version: $Revision: 1.2 $ + 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,11 +22,12 @@ */ #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("Kernel",9,"BlackBoxInputConnector::BlackBoxInputConnector()"<BackwardUpdate(); + IOStatus s = mConnection.lock()->BackwardUpdate(); mStatus = s; } else