OpenImageIO
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions | Variables
refcnt.h File Reference
#include "thread.h"
#include "version.h"
#include <boost/shared_ptr.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)
 

Variables

 OIIO_NAMESPACE_ENTER
 

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.

Variable Documentation

OIIO_NAMESPACE_ENTER
Initial value:
{
using boost::shared_ptr