AsyncReceiver is the interface that receivers of async operations must implement. More...
#include <Async.h>
Inherits atscppapi::noncopyable.
Public Member Functions | |
virtual void | handleAsyncComplete (AsyncProviderType &provider)=0 |
This method is invoked when the async operation is completed. | |
virtual | ~AsyncReceiver () |
Protected Member Functions | |
AsyncReceiver () | |
Friends | |
class | Async |
AsyncReceiver is the interface that receivers of async operations must implement.
It is templated on the type of the async operation provider.
Definition at line 170 of file Async.h.
virtual atscppapi::AsyncReceiver< AsyncProviderType >::~AsyncReceiver | ( | ) | [inline, virtual] |
atscppapi::AsyncReceiver< AsyncProviderType >::AsyncReceiver | ( | ) | [inline, protected] |
virtual void atscppapi::AsyncReceiver< AsyncProviderType >::handleAsyncComplete | ( | AsyncProviderType & | provider | ) | [pure virtual] |
This method is invoked when the async operation is completed.
The mutex provided during the creation of the async operation will be automatically locked during the invocation of this method.
provider | A reference to the provider which completed the async operation. |
friend class Async [friend] |