DelegateMQ
|
Abstract base class to support asynchronous delegate function invoke on destination thread of control. Used internally by the delegate library, not user application code.
More...
#include <IInvoker.h>
Public Member Functions | |
virtual bool | Invoke (std::shared_ptr< DelegateMsg > msg)=0 |
Abstract base class to support asynchronous delegate function invoke on destination thread of control. Used internally by the delegate library, not user application code.
|
pure virtual |
Called to invoke the bound target function by the destination thread of control.
[in] | msg | The incoming delegate message. |
true
if function was invoked; false
if failed. Implemented in dmq::DelegateFreeAsync< RetType(Args...)>, dmq::DelegateFreeAsyncWait< RetType(Args...)>, dmq::DelegateFunctionAsync< RetType(Args...)>, dmq::DelegateFunctionAsyncWait< RetType(Args...)>, dmq::DelegateMemberAsync< TClass, RetType(Args...)>, and dmq::DelegateMemberAsyncWait< TClass, RetType(Args...)>.