DD::Image::ReadGuard Class Reference

Inherits DD::Image::BaseReadWriteGuard.

Public Member Functions

 ReadGuard (ReadWriteLock &m)
 

Public Attributes

const bool isReadLocked
 

Detailed Description

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



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