Go to the SVN repository for this file.
1 #ifndef GUI_FRAMEWORK___APP_TASK_SERVICE__HPP 2 #define GUI_FRAMEWORK___APP_TASK_SERVICE__HPP 90: m_StartTime(
CTime(
CTime::eCurrent).GetTimeT())
112 voidPreShutDownService();
136 boolCancelTask(
IAppTask& task,
boolthrow_on_error=
true);
144 voidGetBackgroundedTasks(
TRecRefVec& tasks);
147 intGetRunningTasksCount(
boolvis_only =
true);
150 voidx_OnWakeUpSignal(
CEvent* event);
151 voidx_OnTaskCanceled(
CEvent* event);
152 voidx_OnStatusUpdate(
CEvent* event);
154 voidx_ExecuteNextTaskInQueue();
157 const string& prefix,
IAppTask& task,
158 const string& postfix,
const string& details =
kEmptyStr);
160 voidx_ReportTaskFailure(
IAppTask& task,
const string& err_msg,
const string& details);
196:
CEvent(eEvent_Message,
type), m_Task(&task) {}
CAppTaskServiceException.
CAppTaskService - Application Task Service.
CEvent - generic event implementation TODO TODO - Attachments.
IEventLogService - records application events.
IServiceLocatorConsumer - classes that need IServiceLocator should implement this interface.
IServiceLocator - an abstract mechanism for locating services.
IService an abstraction that represents an application component providing specific functional capa...
Include a standard set of the NCBI C++ Toolkit most basic headers.
#define EXCEPTION_VIRTUAL_BASE
Do not use virtual base classes in exception declaration at all, because in this case derived class s...
CAppTaskServiceGuiUpdateEvent()
IEventLogService * m_EventLogService
TRecordMap m_BackgoundedTasks
CAppTaskServiceEvent(IAppTask &task, EType type)
CIRef< IAppTask > TTaskRef
IAppTask::ETaskState TTaskState
vector< TRecordRef > TRecRefVec
ETaskState
List of task states defining the task management FSM.
CRef< CTaskRecord > TRecordRef
virtual void SetServiceLocator(IServiceLocator *locator)=0
virtual void InitService()=0
vector< TTaskRef > TTaskRefVec
CSyncQueue< TRecordRef > TQueue
virtual void ShutDownService()=0
IServiceLocator * m_ServiceLocator
CIRef< IAppTask > GetTask()
map< TTaskRef, TRecordRef > TRecordMap
NCBI_EXCEPTION_DEFAULT(CAppTaskServiceException, CException)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIFRAMEWORK_EXPORT
Definition of synchronized queue (CSyncQueue template) and templates related to it.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4