MosesServer::TranslationRequest Class Reference

#include <TranslationRequest.h>

Inheritance diagram for MosesServer::TranslationRequest:

Inheritance graph
[legend]
Collaboration diagram for MosesServer::TranslationRequest:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool DeleteAfterExecution ()
bool IsDone () const
std::map< std::string,
xmlrpc_c::value > const & 
GetRetData ()
void Run ()

Static Public Member Functions

static boost::shared_ptr
< TranslationRequest
create (Translator *translator, xmlrpc_c::paramList const &paramList, boost::condition_variable &cond, boost::mutex &mut)

Protected Member Functions

 TranslationRequest (xmlrpc_c::paramList const &paramList, boost::condition_variable &cond, boost::mutex &mut)


Detailed Description

Definition at line 28 of file TranslationRequest.h.


Constructor & Destructor Documentation

MosesServer::TranslationRequest::TranslationRequest ( xmlrpc_c::paramList const &  paramList,
boost::condition_variable &  cond,
boost::mutex &  mut 
) [protected]

Definition at line 229 of file TranslationRequest.cpp.

Referenced by create().

Here is the caller graph for this function:


Member Function Documentation

boost::shared_ptr< TranslationRequest > MosesServer::TranslationRequest::create ( Translator translator,
xmlrpc_c::paramList const &  paramList,
boost::condition_variable &  cond,
boost::mutex &  mut 
) [static]

Definition at line 33 of file TranslationRequest.cpp.

References TranslationRequest().

Here is the call graph for this function:

virtual bool MosesServer::TranslationRequest::DeleteAfterExecution (  )  [inline, virtual]

Definition at line 108 of file TranslationRequest.h.

std::map<std::string, xmlrpc_c::value> const& MosesServer::TranslationRequest::GetRetData (  )  [inline]

Definition at line 118 of file TranslationRequest.h.

bool MosesServer::TranslationRequest::IsDone (  )  const [inline]

Definition at line 113 of file TranslationRequest.h.

void MosesServer::TranslationRequest::Run (  )  [virtual]

Translate one sentence gets called by main function implemented at end of this source file

Reimplemented from Moses::TranslationTask.

Definition at line 56 of file TranslationRequest.cpp.

References Moses::StaticData::Instance(), Moses::is_syntax(), Moses::TranslationTask::m_options, Moses::TranslationTask::m_scope, params, and MosesServer::SetContextWeights().

Here is the call graph for this function:


The documentation for this class was generated from the following files:

Generated on Thu Jul 6 00:34:05 2017 for Moses by  doxygen 1.5.9