class host_object_fence_promise
Declaration
template <typename T>
class host_object_fence_promise : public fence_promise { /* full declaration omitted */ };
Inherits from: fence_promise
Template Parameters
- T
Member Variables
- const T* m_instance
- std::promise<T> m_promise
Member Function Overview
- fulfill() → void
- get_future() → std::future<T>
- get_user_allocation_id() → allocation_id
- host_object_fence_promise(const T * instance) → explicit
Inherited from fence_promise:
Member Functions
¶void fulfill()
void fulfill()
¶std::future<T> get_future()
std::future<T> get_future()
¶allocation_id get_user_allocation_id()
allocation_id get_user_allocation_id()
¶explicit host_object_fence_promise(
const T* instance)
explicit host_object_fence_promise(
const T* instance)
Parameters
- const T* instance