00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef _CLONEH
00010 #define _CLONEH
00011
00012 #include "ComPlusPlus/Process.h"
00013 #include <string>
00014
00015 namespace compp {
00016
00017 class Clone : public compp::Process {
00018
00019 private:
00020
00021 protected:
00022
00023 bool IsRunning ;
00024
00025
00026 public:
00027
00028 Clone(const std::string & newmcd) ;
00029 Clone() ;
00030 ~Clone() ;
00031 int Start();
00032
00033 void SetCommand (const std::string &cmdargs = "" );
00034
00035
00036 virtual int Run ( ) ;
00037
00038 };
00039 }
00040 #endif
00041