Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCBuildAlnVecJob.html below:
NCBI C++ ToolKit: CBuildAlnVecJob Class Reference
Search Toolkit Book for CBuildAlnVecJob
CBuildAlnVecJob. More...
#include <gui/widgets/aln_multiple/build_alnvec_job.hpp>
CBuildAlnVecJob (const TAligns &aligns, objects::CScope &scope, bool select_anchor=false) CBuildAlnVecJob. More...
virtual ~CBuildAlnVecJob () virtual void Build () virtual EJobState Run () Function that does all the useful work, called by the Engine. More...
virtual CConstIRef< IAppJobProgress > GetProgress () return progress object, the function shall be synchronized internally. More...
virtual CRef< CObject > GetResult () Returns the Job Result. More...
virtual CConstIRef< IAppJobError > GetError () Returns IAppJobError object describing internal error that caused the Job to fail. More...
virtual string GetDescr () const Returns a human readable description of the Job (optional) More...
virtual void SetTaskName (const string &name) virtual void SetTaskCompleted (int completed) virtual void SetTaskTotal (int total) virtual bool InterruptTask () CJobCancelable () void SetDataLocker (ILocker *locker) virtual void RequestCancel () override RequestCancel() is called to notify the Job that it shall exit Run() function ASAP. More...
virtual bool IsCanceled () const override CObject (void) Constructor. More...
CObject (const CObject &src) Copy constructor. More...
virtual ~CObject (void) Destructor. More...
CObject & operator= (const CObject &src) THROWS_NONE Assignment operator. More...
bool CanBeDeleted (void) const THROWS_NONE Check if object can be deleted. More...
bool IsAllocatedInPool (void) const THROWS_NONE Check if object is allocated in memory pool (not system heap) More...
bool Referenced (void) const THROWS_NONE Check if object is referenced. More...
bool ReferencedOnlyOnce (void) const THROWS_NONE Check if object is referenced only once. More...
void AddReference (void) const Add reference to object. More...
void RemoveReference (void) const Remove reference to object. More...
void ReleaseReference (void) const Remove reference without deleting object. More...
virtual void DoNotDeleteThisObject (void) Mark this object as not allocated in heap – do not delete this object. More...
virtual void DoDeleteThisObject (void) Mark this object as allocated in heap – object can be deleted. More...
void * operator new (size_t size) Define new operator for memory allocation. More...
void * operator new[] (size_t size) Define new[] operator for 'array' memory allocation. More...
void operator delete (void *ptr) Define delete operator for memory deallocation. More...
void operator delete[] (void *ptr) Define delete[] operator for memory deallocation. More...
void * operator new (size_t size, void *place) Define new operator. More...
void operator delete (void *ptr, void *place) Define delete operator. More...
void * operator new (size_t size, CObjectMemoryPool *place) Define new operator using memory pool. More...
void operator delete (void *ptr, CObjectMemoryPool *place) Define delete operator. More...
virtual void DebugDump (CDebugDumpContext ddc, unsigned int depth) const Define method for dumping debug information. More...
CDebugDumpable (void) virtual ~CDebugDumpable (void) void DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const void DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const void DumpToConsole (void) const virtual ~IAppJob () virtual bool BeforeRun () Function will be called on the main thread before execution of Run Should not do any lengthy work returns true to continue job execution on worker thread false to quit execution with status - failed. More...
virtual ~ITaskProgressCallback () ◆ TAligns ◆ CBuildAlnVecJob() CBuildAlnVecJob::CBuildAlnVecJob ( const TAligns & aligns, objects::CScope & scope, bool select_anchor = false
) ◆ ~CBuildAlnVecJob() ◆ Build() void CBuildAlnVecJob::Build ( ) virtual
Definition at line 364 of file build_alnvec_job.cpp.
References CAlnMix::Add(), ConstRef(), CAlnMix::fGapJoin, CAlnVec::GetBioseqHandle(), CAlnMix::GetDenseg(), CAlnMap::GetNumRows(), CAlnMix::GetScope(), CAlnMap::GetSegType(), CAlnMap::GetSeqId(), i, int, CJobCancelable::IsCanceled(), m_Aligns, CBuildAlnVecResult::m_AlnVec, m_Mutex, m_Result, m_Scope, m_SelectAnchor, m_TaskName, m_TaskTotal, CSeq_id::Match(), CAlnMix::Merge(), CRef< C, Locker >::Reset(), CConstRef< C, Locker >::Reset(), row, SetTaskCompleted(), SetTaskName(), CTaskProgressReporter::SetTaskProgressCallback(), SetTaskTotal(), and swap().
Referenced by Run().
◆ GetDescr() string CBuildAlnVecJob::GetDescr ( ) const virtual ◆ GetError() ◆ GetProgress() ◆ GetResult() ◆ InterruptTask() bool CBuildAlnVecJob::InterruptTask ( ) virtual ◆ Run()
Function that does all the useful work, called by the Engine.
Run() shall be implemented so that it will allow for exiting once RequestCancel() is called.
Implements IAppJob.
Definition at line 241 of file build_alnvec_job.cpp.
References Build(), IAppJob::eCanceled, IAppJob::eCompleted, CAlnException::eConsensusNotPresent, IAppJob::eFailed, CAlnException::eInvalidRequest, CAlnException::eInvalidSeqId, CAlnException::eMergeFailure, Error(), CAlnException::eTranslateFailure, CAlnException::eUnknownMergeFailure, GetDescr(), CException::GetMsg(), CJobCancelable::IsCanceled(), LOG_POST, m_Error, m_Result, CException::ReportAll(), CRef< C, Locker >::Reset(), Warning(), and CException::what().
◆ SetTaskCompleted() void CBuildAlnVecJob::SetTaskCompleted ( int completed ) virtual ◆ SetTaskName() void CBuildAlnVecJob::SetTaskName ( const string & name ) virtual ◆ SetTaskTotal() void CBuildAlnVecJob::SetTaskTotal ( int total ) virtual ◆ m_Aligns ◆ m_Descr string CBuildAlnVecJob::m_Descr protected ◆ m_Error ◆ m_Mutex ◆ m_Result ◆ m_Scope CRef<objects::CScope> CBuildAlnVecJob::m_Scope protected ◆ m_SelectAnchor ◆ m_TaskCompleted int CBuildAlnVecJob::m_TaskCompleted protected ◆ m_TaskName string CBuildAlnVecJob::m_TaskName protected ◆ m_TaskTotal int CBuildAlnVecJob::m_TaskTotal protected
The documentation for this class was generated from the following files:
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