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
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
HCECSM
src
TaskWaitObjectWrapper.cpp
Generated on Mon Jan 13 2014 13:08:37 for HCE project C++ developers source code library by
1.8.1.2