Classes | Namespaces | Macros
RefCounted.h File Reference
#include "BentleyAllocator.h"
#include "BeAtomic.h"

Go to the source code of this file.

Classes

struct  IRefCounted
 Interface to be adopted by a class the implements the reference-counting pattern. More...
 
class  RefCounted< Base >
 Template to simplify the task of writing a class that implements the reference-counting pattern. More...
 
class  RefCountedBase
 Concrete class that can be used to implement the reference-counting pattern. More...
 
class  RefCountedPtr< T >
 A shared pointer template for reference-counted objects. More...
 

Namespaces

 Bentley
 The Bentley namespace contains types defined by the Bentley Library.
 

Macros

#define DEFINE_BENTLEY_REF_COUNTED_MEMBERS
 
#define DEFINE_BENTLEY_REF_COUNTED_MEMBER_INIT   m_refCount.store(0);
 
#define DEFINE_REF_COUNTED_POINTER(_sname_)   typedef RefCountedPtr<_sname_> _sname_##Ptr;
 

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.