Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes

ReferenceCount Class Reference

Base class for thread-safe reference counting. More...

#include <memcore/DynPtr.hpp>

Inheritance diagram for ReferenceCount:
Referer< Object >

List of all members.

Public Member Functions

Static Public Member Functions

Protected Types

Protected Member Functions

Protected Attributes


Detailed Description

Base class for thread-safe reference counting.

Todo:
Use a class atomic_count instead of this ifdef battle here...

Member Function Documentation

refcount_t ReferenceCount::get_pointers (  )  const throw () [inline]

Return the weak reference count, i.e.

how many pointers refer to this object.

refcount_t ReferenceCount::get_refs (  )  const throw () [inline]

Return the strong reference count, i.e.

how many object keep this object alive.


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