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

NCBI C++ ToolKit: include/gui/utils/app_job.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef GUI_OBJUTILS___APP_JOB__HPP 2 #define GUI_OBJUTILS___APP_JOB__HPP

virtual CConstIRef< IAppJobProgress > GetProgress()=0

return progress object, the function shall be synchronized internally.

virtual bool IsCanceled() const =0

virtual string GetText() const =0

returns a text string describing current state

virtual CConstIRef< IAppJobError > GetError()=0

Returns IAppJobError object describing internal error that caused the Job to fail.

virtual void RequestCancel()=0

RequestCancel() is called to notify the Job that it shall exit Run() function ASAP.

virtual string GetText() const =0

returns a string describing the error

virtual CRef< CObject > GetResult()=0

Returns the Job Result.

virtual bool IsUserLevel() const =0

EJobState

Job states (describe FSM)

virtual string GetDescr() const =0

Returns a human readable description of the Job (optional)

virtual ~IAppJobProgress()

virtual EJobState Run()=0

Function that does all the useful work, called by the Engine.

virtual float GetNormDone() const =0

return a number indicating the progress(0.0 - just started, 1.0 - done)

virtual bool BeforeRun()

Function will be called on the main thread before execution of Run Should not do any lengthy work ret...

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

#define NCBI_GUIOBJUTILS_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