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

NCBI C++ ToolKit: src/gui/packages/pkg_sequence_edit/edit_job.cpp Source File

45 #include <wx/dirdlg.h> 72  static const char

* kLogMsg =

"CEditAppJob::Run() - exception in x_Run() "

;

86

}

catch

(std::exception& ee) {

87

err_msg = kLogMsg +

GetDescr

() +

". "

+ ee.what();

93  if

(err_msg.empty()) {

User-defined methods of the data storage class.

User-defined methods of the data storage class.

User-defined methods of the data storage class.

User-defined methods of the data storage class.

CAppJobError Default implementation for IAppJobError - encapsulates a text error message.

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

CAppJobTextResult Default implementation for result object - encapsulates a text error message.

string m_Descr

task description

CEditAppJob - a base class for Jobs modifying existing data in projects.

virtual void x_ResetState()

prepares job for execution by clearing state variables

CProjectService * GetProjectService()

virtual CRef< CObject > GetResult()

Returns the Job Result.

virtual void x_MakeChanges()=0

override this function in derived classes, populate m_TextResult

virtual EJobState Run()

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

CIRef< CProjectService > m_Service

CEditAppJob(CProjectService *service)

constructor for derived classes

CEditAppTask(CEditAppJob &job, const string &descr=kEmptyStr)

CEditAppTask.

virtual ETaskState Run()

we override this function because our logic is a bit more complex than one implemented in CAppJobTask...

CProjectService - a service providing API for operations with Workspaces and Projects.

#define LOG_POST(message)

This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...

void Error(CExceptionArgs_Base &args)

const string & GetMsg(void) const

Get message string.

string ReportAll(TDiagPostFlags flags=eDPF_Exception) const

Report all exceptions.

void Info(CExceptionArgs_Base &args)

CIRef< IAppJob > GetJob()

ETaskState

List of task states defining the task management FSM.

virtual ETaskState Run()

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

@ eCompleted

successfully finished

CRef< CAppJobError > m_Error

string m_Descr

mutex to sync our internals

EJobState

Job states (describe FSM)

string m_Status

Current status of the Job.

virtual string GetDescr() const override

Returns a human readable description of the Job (optional)

TObjectType * GetPointer(void) THROWS_NONE

Get pointer,.

void Reset(void)

Reset reference object.

#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