MRPT logo

stlplus::smart_ptr_holder< T > Class Template Reference

List of all members.

Public Member Functions

 smart_ptr_holder (T *p=0)
 ~smart_ptr_holder (void)
unsigned long count (void) const
void increment (void)
bool decrement (void)
bool null (void)
void clear (void)
void set (T *p=0)
T *& pointer (void)
const T * pointer (void) const
T & value (void)
const T & value (void) const

Private Member Functions

 smart_ptr_holder (const smart_ptr_holder &s)
smart_ptr_holderoperator= (const smart_ptr_holder &s)

Private Attributes

mrpt::synch::CAtomicCounter m_count
T * m_data


Detailed Description

template<typename T>
class stlplus::smart_ptr_holder< T >

Definition at line 73 of file smart_ptr.tpp.


Constructor & Destructor Documentation

template<typename T >
stlplus::smart_ptr_holder< T >::smart_ptr_holder ( const smart_ptr_holder< T > &  s  )  [inline, private]

Definition at line 80 of file smart_ptr.tpp.

template<typename T >
stlplus::smart_ptr_holder< T >::smart_ptr_holder ( T *  p = 0  )  [inline]

Definition at line 91 of file smart_ptr.tpp.

template<typename T >
stlplus::smart_ptr_holder< T >::~smart_ptr_holder ( void   )  [inline]

Definition at line 96 of file smart_ptr.tpp.

References stlplus::smart_ptr_holder< T >::clear().


Member Function Documentation

template<typename T >
void stlplus::smart_ptr_holder< T >::clear ( void   )  [inline]

template<typename T >
unsigned long stlplus::smart_ptr_holder< T >::count ( void   )  const [inline]

Definition at line 101 of file smart_ptr.tpp.

References stlplus::smart_ptr_holder< T >::m_count.

template<typename T >
bool stlplus::smart_ptr_holder< T >::decrement ( void   )  [inline]

Definition at line 111 of file smart_ptr.tpp.

References stlplus::smart_ptr_holder< T >::m_count.

template<typename T >
void stlplus::smart_ptr_holder< T >::increment ( void   )  [inline]

Definition at line 106 of file smart_ptr.tpp.

References stlplus::smart_ptr_holder< T >::m_count.

template<typename T >
bool stlplus::smart_ptr_holder< T >::null ( void   )  [inline]

Definition at line 116 of file smart_ptr.tpp.

References stlplus::smart_ptr_holder< T >::m_data.

template<typename T >
smart_ptr_holder& stlplus::smart_ptr_holder< T >::operator= ( const smart_ptr_holder< T > &  s  )  [inline, private]

Definition at line 85 of file smart_ptr.tpp.

template<typename T >
const T* stlplus::smart_ptr_holder< T >::pointer ( void   )  const [inline]

Definition at line 139 of file smart_ptr.tpp.

References stlplus::smart_ptr_holder< T >::m_data.

template<typename T >
T*& stlplus::smart_ptr_holder< T >::pointer ( void   )  [inline]

template<typename T >
void stlplus::smart_ptr_holder< T >::set ( T *  p = 0  )  [inline]

template<typename T >
const T& stlplus::smart_ptr_holder< T >::value ( void   )  const [inline]

Definition at line 149 of file smart_ptr.tpp.

References stlplus::smart_ptr_holder< T >::m_data.

template<typename T >
T& stlplus::smart_ptr_holder< T >::value ( void   )  [inline]


Member Data Documentation

template<typename T >
mrpt::synch::CAtomicCounter stlplus::smart_ptr_holder< T >::m_count [private]

template<typename T >
T* stlplus::smart_ptr_holder< T >::m_data [private]




Page generated by Doxygen 1.5.7.1 for MRPT 0.7.1 SVN: at Mon Aug 17 23:02:22 EDT 2009