Go to the SVN repository for this file.
1 #ifndef GUI_WIDGETS_WX___JOB_SYNC_CALL__HPP 2 #define GUI_WIDGETS_WX___JOB_SYNC_CALL__HPP 48 #include <wx/string.h> 66 Call(
constwxString& descr) : m_Descr(descr) {}
67 Call() : m_Descr(
wxT(
"Accessing network...")) {}
80 return(m_Canceled.Get() != 0);
96 static boolInsideAsyncCall();
104 template<
class_Fty,
typename_Rty>
117 template<
class_Fty>
129 template<
class_Fty>
131 constwxString&
msg=
wxT(
"Accessing network..."))
138 return f->GetResult();
bool GUI_AsyncExecUnit(IExecuteUnit &exec_unit, const wxString &msg)
void GUI_AsyncJoinFuture(const job_future_base &future, const string &msg)
std::invoke_result< _Fty, ICanceled & >::type GUI_AsyncExec(_Fty &&_Fnarg, const wxString &msg=wxT("Accessing network..."))
CAtomicCounter_WithAutoInit m_Cancelable
virtual bool IsCanceled() const
wxString GetDescr() const
CAtomicCounter_WithAutoInit m_Canceled
Call(const wxString &descr)
bool IsCancalable() const
Class for GUI asyncronous execition.
CAtomicCounter_WithAutoInit â.
CLocalAsyncCallBind(_Fty &&func, const wxString &msg)
CLocalAsyncCallBind(_Fty &&func, const wxString &msg)
Interface for testing cancellation request in a long lasting operation.
Workaround for wxWidgets header errors in certain configurations; MUST be included (at least indirect...
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIWIDGETS_WX_EXPORT
string Execute(const string &cmmd, const vector< string > &args, const string &data=kEmptyStr)
Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.
static SLJIT_INLINE sljit_ins msg(sljit_gpr r, sljit_s32 d, sljit_gpr x, sljit_gpr b)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4