osgEarth 2.1.1
Public Member Functions | Protected Attributes

osgEarth::Threading::ScopedWriteLock Struct Reference

Collaboration diagram for osgEarth::Threading::ScopedWriteLock:

List of all members.

Public Member Functions

 ScopedWriteLock (ReadWriteMutex &lock)
 ~ScopedWriteLock ()

Protected Attributes

ReadWriteMutex_lock

Detailed Description

Definition at line 272 of file ThreadingUtils.


Constructor & Destructor Documentation

osgEarth::Threading::ScopedWriteLock::ScopedWriteLock ( ReadWriteMutex lock) [inline]

Definition at line 274 of file ThreadingUtils.

: _lock(lock) { _lock.writeLock(); }

Here is the call graph for this function:

osgEarth::Threading::ScopedWriteLock::~ScopedWriteLock ( ) [inline]

Definition at line 275 of file ThreadingUtils.

{ _lock.writeUnlock(); }

Here is the call graph for this function:


Member Data Documentation

Definition at line 277 of file ThreadingUtils.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines