Sane C++ Libraries
C++ Platform Abstraction Libraries
SC::AsyncTaskOf< AsyncType > Struct Template Reference

Create an async Callback result for a given AsyncRequest-derived class. More...

#include <Async.h>

Inheritance diagram for SC::AsyncTaskOf< AsyncType >:
SC::AsyncTask

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
 
ThreadPoolthreadPool = nullptr
 
AsyncCompletionDatacompletionData
 
SC::Result returnCode = SC::Result(true)
 
AsyncRequestasync = nullptr
 

Detailed Description

template<typename AsyncType>
struct SC::AsyncTaskOf< AsyncType >

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

Template Parameters
AsyncTypeType of the request class associated to this result

The documentation for this struct was generated from the following file: