15#include <AUI/Common/AMap.h>
16#include <AUI/Util/AFunctionQueue.h>
44class API_AUI_CURL ACurlMulti:
public AObject {
46 ACurlMulti()
noexcept;
49 ACurlMulti(ACurlMulti&& other)
noexcept: mMulti(other.mMulti) {
50 other.mMulti =
nullptr;
53 ACurlMulti& operator<<(
_<ACurl> curl);
54 ACurlMulti& operator>>(
const _<ACurl>& curl);
74 static ACurlMulti&
global()
noexcept;
77 void run(
bool infinite);
79 void processQueueAndThreadMessages();
84 bool mCancelled =
false;
87 void removeCurl(
const _<ACurl>& curl);
static ACurlMulti & global() noexcept
Global instance of ACurlMulti, running in a separate thread.
Definition ACurlMulti.cpp:115
Thread-safe implementation of function queue.
Definition AFunctionQueue.h:21
A std::map with AUI extensions.
Definition AMap.h:218
An std::weak_ptr with AUI extensions.
Definition SharedPtrTypes.h:178