1 /*=========================================================================
4 Module: $RCSfile: bbtkBlackBoxInputConnector.cxx,v $
6 Date: $Date: 2008/01/22 15:02:00 $
7 Version: $Revision: 1.1 $
9 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10 l'Image). All rights reserved. See Doc/License.txt or
11 http://www.creatis.insa-lyon.fr/Public/bbtk/License.html for details.
13 This software is distributed WITHOUT ANY WARRANTY; without even
14 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15 PURPOSE. See the above copyright notices for more information.
17 =========================================================================*/
21 * \brief Class bbtk::BlackBoxInputConnector :
23 #include "bbtkBlackBoxInputConnector.h"
24 #include "bbtkMessageManager.h"
28 BlackBoxInputConnector::BlackBoxInputConnector(BlackBox* b)
29 : mBox(b), mConnection(0), mStatus(MODIFIED)
31 bbtkDebugMessage("Core",9,"BlackBoxInputConnector::BlackBoxInputConnector()"<<std::endl);
35 BlackBoxInputConnector::~BlackBoxInputConnector()
37 bbtkDebugMessageInc("Core",9,"BlackBoxInputConnector::~BlackBoxInputConnector()"<<std::endl);
38 if (mConnection) delete mConnection;
39 bbtkDebugDecTab("Core",9);
42 void BlackBoxInputConnector::SetConnection(Connection* c)
44 bbtkDebugMessage("Core",9,"BlackBoxInputConnector::SetConnection("<<c<<")"<<std::endl);
48 void BlackBoxInputConnector::UnsetConnection(Connection* c)
50 bbtkDebugMessage("Core",9,"BlackBoxInputConnector::UnsetConnection("
55 IOStatus BlackBoxInputConnector::BackwardUpdate()
57 bbtkDebugMessageInc("Process",4,"BlackBoxInputConnector::BackwardUpdate()"
62 IOStatus s = mConnection->BackwardUpdate();
70 bbtkDecTab("Process",4);