Create an async Callback result for a given AsyncRequest-derived class. More...
#include <Async.h>
Public Attributes | |
AsyncType::CompletionData | asyncCompletionData |
Additional Inherited Members | |
Public Member Functions inherited from SC::AsyncTask | |
AsyncTask (AsyncCompletionData &asyncCompletionData) | |
Protected Member Functions inherited from SC::AsyncTask | |
void | freeTask () |
bool | isFree () const |
Protected Attributes inherited from SC::AsyncTask | |
ThreadPoolTask | task |
ThreadPool * | threadPool = nullptr |
AsyncCompletionData & | completionData |
SC::Result | returnCode = SC::Result(true) |
AsyncRequest * | async = nullptr |
Create an async Callback result for a given AsyncRequest-derived class.
You don't use this class directly but probably call the aliases like SC::AsyncFileRead::Task
AsyncType | Type of the request class associated to this result |