]> Creatis software - bbtk.git/blob - packages/std/src/bbstdExecBbiCommand.h
Cosmetics
[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   public:
14     BBTK_BLACK_BOX_INTERFACE(ExecBbiCommand,bbtk::AtomicBlackBox);
15     BBTK_DECLARE_INPUT(In,std::string);
16     BBTK_PROCESS(DoProcess);
17     void DoProcess();
18
19   protected:
20     virtual void bbUserConstructor();
21   };
22
23   BBTK_BEGIN_DESCRIBE_BLACK_BOX(ExecBbiCommand,bbtk::AtomicBlackBox);
24   BBTK_NAME("ExecBbiCommand");
25   BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr");
26   BBTK_DESCRIPTION("Executes bbi commands");
27   BBTK_INPUT(ExecBbiCommand,In,"bbi commands separated by ';' , use '' to indicate strings ex. help 'graph' ",std::string,"");  
28   BBTK_END_DESCRIBE_BLACK_BOX(ExecBbiCommand);
29
30 } // EO namespace bbstd
31
32 #endif //  __bbstdExecBbiCommand_h_INCLUDED__
33