thread_safe_solver_traits

Module: Asynchronous Operations

Traits that allow for safe implementation of asynchronous classes. They allow public APIs to safely use the objects of these classes.

#include <async_result.h>

Public Types

Name
using std::mutexlock_type
The lock type of the solver, for the Public API this is a mutex.
using std::lock_guard< std::mutex >lock_guard_type
The lock guard type of the solver, for the Pubcic API this is a lock_guard.
using std::function< T >callback_type
The callback type for the callbacks attached to the solver. For the Public API this is a std::function object.
struct dolbyio::comms::thread_safe_solver_traits;

Public Types Documentation

using lock_type

using dolbyio::comms::thread_safe_solver_traits::lock_type =  std::mutex;

The lock type of the solver, for the Public API this is a mutex.

using lock_guard_type

using dolbyio::comms::thread_safe_solver_traits::lock_guard_type =  std::lock_guard<std::mutex>;

The lock guard type of the solver, for the Pubcic API this is a lock_guard.

using callback_type

using dolbyio::comms::thread_safe_solver_traits::callback_type =  std::function<T>;

The callback type for the callbacks attached to the solver. For the Public API this is a std::function object.



Did this page help you?