HCE project C++ developers source code library
1.1.1
HCE project developer library
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
TaskReducersManagerFactory.cpp
Go to the documentation of this file.
1
#include "
TaskReducersManagerFactory.hpp
"
2
3
namespace
HCE{
4
namespace
reduce{
5
6
TaskReducersManagerFactory::TaskReducersManagerFactory
(){}
7
8
TaskReducersManagerFactory::~TaskReducersManagerFactory
(){}
9
10
Poco::SharedPtr<additions::TaskReducersManagerIf>
TaskReducersManagerFactory::
11
build
(
types::MessageType
managerType)
12
{
13
switch
(managerType){
14
15
case
types::MessageType::mtSphinx:
16
return
sphinxTaskReducersManagerFactory.
build
();
17
18
case
types::MessageType::mtDrce:
19
return
drceTaskReducersManagerFactory.
build
();
20
21
default
:
22
throw
HCE::reduce::NotFoundByKeyException
(
"TaskReducersManagerFactory, require to build "
+
23
std::to_string(static_cast<int>(managerType)) +
" managerType"
);
24
}
25
}
26
27
}
28
}
sources
reduceHandler
src
TaskReducersManagerFactory.cpp
Generated on Mon Jan 13 2014 13:08:38 for HCE project C++ developers source code library by
1.8.1.2