DD::Image::TryWriteGuard Class Reference

Inherits DD::Image::BaseReadWriteGuard.

Public Member Functions

 TryWriteGuard (ReadWriteLock &m)
 

Public Attributes

const bool isWriteLocked
 

Additional Inherited Members

- Protected Member Functions inherited from DD::Image::BaseReadWriteGuard
 BaseReadWriteGuard (ReadWriteLock &m)
 
- Protected Attributes inherited from DD::Image::BaseReadWriteGuard
ReadWriteLock_lock
 

Detailed Description

guard that performs a try write lock on ctor and on lock on dtor. Use for scoping a read/write lock to get automatic unlocking



©2020 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk