NCBI C++ ToolKit
|
#include <gui/gui.hpp>
#include <corelib/ncbiobj.hpp>
#include <corelib/ncbicntr.hpp>
#include <util/icanceled.hpp>
#include <gui/utils/execute_unit.hpp>
#include <gui/utils/job_future.hpp>
#include <gui/widgets/wx/fixed_base.hpp>
#include <wx/string.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
class | CAsyncCall |
Class for GUI asyncronous execition. More... | |
class | CAsyncCall::Call |
class | CLocalAsyncCallBind< _Fty, _Rty > |
class | CLocalAsyncCallBind< _Fty, void > |
Functions | |
template<class _Fty > | |
std::invoke_result< _Fty, ICanceled & >::type | GUI_AsyncExec (_Fty &&_Fnarg, const wxString &msg=wxT("Accessing network...")) |
void | GUI_AsyncJoinFuture (const job_future_base &future, const string &msg) |
bool | GUI_AsyncExecUnit (IExecuteUnit &exec_unit, const wxString &msg) |
std::invoke_result<_Fty, ICanceled&>::type GUI_AsyncExec | ( | _Fty && | _Fnarg, |
const wxString & | msg = wxT("Accessing network...") |
||
) |
Definition at line 130 of file async_call.hpp.
References CAsyncCall::Execute(), f, msg(), and type.
Referenced by AsyncConvertObjects(), CMSAToolJob::BeforeRun(), CWorkspaceAutoSaver::CheckCrash(), CDesktopCanvas::FindText(), CTextItemPanel::FindText(), GUI_AsyncExecUnit(), GUI_AsyncJoinFuture(), CViewGraphic::InitView(), CVcfTableView::InitView(), CTableXformPanel::IsInputValid(), CGrid::OnGridLabelLeftClick(), CBLAST_DB_Dialog::OnInitDialog(), CProjectTreePanel::OnItemActivated(), CAppDialogs::OpenViewlDialog(), CAttribTableDelimitersPanel::PreviewData(), CTableFormatPanel::PreviewData(), CGBDocument::Save(), CSeqGraphicPane::TTHH_GetTooltip(), CQualTableLoadManager::x_ConvertToSeqAnnot(), CTableImportWizard::x_ConvertToSeqAnnot(), COpenViewManager::x_DoConversion(), CVcfRefSequencesPanel::x_FillList(), CColumnarVCFLoaderManager::x_GetRefSeqs(), CTableImportWizard::x_GuessColumns(), CDotMatrixView::x_InitWidget(), CWorkspaceAutoSaver::x_OnSave(), CObjectListWidgetSel::x_PopulateGroups(), and CGenBankLoadOptionPanel::x_ValidateInput().
bool GUI_AsyncExecUnit | ( | IExecuteUnit & | exec_unit, |
const wxString & | msg | ||
) |
Definition at line 53 of file async_call.cpp.
References IExecuteUnit::Execute(), GUI_AsyncExec(), and msg().
Referenced by CAddSequences::apply(), LoadFileForSubmission(), CSubPrep_panel::OnAddSequenceBtnClick(), CSubmitBlockDlg::OnImportBtnClick(), CCDSTranslationPanel::OnImportCdsProteinHyperlinkClicked(), CTblEditDlg::OnImportTableClick(), SrcEditDialog::OnLoadqualsClick(), CLocalFileRestorer::ReadObjectFromFile(), CImportFeatTable::x_DoImportFeaturesFromClipboard(), CImportFeatTable::x_DoImportFeaturesFromFile(), and CAttribTableColumnIdPanel::x_TableReaderCommon().
void GUI_AsyncJoinFuture | ( | const job_future_base & | future, |
const string & | msg | ||
) |
Definition at line 58 of file async_call.cpp.
References GUI_AsyncExec(), job_future_base::IsRunning(), and msg().
Referenced by CQueryParsePanel::x_StartQueryJob(), and CQueryParsePanel::~CQueryParsePanel().