All ref-counted framework classes must extend this class.
More...
#include "include/cef_base.h"
|
| virtual void | AddRef () const =0 |
| | Called to increment the reference count for the object. More...
|
| |
| virtual bool | Release () const =0 |
| | Called to decrement the reference count for the object. More...
|
| |
| virtual bool | HasOneRef () const =0 |
| | Returns true if the reference count is 1. More...
|
| |
| virtual bool | HasAtLeastOneRef () const =0 |
| | Returns true if the reference count is at least 1. More...
|
| |
All ref-counted framework classes must extend this class.
◆ ~CefBaseRefCounted()
| virtual CefBaseRefCounted::~CefBaseRefCounted |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ AddRef()
| virtual void CefBaseRefCounted::AddRef |
( |
| ) |
const |
|
pure virtual |
Called to increment the reference count for the object.
Should be called for every new copy of a pointer to a given object.
◆ HasAtLeastOneRef()
| virtual bool CefBaseRefCounted::HasAtLeastOneRef |
( |
| ) |
const |
|
pure virtual |
Returns true if the reference count is at least 1.
◆ HasOneRef()
| virtual bool CefBaseRefCounted::HasOneRef |
( |
| ) |
const |
|
pure virtual |
Returns true if the reference count is 1.
◆ Release()
| virtual bool CefBaseRefCounted::Release |
( |
| ) |
const |
|
pure virtual |
Called to decrement the reference count for the object.
Returns true if the reference count is 0, in which case the object should self-delete.
The documentation for this class was generated from the following file: