Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TranslationTask.h « moses2 - github.com/moses-smt/mosesdecoder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 86e1766e171587b5a92b0ebfc8c198e7b79688de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#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();
  virtual std::string ReturnTranslation() const;

protected:
  ManagerBase *m_mgr;
};

}