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
const int UPTODATE = 1;
///
const int UPDATING = 2;
-
-
-
class BlackBox;
class BlackBoxInputConnector;
class BlackBoxOutputConnector;
-
-
class BBTK_EXPORT Connection
{
public:
~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;
/// 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;
/// 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)
void TransferData();
};
-
}// namespace bbtk
-
-
#endif