Program: bbtk
Module: $RCSfile: bbtkConnection.h,v $
Language: C++
- Date: $Date: 2008/03/07 10:21:30 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2008/04/08 06:59:30 $
+ Version: $Revision: 1.4 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See doc/license.txt or
/// Ctor
Connection(BlackBox* from, const std::string& output,
BlackBox* to, const std::string& input,
- const Factory* f );
+ const Factory* f);
/// Dtor
~Connection();
+ void Clear();
+
/// Amont direction pipeline processing
/// 1) call bbBackwardUpdate(this) on the upstream box
/// 2) copies the upstream box output to the downstream box input adapting it if needed
/// Returns the input of the final black box of the connection
const std::string& GetBlackBoxToInput() const { return mInput; }
+ /// Sets the output of the initial black box of the connection
+ void SetBlackBoxFromOutput(const std::string& o) { mOutput = o; }
protected:
/// Black box origin of the connection
BlackBox* mFrom;