mosesdecoder/contrib/moses2/TranslationTask.h
2016-08-10 22:40:05 +02: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;
};
}