#ifndef __bbstdExecSystemCommand_h_INCLUDED__ #define __bbstdExecSystemCommand_h_INCLUDED__ #include "bbtkAtomicBlackBox.h" namespace bbstd { class ExecSystemCommand : public bbtk::AtomicBlackBox { BBTK_USER_BLACK_BOX_INTERFACE(ExecSystemCommand,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(ExecSystemCommand,bbtk::AtomicBlackBox); BBTK_NAME("ExecSystemCommand"); BBTK_AUTHOR("eduardo.davila@creatis.insa-lyon.fr"); BBTK_DESCRIPTION("Execute bbi commands"); BBTK_INPUT(ExecSystemCommand,In,"bbi commands separated by ';' , use '' to indicate strings ex. help 'graph' ",std::string,""); // BBTK_OUTPUT(ExecSystemCommand,Out,"Concatenated string",std::string); BBTK_END_DESCRIBE_BLACK_BOX(ExecSystemCommand); } // EO namespace bbstd #endif // __bbstdExecSystemCommand_h_INCLUDED__