Cambridge SMT System
ucam::hifst::HifstServerTask< DataT, ArcT > Class Template Reference

Translation Server. More...

#include <main-run.hifst.hpp>

Inheritance diagram for ucam::hifst::HifstServerTask< DataT, ArcT >:
Collaboration diagram for ucam::hifst::HifstServerTask< DataT, ArcT >:

Public Member Functions

 HifstServerTask (const ucam::util::RegistryPO &rg)
 Constructor. More...
 
void load ()
 
bool operator() ()
 Loads and starts translation system using internal data object containing pointers to loaded models. More...
 
- Public Member Functions inherited from ucam::util::TaskInterface< DataT< ArcT > >
 TaskInterface ()
 Constructor. More...
 
virtual ~TaskInterface ()
 
bool chainrun (DataT< ArcT > &d)
 Implements chain of responsability. Calls run method and, if there is another task, call its run method too. More...
 
bool operator() (DataT< ArcT > &d)
 
TaskInterfaceoperator() (TaskInterface *t)
 
TaskInterfaceappendTask (TaskInterface *t)
 Appends a task class. If there is no task, append here, otherwise delegate in next task. More...
 
TaskInterfacegetTask ()
 Return appended task. More...
 
TaskInterfacenext ()
 

Detailed Description

template<template< class > class DataT, class ArcT>
class ucam::hifst::HifstServerTask< DataT, ArcT >

Translation Server.

Definition at line 365 of file main-run.hifst.hpp.

Constructor & Destructor Documentation

template<template< class > class DataT, class ArcT >
ucam::hifst::HifstServerTask< DataT, ArcT >::HifstServerTask ( const ucam::util::RegistryPO rg)
inline

Constructor.

Parameters
rgRegistryPO object with all parsed parameters.

Definition at line 485 of file main-run.hifst.hpp.

Member Function Documentation

template<template< class > class DataT, class ArcT >
void ucam::hifst::HifstServerTask< DataT, ArcT >::load ( )
inline

Loads all full models once (grammar, language models, wordmap files). Pointers to these models will be stored in internal data object d_.

Definition at line 492 of file main-run.hifst.hpp.

Here is the call graph for this function:

template<template< class > class DataT, class ArcT >
bool ucam::hifst::HifstServerTask< DataT, ArcT >::operator() ( )
inline

Loads and starts translation system using internal data object containing pointers to loaded models.

Definition at line 525 of file main-run.hifst.hpp.

Here is the call graph for this function:


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