NLMISC::CRWSynchronized< T > Class Template Reference

#include <reader_writer.h>


Detailed Description

template<class T>
class NLMISC::CRWSynchronized< T >

This class uses a CReaderWriter object to implement a synchronized object (see mutex.h for standard CSynchronized.)
Author:
Benjamin Legros

Nevrax France

Date:
2001

Definition at line 94 of file reader_writer.h.

Private Attributes

volatile CReaderWriter _RWSync
volatile T _Value

Friends

class CRWSynchronized::CReadAccessor
class CRWSynchronized::CWriteAccessor


Friends And Related Function Documentation

template<class T>
friend class CRWSynchronized::CReadAccessor [friend]
 

Definition at line 145 of file reader_writer.h.

template<class T>
friend class CRWSynchronized::CWriteAccessor [friend]
 

Definition at line 146 of file reader_writer.h.


Field Documentation

template<class T>
volatile CReaderWriter NLMISC::CRWSynchronized< T >::_RWSync [private]
 

Definition at line 148 of file reader_writer.h.

template<class T>
volatile T NLMISC::CRWSynchronized< T >::_Value [private]
 

Definition at line 150 of file reader_writer.h.


The documentation for this class was generated from the following file:
Generated on Tue Mar 16 13:32:30 2004 for NeL by doxygen 1.3.6