DD::Image::ReadGuard Class Reference

Inherits DD::Image::BaseReadWriteGuard.

List of all members.

Public Member Functions

 ReadGuard (ReadWriteLock &m)
 ReadGuard (ReadWriteLock *m)

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