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
TaskWaitObjectWrapper.cpp
Go to the documentation of this file.
1
#include "
TaskWaitObjectWrapper.hpp
"
2
#include "
TaskComponentException.hpp
"
3
4
namespace
HCE
5
{
6
// cppcheck-suppress unusedFunction
7
void
TaskWaitObjectWrapper::runTask
()
8
{
9
if
(!
task
.isNull())
10
{
11
if
(!
componentPtr
.isNull())
12
{
13
try
14
{
15
task
->setOutData(
componentPtr
->process(
task
->getInData()),
HCECTE_DEFAULT
, NULL);
16
}
17
catch
(
ComponentExceptionBase
&exp)
18
{
19
task
->setOutData(NULL,
HCECTE_COMPONENT_EXP
, Poco::SharedPtr<ComponentExceptionBase>(
new
ComponentExceptionBase
(exp)));
20
}
21
catch
(
ExceptionBase
&exp)
22
{
23
task
->setOutData(NULL,
HCECTE_EXP_BASE
, NULL);
24
}
25
}
26
else
27
{
28
task
->setOutData(NULL,
HCECTE_EXP1
, NULL);
29
}
30
}
31
if
(!
componentPtr
.isNull())
32
{
33
componentPtr
->setIsBusy(
false
);
34
}
35
}
36
}
sources
utils
HCECSM
src
TaskWaitObjectWrapper.cpp
Generated on Tue Jun 30 2015 19:42:13 for hce-node application by
1.8.1.2