]> Creatis software - bbtk.git/blob - packages/std/src/bbstdExecSystemCommand.h
cc7f72a182198beed8535e55c1b2a69309436530
[bbtk.git] / packages / std / src / bbstdExecSystemCommand.h
1 #ifndef __bbstdExecSystemCommand_h_INCLUDED__
2 #define __bbstdExecSystemCommand_h_INCLUDED__
3
4 #include "bbtkAtomicBlackBox.h"
5
6 namespace bbstd
7 {
8
9   class ExecSystemCommand
10     : 
11     public bbtk::AtomicBlackBox
12   {
13     BBTK_USER_BLACK_BOX_INTERFACE(ExecSystemCommand,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(ExecSystemCommand,bbtk::AtomicBlackBox);
25     BBTK_NAME("ExecSystemCommand");
26     BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
27     BBTK_DESCRIPTION("Execute bbi commands");
28     BBTK_INPUT(ExecSystemCommand,In,"bbi commands separated by ';' , use '' to indicate strings ex. help 'graph' ",std::string);  
29 //  BBTK_OUTPUT(ExecSystemCommand,Out,"Concatenated string",std::string);
30   BBTK_END_DESCRIBE_BLACK_BOX(ExecSystemCommand);
31
32 } // EO namespace bbstd
33
34 #endif //  __bbstdExecSystemCommand_h_INCLUDED__
35
36