Public Member Functions | Data Fields

NonAtomicRefCountObj Class Reference

#include <Ptr.h>

Public Member Functions

 NonAtomicRefCountObj ()
 NonAtomicRefCountObj (const NonAtomicRefCountObj &s)
virtual ~NonAtomicRefCountObj ()
NonAtomicRefCountObjoperator= (const NonAtomicRefCountObj &s)
int refcount_inc ()
int refcount_dec ()
int refcount () const
virtual void free ()

Data Fields

volatile int m_refcount

Detailed Description

Definition at line 46 of file Ptr.h.


Constructor & Destructor Documentation

NonAtomicRefCountObj::NonAtomicRefCountObj (  )  [inline]

Definition at line 49 of file Ptr.h.

NonAtomicRefCountObj::NonAtomicRefCountObj ( const NonAtomicRefCountObj s  )  [inline]

Definition at line 53 of file Ptr.h.

virtual NonAtomicRefCountObj::~NonAtomicRefCountObj (  )  [inline, virtual]

Definition at line 58 of file Ptr.h.


Member Function Documentation

virtual void NonAtomicRefCountObj::free ( void   )  [inline, virtual]

Definition at line 70 of file Ptr.h.

Referenced by NonAtomicPtr< T >::~NonAtomicPtr().

NonAtomicRefCountObj& NonAtomicRefCountObj::operator= ( const NonAtomicRefCountObj s  )  [inline]

Definition at line 61 of file Ptr.h.

int NonAtomicRefCountObj::refcount (  )  const [inline]

Definition at line 95 of file Ptr.h.

References m_refcount.

int NonAtomicRefCountObj::refcount_dec (  )  [inline]

Definition at line 87 of file Ptr.h.

References m_refcount.

int NonAtomicRefCountObj::refcount_inc (  )  [inline]

Definition at line 79 of file Ptr.h.

References m_refcount.

Referenced by NonAtomicPtr< T >::NonAtomicPtr(), and NonAtomicPtr< T >::operator=().


Field Documentation

Definition at line 75 of file Ptr.h.

Referenced by refcount(), refcount_dec(), and refcount_inc().


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