highlighter application  1.1
HCE project utils : highlighter
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
TaskWaitObjectWrapper.cpp
Go to the documentation of this file.
3 
4 namespace HCE
5 {
6 // cppcheck-suppress unusedFunction
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 }