# 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::CFairSynchronized::CAccessor Class Template Reference

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

#include <mutex.h>

List of all members.

Public Methods

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

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

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


Private Attributes

CFairSynchronized< T > * Synchronized


Detailed Description

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

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

Look at the example in CSynchronized.

Definition at line 457 of file mutex.h.


Constructor & Destructor Documentation

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

get the mutex or wait.

Definition at line 463 of file mutex.h.

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

release the mutex.

Definition at line 470 of file mutex.h.


Member Function Documentation

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

access to the Value.

Definition at line 476 of file mutex.h.


Member Data Documentation

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

Definition at line 459 of file mutex.h.


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