# Home    # nevrax.com   
Nevrax
Nevrax.org
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
Docs
 
Documentation  
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  

NLMISC::CUnfairSynchronized::CAccessor Class Template Reference

This class give you a thread safe access to the CSynchronized Value. More...

#include <mutex.h>

List of all members.

Public Methods

 CAccessor (CUnfairSynchronized< T > *cs)
 get the mutex or wait. More...

 ~CAccessor ()
 release the mutex. More...

T & value ()
 access to the Value. More...


Private Attributes

CUnfairSynchronized< T > * Synchronized


Detailed Description

template<class T>
class NLMISC::CUnfairSynchronized< T >::CAccessor

This class give you a thread safe access to the CSynchronized Value.

Look at the example in the CSynchronized.

Definition at line 402 of file mutex.h.


Constructor & Destructor Documentation

template<class T>
NLMISC::CUnfairSynchronized< T >::CAccessor::CAccessor CUnfairSynchronized< T > *    cs [inline]
 

get the mutex or wait.

Definition at line 408 of file mutex.h.

template<class T>
NLMISC::CUnfairSynchronized< T >::CAccessor::~CAccessor   [inline]
 

release the mutex.

Definition at line 415 of file mutex.h.


Member Function Documentation

template<class T>
T& NLMISC::CUnfairSynchronized< T >::CAccessor::value   [inline]
 

access to the Value.

Definition at line 421 of file mutex.h.


Member Data Documentation

template<class T>
CUnfairSynchronized<T>* NLMISC::CUnfairSynchronized::CAccessor::Synchronized [private]
 

Definition at line 404 of file mutex.h.


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