Definition at line 76 of file smart_ptr.tpp.
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_holder & | operator= (const smart_ptr_holder &s) |
Private Attributes | |
COUNTER | m_count |
T * | m_data |
stlplus::smart_ptr_holder< T, COUNTER >::smart_ptr_holder | ( | const smart_ptr_holder< T, COUNTER > & | s | ) | [inline, private] |
Definition at line 83 of file smart_ptr.tpp.
stlplus::smart_ptr_holder< T, COUNTER >::smart_ptr_holder | ( | T * | p = 0 |
) | [inline] |
Definition at line 94 of file smart_ptr.tpp.
stlplus::smart_ptr_holder< T, COUNTER >::~smart_ptr_holder | ( | void | ) | [inline] |
Definition at line 99 of file smart_ptr.tpp.
void stlplus::smart_ptr_holder< T, COUNTER >::clear | ( | void | ) | [inline] |
Definition at line 124 of file smart_ptr.tpp.
Referenced by stlplus::smart_ptr_holder< TImpl3DS, mrpt::synch::CAtomicCounter >::set(), and stlplus::smart_ptr_holder< TImpl3DS, mrpt::synch::CAtomicCounter >::~smart_ptr_holder().
unsigned long stlplus::smart_ptr_holder< T, COUNTER >::count | ( | void | ) | const [inline] |
Definition at line 104 of file smart_ptr.tpp.
bool stlplus::smart_ptr_holder< T, COUNTER >::decrement | ( | void | ) | [inline] |
Definition at line 114 of file smart_ptr.tpp.
void stlplus::smart_ptr_holder< T, COUNTER >::increment | ( | void | ) | [inline] |
Definition at line 109 of file smart_ptr.tpp.
bool stlplus::smart_ptr_holder< T, COUNTER >::null | ( | void | ) | [inline] |
Definition at line 119 of file smart_ptr.tpp.
smart_ptr_holder& stlplus::smart_ptr_holder< T, COUNTER >::operator= | ( | const smart_ptr_holder< T, COUNTER > & | s | ) | [inline, private] |
Definition at line 88 of file smart_ptr.tpp.
T*& stlplus::smart_ptr_holder< T, COUNTER >::pointer | ( | void | ) | [inline] |
Definition at line 137 of file smart_ptr.tpp.
Referenced by stlplus::smart_ptr_base< T, C, COUNTER >::make_unique().
const T* stlplus::smart_ptr_holder< T, COUNTER >::pointer | ( | void | ) | const [inline] |
Definition at line 142 of file smart_ptr.tpp.
void stlplus::smart_ptr_holder< T, COUNTER >::set | ( | T * | p = 0 |
) | [inline] |
Definition at line 131 of file smart_ptr.tpp.
T& stlplus::smart_ptr_holder< T, COUNTER >::value | ( | void | ) | [inline] |
Definition at line 147 of file smart_ptr.tpp.
Referenced by stlplus::smart_ptr_base< T, C, COUNTER >::make_unique().
const T& stlplus::smart_ptr_holder< T, COUNTER >::value | ( | void | ) | const [inline] |
Definition at line 152 of file smart_ptr.tpp.
COUNTER stlplus::smart_ptr_holder< T, COUNTER >::m_count [private] |
Definition at line 79 of file smart_ptr.tpp.
Referenced by stlplus::smart_ptr_holder< TImpl3DS, mrpt::synch::CAtomicCounter >::count(), stlplus::smart_ptr_holder< TImpl3DS, mrpt::synch::CAtomicCounter >::decrement(), and stlplus::smart_ptr_holder< TImpl3DS, mrpt::synch::CAtomicCounter >::increment().
T* stlplus::smart_ptr_holder< T, COUNTER >::m_data [private] |
Definition at line 80 of file smart_ptr.tpp.
Referenced by stlplus::smart_ptr_holder< TImpl3DS, mrpt::synch::CAtomicCounter >::clear(), stlplus::smart_ptr_holder< TImpl3DS, mrpt::synch::CAtomicCounter >::null(), stlplus::smart_ptr_holder< TImpl3DS, mrpt::synch::CAtomicCounter >::pointer(), stlplus::smart_ptr_holder< TImpl3DS, mrpt::synch::CAtomicCounter >::set(), and stlplus::smart_ptr_holder< TImpl3DS, mrpt::synch::CAtomicCounter >::value().
Page generated by Doxygen 1.7.1 for MRPT 0.9.4 SVN: at Mon Jan 10 23:33:19 UTC 2011 |