]> git.donarmstrong.com Git - mothur.git/blobdiff - engine.hpp
created mothurOut class to handle logfiles
[mothur.git] / engine.hpp
index df4e08d879103c95e2959130eda2d19296f0a0f3..74687d2398c84a532b0ba6c68e17ed8cff1f7cf0 100644 (file)
@@ -17,6 +17,7 @@
 #include "commandoptionparser.hpp"
 #include "command.hpp"
 #include "commandfactory.hpp"
+#include "mothurout.h"
 
 class GlobalData;
 
@@ -26,11 +27,12 @@ public:
        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;
+       MothurOut* mout;
 };