Searched refs:AsyncTask (Results 1 – 11 of 11) sorted by relevance
11 AsyncTask::Impl::Impl(std::function<void()>&& fn) in Impl()17 void AsyncTask::Impl::maySend() { in maySend()23 void AsyncTask::Impl::runTask() { in runTask()30 AsyncTask::AsyncTask(std::function<void()>&& fn) in AsyncTask() function in mbgl::util::AsyncTask34 AsyncTask::~AsyncTask() { in ~AsyncTask()37 void AsyncTask::send() { in send()
15 class AsyncTask::Impl : public QObject {
28 std::unique_ptr<AsyncTask> async;
40 impl->async = std::make_unique<AsyncTask>(std::bind(&RunLoop::process, this)); in RunLoop()
13 class AsyncTask::Impl {55 AsyncTask::AsyncTask(std::function<void()>&& fn) in AsyncTask() function in mbgl::util::AsyncTask59 AsyncTask::~AsyncTask() = default;61 void AsyncTask::send() { in send()
74 std::unique_ptr<AsyncTask> async;101 impl->async = std::make_unique<AsyncTask>(std::bind(&RunLoop::process, this)); in RunLoop()
199 util::AsyncTask reachability { std::bind(&Impl::networkIsReachableAgain, this) };
10 class AsyncTask;25 static void Subscribe(util::AsyncTask* async);26 static void Unsubscribe(util::AsyncTask* async);31 static std::unordered_set<util::AsyncTask*> observers;
11 class AsyncTask : private util::noncopyable { class13 AsyncTask(std::function<void()>&&);14 ~AsyncTask();
14 std::unordered_set<util::AsyncTask *> NetworkStatus::observers;33 void NetworkStatus::Subscribe(util::AsyncTask *async) { in Subscribe()38 void NetworkStatus::Unsubscribe(util::AsyncTask *async) { in Unsubscribe()
46 util::AsyncTask asyncInvalidate;