NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
CJobHandler Class Reference

Search Toolkit Book for CJobHandler

#include <gui/utils/job_future.hpp>

Public Member Functions

void AddJob (async_job *job)
bool Process ()

Static Public Member Functions

static CJobHandlerInstance ()

Private Member Functions

void x_RemoveJob (async_job *job)
 CJobHandler ()

Private Attributes

list< async_job * > m_Jobs


class async_job

Detailed Description

Definition at line 450 of file job_future.hpp.

Constructor & Destructor Documentation

◆ CJobHandler()

CJobHandler::CJobHandler ( )

Definition at line 461 of file job_future.hpp.

Member Function Documentation

◆ AddJob()

void CJobHandler::AddJob ( async_job job)

Definition at line 456 of file job_future.hpp.

References m_Jobs.

Referenced by job_async().

◆ Instance()

CJobHandler & CJobHandler::Instance ( void  )

Definition at line 198 of file job_future.cpp.

Referenced by job_async(), CwxNCBIApp::OnIdle(), and async_job::~async_job().

◆ Process()

bool CJobHandler::Process ( void  )

Definition at line 204 of file job_future.cpp.

References m_Jobs.

◆ x_RemoveJob()

void CJobHandler::x_RemoveJob ( async_job job)

Definition at line 460 of file job_future.hpp.

References m_Jobs.

Referenced by async_job::~async_job().

Friends And Related Function Documentation

◆ async_job

friend class async_job

Definition at line 452 of file job_future.hpp.

Member Data Documentation

◆ m_Jobs

list<async_job*> CJobHandler::m_Jobs

Definition at line 463 of file job_future.hpp.

Referenced by AddJob(), Process(), and x_RemoveJob().

The documentation for this class was generated from the following files:
Modified on Wed Apr 17 13:10:06 2024 by rev. 669887