DelegateMQ
|
Stores all function arguments suitable for non-blocking asynchronous calls. Argument data is stored in the heap. More...
#include <DelegateAsync.h>
Public Member Functions | |
DelegateAsyncMsg (std::shared_ptr< IThreadInvoker > invoker, Args... args) | |
DelegateAsyncMsg ()=delete | |
Delete the default constructor. | |
DelegateAsyncMsg (const DelegateAsyncMsg &)=delete | |
Delete the copy constructor. | |
DelegateAsyncMsg & | operator= (const DelegateAsyncMsg &)=delete |
Delete the copy assignment operator. | |
DelegateAsyncMsg (DelegateAsyncMsg &&)=delete | |
Delete the move constructor and move assignment. | |
DelegateAsyncMsg & | operator= (DelegateAsyncMsg &&)=delete |
virtual | ~DelegateAsyncMsg ()=default |
std::tuple< Args... > & | GetArgs () |
![]() | |
DelegateMsg (std::shared_ptr< IThreadInvoker > invoker) | |
virtual | ~DelegateMsg ()=default |
std::shared_ptr< IThreadInvoker > | GetInvoker () const |
Stores all function arguments suitable for non-blocking asynchronous calls. Argument data is stored in the heap.
Args | The argument types of the bound delegate function. |
|
inline |
Constructor
[in] | invoker | - the invoker instance |
[in] | args | - a parameter pack of all target function arguments |
std::bad_alloc | If make_tuble_heap() fails to obtain memory and DMQ_ASSERTS not defined. |
|
delete |
Delete the default constructor.
|
delete |
Delete the copy constructor.
|
delete |
Delete the move constructor and move assignment.
|
virtualdefault |
|
inline |
Get all function arguments that were created on the heap
|
delete |
Delete the copy assignment operator.
|
delete |