diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2017-02-01 01:21:59 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2017-02-01 01:21:59 +0300 |
commit | a8a5b43f2dc32bd1b45006fd43989dc71e74ba0e (patch) | |
tree | e84a78fa005e29ec78076d6e525371240871122c /moses2/TranslationTask.h | |
parent | 7206d592751ee9afeb1fa4753b7e19272e2585bc (diff) |
move moses2 to root
Diffstat (limited to 'moses2/TranslationTask.h')
-rw-r--r-- | moses2/TranslationTask.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/moses2/TranslationTask.h b/moses2/TranslationTask.h new file mode 100644 index 000000000..bf2330357 --- /dev/null +++ b/moses2/TranslationTask.h @@ -0,0 +1,25 @@ +#pragma once +#include <string> +#include "legacy/ThreadPool.h" + +namespace Moses2 +{ + +class System; +class ManagerBase; +class Manager; + +class TranslationTask: public Task +{ +public: + + TranslationTask(System &system, const std::string &line, long translationId); + virtual ~TranslationTask(); + virtual void Run(); + +protected: + ManagerBase *m_mgr; +}; + +} + |