TrinityCore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ReferenceCount.h File Reference
#include "G3D/platform.h"
#include "G3D/debug.h"
#include "G3D/AtomicInt32.h"
+ Include dependency graph for ReferenceCount.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  G3D::ReferenceCountedObject
 

Namespaces

 G3D
 

Macros

#define USE_SHARED_PTR
 
#define ReferenceCountedPointer   shared_ptr
 
#define WeakReferenceCountedPointer   weak_ptr
 

Functions

template<class T >
bool G3D::isNull (const ReferenceCountedPointer< T > &ptr)
 
template<class T >
bool G3D::notNull (const ReferenceCountedPointer< T > &ptr)
 
template<class T >
bool G3D::isNull (const T *ptr)
 
template<class T >
bool G3D::notNull (const T *ptr)
 

Detailed Description

Reference Counting Garbage Collector for C++

Morgan McGuire, http://graphics.cs.williams.edu

2001-10-23 2013-01-05

Macro Definition Documentation

#define ReferenceCountedPointer   shared_ptr
#define USE_SHARED_PTR
#define WeakReferenceCountedPointer   weak_ptr