X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkBlackBoxOutputConnector.h;h=1ec2c361aa2f68236660423c18fcb733d6b2e43a;hb=4ad5b5ee44357ad873bc8c43230defb6d0a79879;hp=dab12742c24cece2d395837a7b46d92bb99e3fd6;hpb=c2a4b1893412e50a3d9abff221938a2d16c4a7cb;p=bbtk.git diff --git a/kernel/src/bbtkBlackBoxOutputConnector.h b/kernel/src/bbtkBlackBoxOutputConnector.h index dab1274..1ec2c36 100644 --- a/kernel/src/bbtkBlackBoxOutputConnector.h +++ b/kernel/src/bbtkBlackBoxOutputConnector.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkBlackBoxOutputConnector.h,v $ Language: C++ - Date: $Date: 2008/01/22 15:02:00 $ - Version: $Revision: 1.1 $ + Date: $Date: 2008/04/18 12:59:15 $ + 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 @@ -42,15 +42,16 @@ namespace bbtk BlackBoxOutputConnector(); ~BlackBoxOutputConnector(); - void SetConnection(Connection* c); - void UnsetConnection(Connection* c); + void SetConnection(Connection::Pointer c); + void UnsetConnection(Connection::Pointer c); //IOStatus Update(); void SetModifiedStatus(); - const std::vector& GetConnectionVector() const { return mConnection; } + typedef std::vector ConnectionVector; + const ConnectionVector& GetConnectionVector() const { return mConnection; } private: /// The vector of output connections - std::vector mConnection; + ConnectionVector mConnection; /// The status of the output //IOStatus mStatus; };