Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Anp::Lock< T > Class Template Reference

#include <Mutex.h>

List of all members.

Public Member Functions

 Lock (T &obj)
 ~Lock ()

Private Member Functions

 Lock ()
 Lock (const Lock &)
Lockoperator= (const Lock &)
Lockoperator & ()
void * operator new (std::size_t)
void * operator new[] (std::size_t)
void operator delete (void *)
void operator delete[] (void *)

Private Attributes

T & obj_

template<class T>
class Anp::Lock< T >


Constructor & Destructor Documentation

template<class T>
Anp::Lock< T >::Lock T &  obj  )  [inline]
 

Definition at line 28 of file Mutex.h.

00028                    : obj_(obj)
00029       {
00030          obj_.Lock();
00031       }

template<class T>
Anp::Lock< T >::~Lock  )  [inline]
 

Definition at line 36 of file Mutex.h.

00037       {
00038          obj_.UnLock();
00039       }  

template<class T>
Anp::Lock< T >::Lock  )  [private]
 

template<class T>
Anp::Lock< T >::Lock const Lock< T > &   )  [private]
 


Member Function Documentation

template<class T>
Lock* Anp::Lock< T >::operator &  )  [private]
 

template<class T>
void Anp::Lock< T >::operator delete void *   )  [private]
 

template<class T>
void Anp::Lock< T >::operator delete[] void *   )  [private]
 

template<class T>
void* Anp::Lock< T >::operator new std::size_t   )  [private]
 

template<class T>
void* Anp::Lock< T >::operator new[] std::size_t   )  [private]
 

template<class T>
Lock& Anp::Lock< T >::operator= const Lock< T > &   )  [private]
 


Member Data Documentation

template<class T>
T& Anp::Lock< T >::obj_ [private]
 

Definition at line 43 of file Mutex.h.


The documentation for this class was generated from the following file:
Generated on Mon Feb 15 11:10:32 2010 for loon by  doxygen 1.3.9.1