NCBI C++ ToolKit
Public Member Functions | Private Member Functions | Private Attributes | List of all members
async_job_impl< _Fty, _Rty > Class Template Reference

Search Toolkit Book for async_job_impl

#include <gui/utils/job_future.hpp>

+ Inheritance diagram for async_job_impl< _Fty, _Rty >:
+ Collaboration diagram for async_job_impl< _Fty, _Rty >:

Public Member Functions

 async_job_impl (const _Fty &_Fnres, job_future< _Rty > &&_future)
 
virtual bool running ()
 
virtual void cancel ()
 
- Public Member Functions inherited from async_job
virtual ~async_job ()
 

Private Member Functions

virtual bool complete ()
 
virtual bool canceled ()
 

Private Attributes

_Fty fnres
 
job_future< _Rty > future
 

Detailed Description

template<class _Fty, typename _Rty>
class async_job_impl< _Fty, _Rty >

Definition at line 467 of file job_future.hpp.

Constructor & Destructor Documentation

◆ async_job_impl()

template<class _Fty , typename _Rty >
async_job_impl< _Fty, _Rty >::async_job_impl ( const _Fty &  _Fnres,
job_future< _Rty > &&  _future 
)
inline

Definition at line 470 of file job_future.hpp.

Member Function Documentation

◆ cancel()

template<class _Fty , typename _Rty >
virtual void async_job_impl< _Fty, _Rty >::cancel ( )
inlinevirtual

Implements async_job.

Definition at line 474 of file job_future.hpp.

References async_job_impl< _Fty, _Rty >::future.

◆ canceled()

template<class _Fty , typename _Rty >
virtual bool async_job_impl< _Fty, _Rty >::canceled ( )
inlineprivatevirtual

Implements async_job.

Definition at line 486 of file job_future.hpp.

References async_job_impl< _Fty, _Rty >::future.

◆ complete()

template<class _Fty , typename _Rty >
virtual bool async_job_impl< _Fty, _Rty >::complete ( )
inlineprivatevirtual

◆ running()

template<class _Fty , typename _Rty >
virtual bool async_job_impl< _Fty, _Rty >::running ( )
inlinevirtual

Implements async_job.

Definition at line 473 of file job_future.hpp.

References async_job_impl< _Fty, _Rty >::future.

Member Data Documentation

◆ fnres

template<class _Fty , typename _Rty >
_Fty async_job_impl< _Fty, _Rty >::fnres
private

Definition at line 488 of file job_future.hpp.

Referenced by async_job_impl< _Fty, _Rty >::complete().

◆ future

template<class _Fty , typename _Rty >
job_future<_Rty> async_job_impl< _Fty, _Rty >::future
private

The documentation for this class was generated from the following file:
Modified on Wed Apr 17 13:08:52 2024 by modify_doxy.py rev. 669887