112 , m_UserLevel( user_level )
CAppJobProgress Default implementation for IAppJobProgress - the class encapsulates a text message an...
virtual bool IsUserLevel() const override
CRef< CAppJobError > m_Error
CGuiRWLock m_Lock
MT sync.lock.
virtual float GetNormDone() const override
return a number indicating the progress(0.0 - just started, 1.0 - done)
CAppJobProgress & operator=(const CAppJobProgress &progress)
string m_Descr
mutex to sync our internals
virtual void x_ResetState()
CAppJobTextResult(const string &text)
CAppJobTextResult.
virtual CConstIRef< IAppJobProgress > GetProgress() override
implement Run() in derived classes, make sure that exceptions are handled and m_StopRequested flag is...
virtual string GetText() const override
returns a string describing the error
virtual void x_SetStatusText(const string &text)
virtual CConstIRef< IAppJobError > GetError() override
Returns IAppJobError object describing internal error that caused the Job to fail.
string m_Status
Current status of the Job.
CAppJobProgress()
CAppJobProgress.
void x_CopyFrom(const CAppJobProgress &progress)
copy constructor, assignment implementation
virtual string GetDescr() const override
Returns a human readable description of the Job (optional)
virtual string GetText() const
CAppJob(const string &descr="AppJob")
CAppJob.
virtual string GetText() const override
returns a text string describing current state
CAppJobError(const string &text, bool user_level=false)
CAppJobError.
virtual CRef< CObject > GetResult() override
Returns the Job Result.
void SetNormDone(float done)
void SetText(const string &text)
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.
static void text(MDB_val *v)