]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkBlackBoxOutputConnector.h
Fixed Window deletion mechanism
[bbtk.git] / kernel / src / bbtkBlackBoxOutputConnector.h
index 80559c20101c9570fbdea8a04e565b9049ac24f3..d40703db7638a868d67c523ee79a23155df53b9b 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkBlackBoxOutputConnector.h,v $
   Language:  C++
-  Date:      $Date: 2008/12/15 09:04:46 $
-  Version:   $Revision: 1.8 $
+  Date:      $Date: 2009/05/28 08:12:05 $
+  Version:   $Revision: 1.9 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -83,7 +83,7 @@ namespace bbtk
 
     typedef BlackBox::OutputChangeCallbackType OutputChangeCallbackType;
 
-    BlackBoxOutputConnector();
+    BlackBoxOutputConnector(BlackBoxPointer b);
     ~BlackBoxOutputConnector();
 
     void SetConnection(Connection* c);
@@ -123,6 +123,8 @@ namespace bbtk
 
 
   private:
+    /// 
+    BlackBoxWeakPointer mBox;
     /// The vector of output connections
     ConnectionVector mConnection;
     /// The status of the output