X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=kernel%2Fsrc%2FbbtkConnection.h;h=4a7996844034dea487967bf1664fa49849fc9b6d;hb=6ea571ab3b7a539aaaca066db3941f5017920209;hp=09a5d7f0bf3f7589459823d28b15911ef77c834b;hpb=a26195c366a89795288009cf7e20f11afa494970;p=bbtk.git diff --git a/kernel/src/bbtkConnection.h b/kernel/src/bbtkConnection.h index 09a5d7f..4a79968 100644 --- a/kernel/src/bbtkConnection.h +++ b/kernel/src/bbtkConnection.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkConnection.h,v $ Language: C++ - Date: $Date: 2008/01/22 15:02:00 $ - Version: $Revision: 1.1 $ + Date: $Date: 2008/02/20 16:05:38 $ + Version: $Revision: 1.2 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See doc/license.txt or @@ -41,16 +41,11 @@ namespace bbtk const int UPTODATE = 1; /// const int UPDATING = 2; - - - class BlackBox; class BlackBoxInputConnector; class BlackBoxOutputConnector; - - class BBTK_EXPORT Connection { public: @@ -61,16 +56,15 @@ namespace bbtk ~Connection(); /// Amont direction pipeline processing - /// 1) call bbBackwardUpdate(this) on the amont box - /// 2) copies the amont box output to the aval box input adapting it if needed + /// 1) call bbBackwardUpdate(this) on the upstream box + /// 2) copies the upstream box output to the downstream box input adapting it if needed virtual IOStatus BackwardUpdate(); /// Aval direction pipeline processing : - /// 1) copies the amont box output to the aval box input adapting it if needed - /// 2) call bbForwardUpdate(this) on the aval box + /// 1) copies the upstream box output to the downstream box input adapting it if needed + /// 2) call bbForwardUpdate(this) on the downstream box // virtual void ForwardUpdate(); - virtual void SetModifiedStatus(); std::string GetFullName() const; @@ -83,8 +77,6 @@ namespace bbtk /// Returns the input of the final black box of the connection const std::string& GetBlackBoxToInput() const { return mInput; } - - protected: /// Black box origin of the connection BlackBox* mFrom; @@ -111,7 +103,6 @@ namespace bbtk /// Have to do dynamic_cast ? bool mDoDynamicCast; - /// Ctor with the black box from and to and their input and output /// and a dummy int to differentiate from the public constructor. /// Sets the members but does not test compatibility (used by bbtk::AdaptiveConnection) @@ -121,10 +112,7 @@ namespace bbtk void TransferData(); }; - }// namespace bbtk - - #endif