]> git.donarmstrong.com Git - mothur.git/blobdiff - engine.hpp
working on chimeras
[mothur.git] / engine.hpp
index 3aabf13de009dac3205d00c130d734d98de88dda..cbcc99aaf2cd8ebc48f6512eb9e88967df8e94b3 100644 (file)
@@ -22,12 +22,12 @@ class GlobalData;
 
 class Engine {
 public:
-       Engine() {  cFactory = new CommandFactory();    }
-       virtual ~Engine(){  delete cFactory;  }
+       Engine()
+       virtual ~Engine(){}
        virtual bool getInput() = 0;
        virtual string getCommand();
-       vector<string> getOptions() {   return options;         }
-       virtual void terminateCommand(int);
+       virtual string getOutputDir()   {       return cFactory->getOutputDir();  }
+       vector<string> getOptions()             {       return options;         }
 protected:
        vector<string> options;
        CommandFactory* cFactory;