mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2024-09-11 11:25:40 +03:00
27 lines
400 B
C++
27 lines
400 B
C++
#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();
|
|
virtual std::string ReturnTranslation() const;
|
|
|
|
protected:
|
|
ManagerBase *m_mgr;
|
|
};
|
|
|
|
}
|
|
|