]> Creatis software - bbtk.git/blob - kernel/src/bbtkBlackBoxOutputConnector.h
Recreated the complete cvs tree because the project architecture deeply changed
[bbtk.git] / kernel / src / bbtkBlackBoxOutputConnector.h
1 /*=========================================================================
2                                                                                 
3   Program:   bbtk
4   Module:    $RCSfile: bbtkBlackBoxOutputConnector.h,v $
5   Language:  C++
6   Date:      $Date: 2008/01/22 15:02:00 $
7   Version:   $Revision: 1.1.1.1 $
8                                                                                 
9   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10   l'Image). All rights reserved. See Doc/License.txt or
11   http://www.creatis.insa-lyon.fr/Public/bbtk/License.html for details.
12                                                                                 
13      This software is distributed WITHOUT ANY WARRANTY; without even
14      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15      PURPOSE.  See the above copyright notices for more information.
16                                                                                 
17 =========================================================================*/
18
19 /**
20  *  \file 
21  *  \brief Class bbtk::BlackBoxOutputConnector : 
22  */
23 /**
24  * \class bbtk::BlackBoxOutputConnector
25  * \brief 
26  */
27  
28 #ifndef __bbtkBlackBoxOutputConnector_h__
29 #define __bbtkBlackBoxOutputConnector_h__
30
31 #include "bbtkConnection.h"
32 #include "bbtkMessageManager.h"
33 #include <vector>
34
35 namespace bbtk
36 {
37
38
39   class BBTK_EXPORT BlackBoxOutputConnector 
40   {
41   public:
42      
43     BlackBoxOutputConnector();
44     ~BlackBoxOutputConnector();
45     void SetConnection(Connection* c);
46     void UnsetConnection(Connection* c);
47     //IOStatus Update();
48     void SetModifiedStatus();
49     const std::vector<Connection*>& GetConnectionVector() const { return mConnection; }
50     
51   private:
52     /// The vector of output connections
53     std::vector<Connection*> mConnection;
54     /// The status of the output 
55     //IOStatus mStatus;
56   };
57   
58 }
59 // namespace bbtk
60 #endif