NCBI C++ ToolKit
|
Search Toolkit Book for job_future
#include <gui/utils/job_future.hpp>
Public Member Functions | |
job_future () | |
job_future (IAppJob &job) | |
job_future (job_future &&rhs) | |
job_future & | operator= (job_future &&rhs) |
_Rty & | operator() () |
Public Member Functions inherited from job_future_base | |
job_future_base () | |
job_future_base (IAppJob &job) | |
job_future_base (job_future_base const &)=delete | |
job_future_base & | operator= (job_future_base const &)=delete |
job_future_base (job_future_base &&rhs) | |
job_future_base & | operator= (job_future_base &&rhs) |
virtual | ~job_future_base () |
bool | IsRunning () const |
bool | IsComplete () const |
bool | IsCanceled () const |
void | reset () |
void | cancel () |
virtual void | OnJobResult (CObject *result) |
virtual void | OnJobFailed (const IAppJobError *error) |
virtual void | OnJobCanceled () |
Public Member Functions inherited from CJobFutureAdapter::IJobCallback | |
virtual | ~IJobCallback () |
Additional Inherited Members | |
Protected Types inherited from job_future_base | |
enum | EState { eRunning , eComplete , eUndefined } |
Protected Member Functions inherited from job_future_base | |
void | handle_error () |
Protected Attributes inherited from job_future_base | |
EState | m_State |
bool | m_Canceled = false |
CRef< CJobFutureAdapter > | m_JobAdapter |
CRef< CObject > | m_Result |
CConstRef< CJobFutureError > | m_Error |
Static Protected Attributes inherited from job_future_base | |
static const char * | m_BadJobResponse = "Improper response from job" |
job_future_base More... | |
Definition at line 243 of file job_future.hpp.
|
inline |
Definition at line 246 of file job_future.hpp.
|
inline |
Definition at line 247 of file job_future.hpp.
|
inline |
Definition at line 249 of file job_future.hpp.
_Rty & job_future< _Rty >::operator() | ( | void | ) |
Definition at line 282 of file job_future.hpp.
References result.
|
inline |
Definition at line 251 of file job_future.hpp.