NCBI C++ ToolKit
|
Search Toolkit Book for CAsyncCallDlg
Public Member Functions | |
CAsyncCallDlg (wxWindow *parent, CAsyncCall::Call &call, int jobId) | |
bool | Create (wxWindow *parent) |
void | CreateControls () |
void | OnTimer (wxTimerEvent &event) |
void | OnCancelClick (wxCommandEvent &event) |
Private Types | |
enum | { ID_STATIC_TEXT = 10001 , ID_PROGRESS_IND , ID_BUTTON_CANCEL } |
Private Attributes | |
CAsyncCall::Call & | m_Call |
int | m_JobId |
wxTimer | m_Timer |
CIndProgressBar * | m_ProgressInd |
wxButton * | m_CancelBtn |
Definition at line 63 of file async_call.cpp.
|
private |
Enumerator | |
---|---|
ID_STATIC_TEXT | |
ID_PROGRESS_IND | |
ID_BUTTON_CANCEL |
Definition at line 81 of file async_call.cpp.
CAsyncCallDlg::CAsyncCallDlg | ( | wxWindow * | parent, |
CAsyncCall::Call & | call, | ||
int | jobId | ||
) |
Definition at line 252 of file async_call.cpp.
bool CAsyncCallDlg::Create | ( | wxWindow * | parent | ) |
Definition at line 258 of file async_call.cpp.
References CreateControls(), GetScreenRect(), m_Timer, wxID_ANY, and wxT.
void CAsyncCallDlg::CreateControls | ( | ) |
Definition at line 283 of file async_call.cpp.
References _, CAsyncCall::Call::GetDescr(), ID_BUTTON_CANCEL, ID_PROGRESS_IND, ID_STATIC_TEXT, CAsyncCall::Call::IsCancalable(), m_Call, m_CancelBtn, and m_ProgressInd.
Referenced by Create().
void CAsyncCallDlg::OnCancelClick | ( | wxCommandEvent & | event | ) |
Definition at line 334 of file async_call.cpp.
References CAppJobDispatcher::CancelJob(), CAppJobDispatcher::GetInstance(), ID_BUTTON_CANCEL, and m_JobId.
void CAsyncCallDlg::OnTimer | ( | wxTimerEvent & | event | ) |
Definition at line 309 of file async_call.cpp.
References IAppJob::eRunning, IAppJob::eSuspended, CAppJobDispatcher::GetInstance(), CAppJobDispatcher::GetJobState(), CAsyncCall::Call::IsCancalable(), m_Call, m_CancelBtn, m_JobId, m_ProgressInd, m_Timer, and ncbi::grid::netcache::search::fields::size.
|
private |
Definition at line 76 of file async_call.cpp.
Referenced by CreateControls(), and OnTimer().
|
private |
Definition at line 88 of file async_call.cpp.
Referenced by CreateControls(), and OnTimer().
|
private |
Definition at line 77 of file async_call.cpp.
Referenced by OnCancelClick(), and OnTimer().
|
private |
Definition at line 87 of file async_call.cpp.
Referenced by CreateControls(), and OnTimer().
|
private |
Definition at line 79 of file async_call.cpp.