]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkBlackBox.h
*** empty log message ***
[bbtk.git] / kernel / src / bbtkBlackBox.h
index a9c25666c6679b0ba97d11e9d54c0ea03e3debce..4fb82fa629dd5e9221c87c65eae13c6031ebf6d3 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkBlackBox.h,v $
   Language:  C++
-  Date:      $Date: 2008/03/11 18:46:47 $
-  Version:   $Revision: 1.3 $
+  Date:      $Date: 2008/04/08 06:59:29 $
+  Version:   $Revision: 1.4 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See doc/license.txt or
@@ -364,6 +364,9 @@ bool reaction = true);
     virtual void bbCopyIOValues(BlackBox& from);
     //==================================================================
 
+    bool bbGetExecuting() const { return bbmExecuting; }
+    void bbSetExecuting(bool b) { bbmExecuting = b; }
+
   private:
     
  
@@ -387,6 +390,11 @@ bool reaction = true);
     BlackBox::Pointer bbmParent;
     //==================================================================
 
+    //==================================================================
+    // Am I executing (to test pipeline cycles) ?
+    bool bbmExecuting;
+    //==================================================================
+
    //==================================================================
     // ATTRIBUTES
     ///  Map that contains the output connectors of the black box
@@ -395,11 +403,7 @@ bool reaction = true);
     InputConnectorMapType mInputConnectorMap;
     //==================================================================
 
-/*EED    
-    static bool bbmgSomeBoxExecuting;
-    static bool bbmgFreezeExecution;
-    static std::set<BlackBox*> bbmgExecutionList;
-*/
+
  };
   // Class BlackBox