]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkBlackBox.h
BUG 1546 Temporary Picker Sync
[bbtk.git] / kernel / src / bbtkBlackBox.h
index 939b5f8d56d9e3138327ae2ba25a40a2005a48bf..8fd1c2e969df77c0a3675807943c07c0546efbbd 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkBlackBox.h,v $
   Language:  C++
-  Date:      $Date: 2011/03/03 14:33:13 $
-  Version:   $Revision: 1.32 $
+  Date:      $Date: 2012/07/26 08:28:31 $
+  Version:   $Revision: 1.33 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -298,7 +298,8 @@ namespace bbtk
      {
       bbPipeline,
       bbAlways,
-      bbReactive
+      bbReactive,
+         bbManual
      }
     BoxProcessModeValue;
     
@@ -308,16 +309,18 @@ namespace bbtk
     virtual bool bbBoxProcessModeIsReactive() const;
     /// Returns true iff the input 'BoxProcessMode' is set to 'Always' (or a synonym)
     virtual bool bbBoxProcessModeIsAlways() const;
+       /// Returns true iff the input 'BoxProcessMode' is set to 'Manual' (or a synonym)
+       virtual bool bbBoxProcessModeIsManual() const;
 
     /// Returns the value of the input 'BoxExecute'
     Void bbGetInputBoxExecute() { return Void(); }
     /// Sets the value of the input 'BoxExecute'
-    void bbSetInputBoxExecute(Void = 0) {}
+         void bbSetInputBoxExecute(Void = 0) {  }
 
     /// Returns the value of the output 'BoxChange'
     Void bbGetOutputBoxChange() { return Void(); }
     /// Sets the value of the output 'BoxChange'
-    void bbSetOutputBoxChange(Void = 0) { }
+    void bbSetOutputBoxChange(Void = 0) {  }
     //@}
     //==================================================================
 
@@ -642,6 +645,7 @@ namespace bbtk
     /// 0 : "Pipeline" mode
     /// 1 : "Always" mode
     /// 2 : "Reactive" mode
+       /// 3 : "Manual" mode
     std::string bbmBoxProcessMode;
     /// The parent of the black box in the ComplexBlackBox hierarchy
     BlackBox::WeakPointer bbmParent;
@@ -655,6 +659,9 @@ namespace bbtk
     ///  Map that contains the input connectors of the black box
     InputConnectorMapType mInputConnectorMap;
     //==================================================================
+         
+         
+         bool bbLetRecursiveExecuteManualMode;
  };
   // Class BlackBox