]> Creatis software - bbtk.git/blobdiff - packages/std/src/bbstdExecBbiCommand.h
new
[bbtk.git] / packages / std / src / bbstdExecBbiCommand.h
index 2718848401dd31f1f2b99155ce573dede7d6b231..212cbba07fe753ff9933d8e6022b26fc9d76fc8e 100755 (executable)
@@ -8,25 +8,23 @@ namespace bbstd
 
   class ExecBbiCommand
     : 
-    public bbtk::AtomicBlackBox
+  public bbtk::AtomicBlackBox
   {
-    BBTK_USER_BLACK_BOX_INTERFACE(ExecBbiCommand,bbtk::AtomicBlackBox);
-      BBTK_DECLARE_INPUT(In,std::string);
-//    BBTK_DECLARE_OUTPUT(Out,std::string);
+  public:
+    BBTK_BLACK_BOX_INTERFACE(ExecBbiCommand,bbtk::AtomicBlackBox);
+    BBTK_DECLARE_INPUT(In,std::string);
     BBTK_PROCESS(DoProcess);
     void DoProcess();
 
   protected:
     virtual void bbUserConstructor();
-
   };
 
   BBTK_BEGIN_DESCRIBE_BLACK_BOX(ExecBbiCommand,bbtk::AtomicBlackBox);
-    BBTK_NAME("ExecBbiCommand");
-    BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
-    BBTK_DESCRIPTION("Executes bbi commands");
-    BBTK_INPUT(ExecBbiCommand,In,"bbi commands separated by ';' , use '' to indicate strings ex. help 'graph' ",std::string,"");  
-//  BBTK_OUTPUT(ExecBbiCommand,Out,"Concatenated string",std::string);
+  BBTK_NAME("ExecBbiCommand");
+  BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
+  BBTK_DESCRIPTION("Executes bbi commands");
+  BBTK_INPUT(ExecBbiCommand,In,"bbi commands separated by ';' , use '' to indicate strings ex. help 'graph' ",std::string,"");  
   BBTK_END_DESCRIBE_BLACK_BOX(ExecBbiCommand);
 
 } // EO namespace bbstd