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

Search Toolkit Book for CAsyncCall

Class for GUI asyncronous execition. More...

#include <gui/widgets/wx/async_call.hpp>

+ Collaboration diagram for CAsyncCall:

Classes

class  Call
 

Public Member Functions

 CAsyncCall (Call &call)
 
 ~CAsyncCall ()
 
void Execute ()
 

Static Public Member Functions

static void Execute (Call &call)
 
static bool InsideAsyncCall ()
 

Private Attributes

Callm_Call
 
wxString m_Descr
 
int m_JobId
 

Detailed Description

Class for GUI asyncronous execition.

If async background call takes too much time GBench GUI automatically shows a window to inform the user to wait

Definition at line 60 of file async_call.hpp.

Constructor & Destructor Documentation

◆ CAsyncCall()

CAsyncCall::CAsyncCall ( Call call)

Definition at line 136 of file async_call.cpp.

◆ ~CAsyncCall()

CAsyncCall::~CAsyncCall ( )

Member Function Documentation

◆ Execute() [1/2]

void CAsyncCall::Execute ( void  )

◆ Execute() [2/2]

void CAsyncCall::Execute ( Call call)
static

Definition at line 234 of file async_call.cpp.

References Execute().

◆ InsideAsyncCall()

bool CAsyncCall::InsideAsyncCall ( )
static

Definition at line 143 of file async_call.cpp.

References fInsideAsyncCall.

Referenced by CwxNCBIApp::OnIdle(), and CWorkspaceAutoSaver::x_OnSave().

Member Data Documentation

◆ m_Call

Call& CAsyncCall::m_Call
private

Definition at line 99 of file async_call.hpp.

Referenced by Execute().

◆ m_Descr

wxString CAsyncCall::m_Descr
private

Definition at line 100 of file async_call.hpp.

◆ m_JobId

int CAsyncCall::m_JobId
private

Definition at line 101 of file async_call.hpp.

Referenced by Execute(), and ~CAsyncCall().


The documentation for this class was generated from the following files:
Modified on Wed Apr 24 14:18:24 2024 by modify_doxy.py rev. 669887