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
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<Connection*>& GetConnectionVector() const { return mConnection; }
+ typedef std::vector<Connection::WeakPointer> ConnectionVector;
+ const ConnectionVector& GetConnectionVector() const { return mConnection; }
private:
/// The vector of output connections
- std::vector<Connection*> mConnection;
+ ConnectionVector mConnection;
/// The status of the output
//IOStatus mStatus;
};