mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-08 20:46:59 +03:00
26 lines
351 B
C++
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;
|
|
};
|
|
|
|
}
|
|
|