]> Creatis software - bbtk.git/blob - packages/std/src/bbstdExecBbiCommand.h
=== MAJOR RELEASE ====
[bbtk.git] / packages / std / src / bbstdExecBbiCommand.h
1 #ifndef __bbstdExecBbiCommand_h_INCLUDED__
2 #define __bbstdExecBbiCommand_h_INCLUDED__
3
4 #include "bbtkAtomicBlackBox.h"
5
6 namespace bbstd
7 {
8
9   class ExecBbiCommand
10     : 
11     public bbtk::AtomicBlackBox
12   {
13     BBTK_BLACK_BOX_INTERFACE(ExecBbiCommand,bbtk::AtomicBlackBox);
14     BBTK_DECLARE_INPUT(In,std::string);
15     //    BBTK_DECLARE_OUTPUT(Out,std::string);
16     BBTK_PROCESS(DoProcess);
17     void DoProcess();
18     
19   protected:
20     virtual void bbUserConstructor();
21     
22   };
23
24   BBTK_BEGIN_DESCRIBE_BLACK_BOX(ExecBbiCommand,bbtk::AtomicBlackBox);
25   BBTK_NAME("ExecBbiCommand");
26   BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
27   BBTK_DESCRIPTION("Executes bbi commands");
28   BBTK_INPUT(ExecBbiCommand,In,"bbi commands separated by ';' , use '' to indicate strings ex. help 'graph' ",std::string,"");  
29   //  BBTK_OUTPUT(ExecBbiCommand,Out,"Concatenated string",std::string);
30   BBTK_END_DESCRIBE_BLACK_BOX(ExecBbiCommand);
31   
32 } // EO namespace bbstd
33
34 #endif //  __bbstdExecBbiCommand_h_INCLUDED__
35