OSG  3.4.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OpenThreads::ReadWriteMutex Class Reference

#include <ReadWriteMutex.h>

Collaboration diagram for OpenThreads::ReadWriteMutex:
Collaboration graph
[legend]

Public Member Functions

 ReadWriteMutex ()
 
virtual ~ReadWriteMutex ()
 
virtual int readLock ()
 
virtual int readUnlock ()
 
virtual int writeLock ()
 
virtual int writeUnlock ()
 

Protected Member Functions

 ReadWriteMutex (const ReadWriteMutex &)
 
ReadWriteMutexoperator= (const ReadWriteMutex &)
 

Protected Attributes

OpenThreads::Mutex _readWriteMutex
 
OpenThreads::Mutex _readCountMutex
 
unsigned int _readCount
 

Detailed Description

Definition at line 22 of file ReadWriteMutex.h.

Constructor & Destructor Documentation

OpenThreads::ReadWriteMutex::ReadWriteMutex ( )
inline

Definition at line 26 of file ReadWriteMutex.h.

virtual OpenThreads::ReadWriteMutex::~ReadWriteMutex ( )
inlinevirtual

Definition at line 29 of file ReadWriteMutex.h.

OpenThreads::ReadWriteMutex::ReadWriteMutex ( const ReadWriteMutex )
inlineprotected

Definition at line 71 of file ReadWriteMutex.h.

Member Function Documentation

ReadWriteMutex& OpenThreads::ReadWriteMutex::operator= ( const ReadWriteMutex )
inlineprotected

Definition at line 72 of file ReadWriteMutex.h.

virtual int OpenThreads::ReadWriteMutex::readLock ( )
inlinevirtual

Definition at line 31 of file ReadWriteMutex.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual int OpenThreads::ReadWriteMutex::readUnlock ( )
inlinevirtual

Definition at line 44 of file ReadWriteMutex.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual int OpenThreads::ReadWriteMutex::writeLock ( )
inlinevirtual

Definition at line 59 of file ReadWriteMutex.h.

Here is the call graph for this function:

Here is the caller graph for this function:

virtual int OpenThreads::ReadWriteMutex::writeUnlock ( )
inlinevirtual

Definition at line 64 of file ReadWriteMutex.h.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

unsigned int OpenThreads::ReadWriteMutex::_readCount
protected

Definition at line 81 of file ReadWriteMutex.h.

OpenThreads::Mutex OpenThreads::ReadWriteMutex::_readCountMutex
protected

Definition at line 79 of file ReadWriteMutex.h.

OpenThreads::Mutex OpenThreads::ReadWriteMutex::_readWriteMutex
protected

Definition at line 78 of file ReadWriteMutex.h.


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