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/app__job__task_8hpp_source.html below:

NCBI C++ ToolKit: include/gui/framework/app_job_task.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef GUI_FRAMEWORK___APP_JOB_TASK__HPP 2 #define GUI_FRAMEWORK___APP_JOB_TASK__HPP 74  int

prog_rep_period = 5,

75  const string

& engine_name =

"ThreadPool"

,

76  int

display_delay = 0);

81  int

prog_rep_period = 5,

82  const string

& engine_name =

"ThreadPool"

,

83  int

display_delay = 0);

87  void

SetReportErrors(

bool

report);

99  void

OnAppJobNotification(

CEvent

* event);

100  void

OnAppJobProgress(

CEvent

* event);

111  virtual void

x_ReportError();

CAppJobTask CAppJobTask is an adapter that allows for running IAppJobs as Tasks in App Task Service.

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

virtual ETaskState Run()

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

virtual void CancelBackgrounded()

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

virtual string GetStatusText() const

returns human-readable text describing the current task state

CEvent - generic event implementation TODO TODO - Attachments.

CAppJobDispatcher::TJobID TJobID

TOnAppJobProgressCallback m_OnAppJobProgress

std::function< void(const IAppJobProgress &)> TOnAppJobProgressCallback

void OnAppJobDataReady(CEvent *event)

ETaskState

List of task states defining the task management FSM.

int m_ProgressReportPeriod

void x_SetOnAppJobProgress(TOnAppJobProgressCallback callback)

IAppJob::EJobState m_JobState

EJobState

Job states (describe FSM)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GUIFRAMEWORK_EXPORT

Defines to provide correct exporting from DLLs in Windows.

Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.


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