NCBI C++ ToolKit
Public Member Functions | List of all members
job_future< void > Class Reference

Search Toolkit Book for job_future_3_01void_01_4

#include <gui/utils/job_future.hpp>

+ Inheritance diagram for job_future< void >:
+ Collaboration diagram for job_future< void >:

Public Member Functions

 job_future ()
 
 job_future (IAppJob &job)
 
 job_future (job_future &&rhs)
 
job_futureoperator= (job_future &&rhs)
 
void 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_baseoperator= (job_future_base const &)=delete
 
 job_future_base (job_future_base &&rhs)
 
job_future_baseoperator= (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< CJobFutureAdapterm_JobAdapter
 
CRef< CObjectm_Result
 
CConstRef< CJobFutureErrorm_Error
 
- Static Protected Attributes inherited from job_future_base
static const char * m_BadJobResponse = "Improper response from job"
 job_future_base More...
 

Detailed Description

Definition at line 295 of file job_future.hpp.

Constructor & Destructor Documentation

◆ job_future() [1/3]

job_future< void >::job_future ( )
inline

Definition at line 298 of file job_future.hpp.

◆ job_future() [2/3]

job_future< void >::job_future ( IAppJob job)
inline

Definition at line 299 of file job_future.hpp.

◆ job_future() [3/3]

job_future< void >::job_future ( job_future< void > &&  rhs)
inline

Definition at line 301 of file job_future.hpp.

Member Function Documentation

◆ operator()()

void job_future< void >::operator() ( void  )

◆ operator=()

job_future& job_future< void >::operator= ( job_future< void > &&  rhs)
inline

Definition at line 303 of file job_future.hpp.

References job_future_base::operator=().


The documentation for this class was generated from the following files:
Modified on Mon Apr 22 04:04:16 2024 by modify_doxy.py rev. 669887