VISH  0.2
Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
MemCore::ReferenceCount Class Reference

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

#include </home/werner/origo/vish/memcore/DynPtr.hpp>

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 MemCore::ReferenceCount::get_pointers ( ) const throw () [inline]

Return the weak reference count, i.e.

how many pointers refer to this object.

refcount_t MemCore::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: