mirror of
https://github.com/moses-smt/mosesdecoder.git
synced 2025-01-05 02:22:21 +03:00
25 lines
325 B
C++
25 lines
325 B
C++
#pragma once
|
|
#include <string>
|
|
#include "legacy/ThreadPool.h"
|
|
|
|
namespace Moses2
|
|
{
|
|
|
|
class System;
|
|
class Manager;
|
|
|
|
class TranslationTask : public Task
|
|
{
|
|
public:
|
|
|
|
TranslationTask(System &system, const std::string &line, long translationId);
|
|
virtual ~TranslationTask();
|
|
virtual void Run();
|
|
|
|
protected:
|
|
Manager *m_mgr;
|
|
};
|
|
|
|
}
|
|
|