Poco::ScopedRWLock Class Reference

#include <RWLock.h>

Collaboration diagram for Poco::ScopedRWLock:

Collaboration graph
[legend]

Detailed Description

A variant of ScopedLock for reader/writer locks.

Definition at line 131 of file RWLock.h.


Public Member Functions

 ScopedRWLock (RWLock &rwl, bool write=false)
 ~ScopedRWLock ()

Private Member Functions

 ScopedRWLock ()
 ScopedRWLock (const ScopedRWLock &)
ScopedRWLockoperator= (const ScopedRWLock &)

Private Attributes

RWLock_rwl

Constructor & Destructor Documentation

Poco::ScopedRWLock::ScopedRWLock ( RWLock rwl,
bool  write = false 
) [inline]

Definition at line 180 of file RWLock.h.

References _rwl, Poco::RWLock::readLock(), and Poco::RWLock::writeLock().

Poco::ScopedRWLock::~ScopedRWLock (  )  [inline]

Definition at line 189 of file RWLock.h.

References _rwl, and Poco::RWLock::unlock().

Poco::ScopedRWLock::ScopedRWLock (  )  [private]

Poco::ScopedRWLock::ScopedRWLock ( const ScopedRWLock  )  [private]


Member Function Documentation

ScopedRWLock& Poco::ScopedRWLock::operator= ( const ScopedRWLock  )  [private]


Field Documentation

Definition at line 139 of file RWLock.h.

Referenced by ScopedRWLock(), and ~ScopedRWLock().


The documentation for this class was generated from the following file:

SourceForge.net Logo
Project space on SourceForge.net