]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkBlackBox.h
* Viewer2D now works !!!
[bbtk.git] / kernel / src / bbtkBlackBox.h
index b70ab75f747a07ad0171f1c07025ebaa9ace7853..7989748e800eb08048a75083c5c3b380dca53381 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkBlackBox.h,v $
   Language:  C++
-  Date:      $Date: 2008/12/08 12:53:47 $
-  Version:   $Revision: 1.17 $
+  Date:      $Date: 2008/12/09 12:54:02 $
+  Version:   $Revision: 1.18 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -195,6 +195,10 @@ namespace bbtk
     virtual void bbSetOutput( const std::string &name, Data data) = 0;
 
 
+    /// Gets the status of the input called <name>
+    IOStatus bbGetInputStatus( const std::string &name ) const 
+    { return mInputConnectorMap.find(name)->second->GetStatus(); }
+
     ///  Returns the input connectors map
     InputConnectorMapType&  bbGetInputConnectorMap() 
     { return mInputConnectorMap; }