NCBI C++ ToolKit
Public Member Functions | Private Attributes | List of all members
CAsyncCall::Call Class Referenceabstract

Search Toolkit Book for CAsyncCall::Call

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

+ Inheritance diagram for CAsyncCall::Call:
+ Collaboration diagram for CAsyncCall::Call:

Public Member Functions

 Call (const wxString &descr)
 
 Call ()
 
virtual ~Call ()
 
wxString GetDescr () const
 
virtual void Execute ()=0
 
void RequestCancel ()
 
bool IsCancalable () const
 
virtual bool IsCanceled () const
 
- Public Member Functions inherited from ICanceled
virtual ~ICanceled ()
 

Private Attributes

wxString m_Descr
 
CAtomicCounter_WithAutoInit m_Canceled
 
CAtomicCounter_WithAutoInit m_Cancelable
 

Detailed Description

Definition at line 63 of file async_call.hpp.

Constructor & Destructor Documentation

◆ Call() [1/2]

CAsyncCall::Call::Call ( const wxString &  descr)
inline

Definition at line 66 of file async_call.hpp.

◆ Call() [2/2]

CAsyncCall::Call::Call ( )
inline

Definition at line 67 of file async_call.hpp.

◆ ~Call()

virtual CAsyncCall::Call::~Call ( )
inlinevirtual

Definition at line 68 of file async_call.hpp.

Member Function Documentation

◆ Execute()

virtual void CAsyncCall::Call::Execute ( )
pure virtual

◆ GetDescr()

wxString CAsyncCall::Call::GetDescr ( void  ) const
inline

Definition at line 70 of file async_call.hpp.

References m_Descr.

Referenced by CAsyncCallDlg::CreateControls().

◆ IsCancalable()

bool CAsyncCall::Call::IsCancalable ( ) const
inline

Definition at line 75 of file async_call.hpp.

References CAtomicCounter::Get(), and m_Cancelable.

Referenced by CAsyncCallDlg::CreateControls(), and CAsyncCallDlg::OnTimer().

◆ IsCanceled()

virtual bool CAsyncCall::Call::IsCanceled ( void  ) const
inlinevirtual

Implements ICanceled.

Definition at line 78 of file async_call.hpp.

References CAtomicCounter::Get(), m_Cancelable, m_Canceled, and CAtomicCounter::Set().

Referenced by CExecJob::IsCanceled().

◆ RequestCancel()

void CAsyncCall::Call::RequestCancel ( )
inline

Definition at line 74 of file async_call.hpp.

References m_Canceled, and CAtomicCounter::Set().

Referenced by CExecJob::RequestCancel().

Member Data Documentation

◆ m_Cancelable

CAtomicCounter_WithAutoInit CAsyncCall::Call::m_Cancelable
mutableprivate

Definition at line 87 of file async_call.hpp.

Referenced by IsCancalable(), and IsCanceled().

◆ m_Canceled

CAtomicCounter_WithAutoInit CAsyncCall::Call::m_Canceled
private

Definition at line 86 of file async_call.hpp.

Referenced by IsCanceled(), and RequestCancel().

◆ m_Descr

wxString CAsyncCall::Call::m_Descr
private

Definition at line 84 of file async_call.hpp.

Referenced by GetDescr().


The documentation for this class was generated from the following file:
Modified on Fri May 24 14:51:43 2024 by modify_doxy.py rev. 669887