#ifndef __bbstdExecBbiCommand_h_INCLUDED__ #define __bbstdExecBbiCommand_h_INCLUDED__ #include "bbtkAtomicBlackBox.h" namespace bbstd { class ExecBbiCommand : public bbtk::AtomicBlackBox { BBTK_USER_BLACK_BOX_INTERFACE(ExecBbiCommand,bbtk::AtomicBlackBox); BBTK_DECLARE_INPUT(In,std::string); // BBTK_DECLARE_OUTPUT(Out,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_END_DESCRIBE_BLACK_BOX(ExecBbiCommand); } // EO namespace bbstd #endif // __bbstdExecBbiCommand_h_INCLUDED__