|
STLdoc
STLdocumentation
|
RAII wrapper for a D3D access lock on an accelerator_view. More...
#include <amprt.h>
Public Member Functions | |
| _AMPIMP | scoped_d3d_access_lock (accelerator_view &_Av) |
| Acquire a D3D access lock on the given accelerator_view. The lock is released when this object goes out of scope. Construction will block until the lock is acquired. More... | |
| _AMPIMP | scoped_d3d_access_lock (accelerator_view &_Av, adopt_d3d_access_lock_t _T) |
| Construct a scoped_d3d_access_lock on an accelerator_view for which the lock is already held (e.g. was acquired by d3d_access_try_lock). The D3D access lock must already be held by the calling thread and not controlled by any other scoped_d3d_access_lock. More... | |
| _AMPIMP | ~scoped_d3d_access_lock () |
| Destructor for scoped_d3d_access_lock: unlock the accelerator_view. More... | |
| _AMPIMP | scoped_d3d_access_lock (scoped_d3d_access_lock &&_Other) |
| Move constructor for scoped_d3d_access_lock: Take ownership of a lock from another scoped_d3d_access_lock. More... | |
| _AMPIMP scoped_d3d_access_lock & | operator= (scoped_d3d_access_lock &&_Other) |
| Move assignment operator for scoped_d3d_access_lock: Take ownership of a lock from another scoped_d3d_access_lock, releasing the previous lock. More... | |
Private Member Functions | |
| scoped_d3d_access_lock (const scoped_d3d_access_lock &_Other) | |
| scoped_d3d_access_lock & | operator= (const scoped_d3d_access_lock &_Other) |
Private Attributes | |
| _Accelerator_view_impl_ptr | _M_impl |
RAII wrapper for a D3D access lock on an accelerator_view.
|
explicit |
Acquire a D3D access lock on the given accelerator_view. The lock is released when this object goes out of scope. Construction will block until the lock is acquired.
| _Av | The accelerator_view to lock. |
|
explicit |
Construct a scoped_d3d_access_lock on an accelerator_view for which the lock is already held (e.g. was acquired by d3d_access_try_lock). The D3D access lock must already be held by the calling thread and not controlled by any other scoped_d3d_access_lock.
| _Av | The accelerator_view for the lock to adopt. |
| _T | The adopt_d3d_access_lock object. |
| _AMPIMP Concurrency::direct3d::scoped_d3d_access_lock::~scoped_d3d_access_lock | ( | ) |
Destructor for scoped_d3d_access_lock: unlock the accelerator_view.
| _AMPIMP Concurrency::direct3d::scoped_d3d_access_lock::scoped_d3d_access_lock | ( | scoped_d3d_access_lock && | _Other | ) |
Move constructor for scoped_d3d_access_lock: Take ownership of a lock from another scoped_d3d_access_lock.
| _Other | The accelerator_view from which to move. |
|
private |
| _AMPIMP scoped_d3d_access_lock& Concurrency::direct3d::scoped_d3d_access_lock::operator= | ( | scoped_d3d_access_lock && | _Other | ) |
Move assignment operator for scoped_d3d_access_lock: Take ownership of a lock from another scoped_d3d_access_lock, releasing the previous lock.
| _Other | The accelerator_view from which to move. |
|
private |
|
private |
1.8.8