NCBI C++ ToolKit
Classes | Functions
job_future.hpp File Reference
#include <gui/gui_export.h>
#include <corelib/ncbiobj.hpp>
#include <gui/utils/event_handler.hpp>
#include <gui/utils/app_job_dispatcher.hpp>
#include <gui/utils/app_job_impl.hpp>
+ Include dependency graph for job_future.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CJobFutureAdapter
 Here is set of classes to implement launching jobs (to execute code on a worker thread using C++ Toolkit thread pool implementation) This code mimics (not exactly) STL async/future concept (delayed function call). More...
 
class  CJobFutureAdapter::IJobCallback
 
class  CJobFutureError
 
class  job_future_base
 
class  job_future< _Rty >
 
class  CJobFutureResult
 
class  CJobFutureResultRet< T >
 
class  job_future< void >
 
class  CJobFutureJobBase
 
class  CJobFutureJob< _Fty, _Rty >
 
class  CJobFutureJob< _Fty, void >
 
struct  job_function_traits< _Fty >
 
class  async_job
 
class  CJobHandler
 
class  async_job_impl< _Fty, _Rty >
 

Functions

template<class _Fty >
job_function_traits< _Fty >::future job_async (const _Fty &_Fnarg, const string &descr)
 
template<class _Fty , class _Fty2 >
async_jobjob_async (const _Fty &_Fnarg, const _Fty2 &_Fnarg2, const string &descr)
 

Function Documentation

◆ job_async() [1/2]

template<class _Fty , class _Fty2 >
async_job* job_async ( const _Fty &  _Fnarg,
const _Fty2 &  _Fnarg2,
const string descr 
)

Definition at line 493 of file job_future.hpp.

References CJobHandler::AddJob(), CJobHandler::Instance(), and job_async().

◆ job_async() [2/2]

template<class _Fty >
job_function_traits<_Fty>::future job_async ( const _Fty &  _Fnarg,
const string descr 
)
Modified on Fri Sep 20 14:57:00 2024 by modify_doxy.py rev. 669887