hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
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
utils
reduceHandler
src
TaskReducersManagerFactory.cpp
Generated on Tue Jun 30 2015 19:42:15 for hce-node application by
1.8.1.2