src/include/refcnt.h File Reference

#include "thread.h"
#include <boost/tr1/memory.hpp>
#include <boost/intrusive_ptr.hpp>

Go to the source code of this file.

Classes

class  RefCnt

Functions

template<class T >
void intrusive_ptr_add_ref (T *x)
template<class T >
void intrusive_ptr_release (T *x)

Detailed Description

Wrappers and utilities for reference counting.


Function Documentation

template<class T >
void intrusive_ptr_add_ref ( T *  x  )  [inline]

Implementation of intrusive_ptr_add_ref, which is needed for any class that you use with Boost's intrusive_ptr.

template<class T >
void intrusive_ptr_release ( T *  x  )  [inline]

Implementation of intrusive_ptr_release, which is needed for any class that you use with Boost's intrusive_ptr.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on Tue Oct 27 06:30:40 2009 for OpenImageIO by  doxygen 1.6.1