mosesdecoder/contrib/other-builds/moses2/TranslationTask.h
2016-02-26 11:52:35 +00:00

26 lines
348 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;
};
}