NCBI C++ ToolKit
Macros | Functions | Variables
app_task_impl.cpp File Reference
#include <ncbi_pch.hpp>
#include <gui/framework/app_task_impl.hpp>
#include <gui/framework/app_task_service.hpp>
#include <gui/utils/app_job_impl.hpp>
#include <gui/utils/event_translator.hpp>
+ Include dependency graph for app_task_impl.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Macros

#define TASK_CATCH_AND_REPORT(message, task)
 

Functions

 ON_EVENT_RANGE (CAppTaskServiceEvent, CAppTaskServiceEvent::eWakeUpSignal, CAppTaskServiceEvent::eTaskCanceled, &CCompositeAppTask::OnTaskEvent) CCompositeAppTask
 CCompositeAppTask. More...
 

Variables

static const char * kChildFailed
 

Macro Definition Documentation

◆ TASK_CATCH_AND_REPORT

#define TASK_CATCH_AND_REPORT (   message,
  task 
)
Value:
catch (CException& e) { \
ERR_POST(message << task.GetDescr()); \
ERR_POST(e.ReportAll()); \
} catch (std::exception& ee) { \
ERR_POST(message << task.GetDescr() << ee.what()); \
}
string ReportAll(TDiagPostFlags flags=eDPF_Exception) const
Report all exceptions.
Definition: ncbiexpt.cpp:370

Definition at line 44 of file app_task_impl.cpp.

Function Documentation

◆ ON_EVENT_RANGE()

CCompositeAppTask.

Definition at line 185 of file app_task_impl.cpp.

Variable Documentation

◆ kChildFailed

const char* kChildFailed
static
Initial value:
=
"CAppTask - unexpected exception while executing a child task."

Definition at line 64 of file app_task_impl.cpp.

Referenced by CAppTask::Run(), and CCompositeAppTask::Run().

Modified on Wed Jun 12 11:11:06 2024 by modify_doxy.py rev. 669887