#include <reader_writer.h>
Public Member Functions | |
CWriteAccessor (CRWSynchronized< T > *cs) | |
T & | value () |
~CWriteAccessor () | |
Private Attributes | |
CRWSynchronized< T > * | _RWSynchronized |
|
Definition at line 127 of file reader_writer.h.
00128 { 00129 _RWSynchronized = cs; 00130 const_cast<CReaderWriter&>(_RWSynchronized->_RWSync).enterWriter(); 00131 } |
|
Definition at line 133 of file reader_writer.h.
00134 { 00135 const_cast<CReaderWriter&>(_RWSynchronized->_RWSync).leaveWriter(); 00136 } |
|
Definition at line 138 of file reader_writer.h.
00139 { 00140 return const_cast<T&>(_RWSynchronized->_Value); 00141 } |
|
Definition at line 123 of file reader_writer.h. |