Cambridge SMT System
ucam::hifst::SingleThreadedHifstClientTask< Data > Class Template Reference

Full single-threaded Translation system. More...

#include <main-run.hifst-client.hpp>

Inheritance diagram for ucam::hifst::SingleThreadedHifstClientTask< Data >:
Collaboration diagram for ucam::hifst::SingleThreadedHifstClientTask< Data >:

Public Member Functions

 SingleThreadedHifstClientTask (const ucam::util::RegistryPO &rg)
 Constructor. More...
 
bool operator() ()
 Sends request, retrieves server reply, prints translation to file. More...
 
- Public Member Functions inherited from ucam::util::TaskInterface< Data >
 TaskInterface ()
 Constructor. More...
 
virtual ~TaskInterface ()
 
bool chainrun (Data &d)
 Implements chain of responsability. Calls run method and, if there is another task, call its run method too. More...
 
bool operator() (Data &d)
 
TaskInterfaceappendTask (TaskInterface *t)
 Appends a task class. If there is no task, append here, otherwise delegate in next task. More...
 
TaskInterfaceoperator() (TaskInterface *t)
 
TaskInterfacegetTask ()
 Return appended task. More...
 
TaskInterfacenext ()
 

Detailed Description

template<class Data = HifstClientTaskData>
class ucam::hifst::SingleThreadedHifstClientTask< Data >

Full single-threaded Translation system.

Definition at line 37 of file main-run.hifst-client.hpp.

Constructor & Destructor Documentation

template<class Data = HifstClientTaskData>
ucam::hifst::SingleThreadedHifstClientTask< Data >::SingleThreadedHifstClientTask ( const ucam::util::RegistryPO rg)
inline

Constructor.

Parameters
rgpointer to ucam::util::RegistryPO object with all parsed parameters.

Definition at line 60 of file main-run.hifst-client.hpp.

Member Function Documentation

template<class Data = HifstClientTaskData>
bool ucam::hifst::SingleThreadedHifstClientTask< Data >::operator() ( )
inline

Sends request, retrieves server reply, prints translation to file.

Do actual translation!

Definition at line 70 of file main-run.hifst-client.hpp.


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