mosesdecoder/contrib/other-builds/moses2/TranslationTask.h
Hieu Hoang e6096aa8bf format
2016-03-31 21:00:16 +01:00

26 lines
351 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();
protected:
ManagerBase *m_mgr;
};
}