#include <reader_writer.h>
Public Member Functions | |
CReadAccessor (CRWSynchronized< T > *cs) | |
const T & | value () |
~CReadAccessor () | |
Private Attributes | |
CRWSynchronized< T > * | _RWSynchronized |
|
Definition at line 104 of file reader_writer.h. References NLMISC::CRWSynchronized< T >::CReadAccessor::_RWSynchronized.
00105 { 00106 _RWSynchronized = cs; 00107 const_cast<CReaderWriter&>(_RWSynchronized->_RWSync).enterReader(); 00108 } |
|
Definition at line 110 of file reader_writer.h. References NLMISC::CRWSynchronized< T >::CReadAccessor::_RWSynchronized.
00111 { 00112 const_cast<CReaderWriter&>(_RWSynchronized->_RWSync).leaveReader(); 00113 } |
|
Definition at line 115 of file reader_writer.h. References NLMISC::CRWSynchronized< T >::CReadAccessor::_RWSynchronized.
00116 { 00117 return const_cast<const T&>(_RWSynchronized->_Value); 00118 } |
|
Definition at line 100 of file reader_writer.h. Referenced by NLMISC::CRWSynchronized< T >::CReadAccessor::CReadAccessor(), NLMISC::CRWSynchronized< T >::CReadAccessor::value(), and NLMISC::CRWSynchronized< T >::CReadAccessor::~CReadAccessor(). |