mosesdecoder/contrib/other-builds/moses2/TranslationTask.h

25 lines
325 B
C
Raw Normal View History

2015-11-10 14:28:17 +03:00
#pragma once
#include <string>
2015-11-13 00:58:07 +03:00
#include "legacy/ThreadPool.h"
2015-11-10 14:28:17 +03:00
2015-12-10 23:49:30 +03:00
namespace Moses2
{
2015-11-10 14:28:17 +03:00
class System;
class Manager;
2015-11-13 00:58:07 +03:00
class TranslationTask : public Task
2015-11-10 14:28:17 +03:00
{
public:
2015-12-08 21:50:19 +03:00
TranslationTask(System &system, const std::string &line, long translationId);
2015-11-10 14:28:17 +03:00
virtual ~TranslationTask();
virtual void Run();
protected:
Manager *m_mgr;
};
2015-12-10 23:49:30 +03:00
}