Smart Pointers

sync_ptr::RefLockPtr Class Reference

#include <sync_ptr.hpp>

List of all members.


Detailed Description

template<class T, class SYNC_T = sync_ctrl_default, class AX_TYPE = std::allocator<T>, class AX_SYNC_CTRL = std::allocator<SYNC_T>>
class sync_ptr< T, SYNC_T, AX_TYPE, AX_SYNC_CTRL >::RefLockPtr

RefLockPtr is a helper class used by sync_ptr to perform an automatic lock when operator->() is called.

Definition at line 89 of file sync_ptr.hpp.

Public Member Functions

 RefLockPtr (const RefLockPtr &Src)
 ~RefLockPtr ()
T * operator-> () const
T & operator * () const
bool islocked () const

Protected Member Functions

 RefLockPtr (T *type, SYNC_T *sync_ctrl_, bool *trylock_stat=NULL)
T * get_ptr () const

Protected Attributes

RefData * m_RefData


The documentation for this class was generated from the following file:
Generated on Wed Mar 29 21:58:59 2006 for Smart Pointers by  doxygen 1.4.6.Axter [Axter-Extended-Version]