detail::async_result_with_solver
Module: Asynchronous Operations
The pair of the solver and the associated async_result.
Template Parameters:
- T The type of the result
- traits The traits type. For more information, see the async_result documentation.
A helper type used for initiating asynchronous operations. The recommended way of creating an async_result representing an asynchronous operation is to use the async_result::make() static method.
#include <async_result_detail.h>
Public Functions
Name | |
---|---|
solver< T, traits > | get_solver() Gets the solver. |
async_result< T, traits > | get_result() Get the result. |
async_result_with_solver() The constructor. |
Public Attributes
Name | |
---|---|
solver< T, traits > | solver_ |
async_result< T, traits > | result_ |
template <typename T ,
typename traits >
class dolbyio::comms::detail::async_result_with_solver;
Public Functions Documentation
function get_solver
inline solver< T, traits > get_solver()
Gets the solver.
Return: The solver for notifying about the completion of the operation.
This function should be invoked only once, subsequent invocations yield an invalid solver.
function get_result
inline async_result< T, traits > get_result()
Get the result.
Return: The async_result for connecting the completion callbacks.
This function should be invoked only once, subsequent invocations yield a finalized async_result.
function async_result_with_solver
inline async_result_with_solver()
The constructor.
Public Attributes Documentation
variable solver_
solver< T, traits > solver_;
variable result_
async_result< T, traits > result_;
Updated 3 months ago
Did this page help you?