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

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

1 #ifndef GUI_FRAMEWORK___COMPOSITE_APP_TASK__HPP 2 #define GUI_FRAMEWORK___COMPOSITE_APP_TASK__HPP 56  CAppTask

(

const string

& descr =

kEmptyStr

,

bool

visible =

true

,

int

display_delay = 0);

78  virtual bool

x_IsFiniteState();

113  void

OnTaskEvent(

CEvent

* event);

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

int m_DisplayDelay

tasks display delay

CEventHandler * m_Listener

const bool m_Visible

indicates whether the task is visible

string m_Descr

task description

CCompositeAppTask - an application task that consists of subtasks.

virtual TTaskRef x_NextSubTask()=0

prepares the next subtask (makes it current), this function is used for iterating subtasks.

CIRef< IAppTask > TTaskRef

CCompositeAppTask(const string &descr=kEmptyStr, bool visible=true)

virtual TTaskRef x_GetCurrentSubTask()=0

returns a references to the current subtask

CEvent - generic event implementation TODO TODO - Attachments.

void(*)(CSeq_entry_Handle seh, IWorkbench *wb, const CSerialObject &obj) handler

virtual void CancelBackgrounded()=0

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

virtual int GetStatusDisplayDelay()=0

returns delay in seconds used for certain fast (and not very important tasks) to only show its status...

virtual string GetStatusText() const =0

returns human-readable text describing the current task state

virtual void SetListener(CEventHandler *handler)=0

set a Listener; this allows a taks running in background to notify the Listener (usually Task Manager...

virtual ETaskState GetState()=0

returns the current task state

ETaskState

List of task states defining the task management FSM.

virtual void OnCancel()=0

this will be called on pending tasks that will be removed from the queue and won't get a chance to ru...

virtual string GetDescr() const =0

returns a human-readable description of the Task (optional)

virtual bool IsVisible()=0

returns true if the task should be visible in UI visible task shall represent operations understood b...

virtual IEventLogAction * CreateEventLogAction()=0

returns an action for activating task results (optional, can return NULL)

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

void Run(void)

Enter the main loop.

#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