Class that implements atomic reference counting.
More...
#include "include/cef_base.h"
Class that implements atomic reference counting.
◆ CefRefCount() [1/2]
CefRefCount::CefRefCount |
( |
| ) |
|
|
default |
◆ CefRefCount() [2/2]
◆ AddRef()
void CefRefCount::AddRef |
( |
| ) |
const |
|
inline |
Increment the reference count.
◆ HasAtLeastOneRef()
bool CefRefCount::HasAtLeastOneRef |
( |
| ) |
const |
|
inline |
Returns true if the reference count is at least 1.
◆ HasOneRef()
bool CefRefCount::HasOneRef |
( |
| ) |
const |
|
inline |
Returns true if the reference count is 1.
◆ operator=()
◆ Release()
bool CefRefCount::Release |
( |
| ) |
const |
|
inline |
Decrement the reference count.
Returns true if the reference count is 0.
◆ SubtleRefCountForDebug()
int CefRefCount::SubtleRefCountForDebug |
( |
| ) |
const |
|
inline |
Returns the current reference count (with no barriers).
This is subtle, and should be used only for debugging.
The documentation for this class was generated from the following file: