osgEarth 2.1.1
Public Member Functions | Protected Attributes

osgEarth::Threading::ScopedReadLock Struct Reference

Collaboration diagram for osgEarth::Threading::ScopedReadLock:

List of all members.

Public Member Functions

 ScopedReadLock (ReadWriteMutex &lock)
 ~ScopedReadLock ()

Protected Attributes

ReadWriteMutex_lock

Detailed Description

Definition at line 280 of file ThreadingUtils.


Constructor & Destructor Documentation

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

Definition at line 282 of file ThreadingUtils.

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

Here is the call graph for this function:

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

Definition at line 283 of file ThreadingUtils.

{ _lock.readUnlock(); }

Here is the call graph for this function:


Member Data Documentation

Definition at line 285 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