WPILibC++
unspecified
|
A thread-safe version of llvm::RefCountedBase
.
More...
#include <IntrusiveRefCntPtr.h>
Public Member Functions | |
void | Retain () const |
void | Release () const |
A thread-safe version of llvm::RefCountedBase
.
A generic base class for objects that wish to have their lifetimes managed using reference counts. Classes subclass ThreadSafeRefCountedBase
to obtain such functionality, and are typically handled with IntrusiveRefCntPtr
"smart pointers" which automatically handle the management of reference counts.