|
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, Priority priority, 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 () |
Public Member Functions inherited from dmq::DelegateMsg | |
| DelegateMsg (std::shared_ptr< IThreadInvoker > invoker, Priority priority) | |
| virtual | ~DelegateMsg ()=default |
| std::shared_ptr< IThreadInvoker > | GetInvoker () const |
| Priority | GetPriority () |
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] | priority | - the delegate message priority |
| [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 |