A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/job__ui__task_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/framework/job_ui_task.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

CAppTask - default implementation of IAppTask, use it as a base class for custom tasks.

CEventHandler * m_Listener

virtual string GetStatusText() const

returns human-readable text describing the current task state

virtual void CancelBackgrounded()

make a request to cancel backgrounded task (not called for foreground tasks)

ETaskState

List of task states defining the task management FSM.

CAppJobDispatcher::TJobID m_JobID

virtual ETaskState Run()

execute the task, this function is called on the main UI thread if a task needs to execute in backgro...

void OnTimer(wxTimerEvent &event)

@ eCanceled

canceled by Task Manager

@ eBackgrounded

task is executing in background

@ eFailed

failed during execution

@ eCompleted

successfully finished

@ eInitial

has not been executed yet

static CAppJobDispatcher & GetInstance()

void Post(CRef< CEvent > evt, EDispatch disp_how=eDispatch_Default, int pool_name=ePool_Default)

Handles an event asynchronously (process and/or dispatch).

void CancelJob(TJobID job_id)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.


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